You are not logged in.
Pages: 1
Dear All,
I have a recursive function I am unable to solve. Does anybody have any ideas as to what steps can be taken?
Here it is:
where
is a constant, and n represents any number of iterations.Thanks for your help.
Best,
Prad
Sorry, i forgot to mention that A is a constant as well.
thanks.
If
= 210 and A = 210, can you show meigloo myrtilles fourmis
Offline
Sorry, the equation had a slight error:
the initial value of P is know. I will call this
: here is the final equation.. please note the change of "-" to "+" sorry:As an example:
so, if you solve for the case where n = 2:
Then, you have the following equation for P_2:
plugging in the initial
, and the previously solved , you get an answer for of:Thanks for your help.
If n =3, then the you would have to change the value of n in the equations, and as a result the values of P0, P1, and P3 would change.
Let me know if there are any questions, or if the previous example is not clear.
Thanks again.
Best,
Prad
Pages: 1