178k views
2 votes
If f(1)=10 and f(n)=-5f(n-1)-2 then find the value of f(4)

User Emilien
by
4.9k points

1 Answer

2 votes

Answer:


\large\boxed{f(4)=-1292}

Explanation:


f(n)=-5f(n-1)-2\\\\f(1)=10\\\\f(2)=-5f(2-1)-2=-5f(1)-2\\\text{put}\ f(1)=10:\\f(2)=-5(10)-2=-50-2=-52\\\\f(3)=-5f(3-1)-2=-5f(2)-2\\\text{put}\ f(2)=-52\\f(3)=-5(-52)-2=260-2=258\\\\f(4)=-5f(4-1)-2=-5f(3)-2\\\text{put}\ f(3)=258\\f(4)=-5(258)-2=-1290-2=-1292

User Dariusz Scharsig
by
4.6k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.