Solved
How generate a cumulative sum sequence funtions
i Have PTC MATHCAD PRIME
need a function to generate a cumulative sum sequence where Ui=0 and Ui-1 =0, iteratively calculating Ui+1 up to a 4094 rows , 1column vector.

i Have PTC MATHCAD PRIME
need a function to generate a cumulative sum sequence where Ui=0 and Ui-1 =0, iteratively calculating Ui+1 up to a 4094 rows , 1column vector.

Here is how I interpreted the iteration in your question. But the results differ from the ones you posted so it may help if you show step by step how to arrive at -9.00704*10^-6 and 3.37999*10^-5 using the values for P, A, B and K shown in your screenshot.:

No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.