Epsilon: Unable to make a recurrent sequence of the first term U_1

Created on 20 Oct 2017  路  7Comments  路  Source: numworks/epsilon

Today, in mathematics an exercise gave us the sequence defined on U_n+1= (n*Un+4)/ (n+1) and the first term U_1=1.
Unfortunately, it is impossible to put U_1 in the first term and only U_0, which means that the whole sequence is wrong (we get all the time 4 except for U_0=1)

dsedsqx

All 7 comments

Adding a "First term" setting on the sequence options screen is probably a good way to fix this.

Oh, interesting! Thanks @BriacLP for reporting this!

So, replace the initial "U0" and "U1" terms with "Ua" and "Ua+1", and add a setting for "a" as the initial value for "n"?

So, replace the initial "U0" and "U1" terms with "Ua" and "Ua+1", and add a setting for "a" as the initial value for "n"?

Why not directly allow to choose between U_0, U_1 etc...?

Why not directly allow to choose between U_0, U_1 etc...?

Having an "a" setting would let you choose to start the sequence at U0, or U1, or U2, etc.

So for your example sequence, you could set "Un+1 = (n * Un + 4) / (n + 1)", "a = 1", and "Ua = 1".

I find it less easy (even if I understand how to do it) than directly being able to choose by clicking on "U_0" another first term. I saw this as if when we clicked on U_n and the computation proposes U_n, U_n+1 or U_n+2.

Fixed by #289

Was this page helpful?
0 / 5 - 0 ratings