A sequence Ln is such that L1 = 0.2, L2 = 0.1 and

I am not sure how to use mathcad for this, so far i did this in mathcad

-

## closed as off topic by Austin Mohr, Thomas, Chris Eagle, Norbert, tomaszOct 6 '12 at 11:49

Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Let $$A=\begin{pmatrix} 2&-1.4\\1&0 \end{pmatrix}$$ and let
$$v_0=\begin{pmatrix} 0.1\\0.2 \end{pmatrix}$$ You will get the vector $$\begin{pmatrix} L_n\\L_{n-1} \end{pmatrix}$$ by multiplying $$\begin{pmatrix} L_{n-1}\\L_{n-2} \end{pmatrix}$$ by $A$. So you will want to multiply $v_0$ by a high power of $A$. The program is good at matrix manipulations.
Well, it is a linear recurrence with constant coefficients, but very different from the Fibonacci recurrence $F_n=F_{n-1}+F_{n-2}$. As to MathCad code, perhaps someone will supply it. There are also techniques from Linear Algebra for doing such computations fast, but that might take us too far afield. Certainly you could alternately just program the recurrence. –  André Nicolas Oct 3 '12 at 6:09