238,389 views
3 votes
3 votes
Consider the recursive function.

f(1) = 2
f(n) = 5. (n 1), for n > 2

Which statement is true?
A. The value of f(6) is 1/125 times the value of f(3)
B. The value of f(6) is 2 times the value of f(3)
C. The value of f(6) is 125 times the value of f(3)
D. The value of f(6) is 15 times the value of f(3)

User Mike Irving
by
2.7k points

1 Answer

12 votes
12 votes

9514 1404 393

Answer:

C. 125 times

Explanation:

Using the recursion relation, we have ...

f(4) = 5·f(3)

f(5) = 5·f(4) = 5·(5·f(3)) = 25·f(3)

f(6) = 5·f(5) = 5·(25·f(3)) = 125·f(3) . . . . matches choice C

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