Question #271355

Consider a recurrence relation an = an-1 - 3an-2 for n = 1,2,3,4,… with initial conditions a1 = 3 and a2 = 5. Calculate a5.


1
Expert's answer
2021-11-26T05:14:47-0500

Let us consider a recurrence relation an=an13an2a_n = a_{n-1} - 3a_{n-2} with initial conditions a1=3a_1 = 3 and a2=5.a_2 = 5. Let us calculate a5.a_5.

It follows that a3=a23a1=533=4.a_3 = a_{2} - 3a_{1}=5-3\cdot 3=-4. Then a4=a33a2=435=19.a_4 = a_{3} - 3a_{2}=-4-3\cdot5=-19.

We conclude that a5=a43a3=193(4)=7.a_5 = a_{4} - 3a_{3}=-19-3(-4)=-7.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS