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

asked
User Emilien
by
7.8k 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

answered
User Dariusz Scharsig
by
7.5k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.