i have the following expression:
Vt[EA_, V0_, Cm_, B_] := EA + (V0 - Cm)*B
For EA
and Cm
I have a list of the same length for each. B
is a constant. For the first values of the lists the value for V0
is known (3500)
. For the other values of the lists Mathematica should use the respective outcome of the expression for V0 ( Vt[EA_, V0_, Cm_, B_]=V0 )
and so on. The outcome I want is a list with the same length as the other lists used in the computation +1. So the outcome should be equal to the use of the FoldList[]
command. But for the use of the FoldList[]
command iI have one expression that is too much. The work with Mathematica is relative new for me so I doen´t know how I can program this kind of recursion.
I hope someone can help me with this problem. Thank you very much