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

1 Answer

3 votes

Answer: 64

Explanation:

You can find the value of f(5) by recursively applying the given function f(n) = -2f(n-1).

We're given that f(1) = 4. Let's calculate f(2), f(3), f(4), and finally f(5) step by step:

f(2) = -2f(1) = -2 * 4 = -8

f(3) = -2f(2) = -2 * (-8) = 16

f(4) = -2f(3) = -2 * 16 = -32

f(5) = -2f(4) = -2 * (-32) = 64

So, the value of f(5) is 64.

answered
User Uwe Schuster
by
7.6k 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.