60.0k views
2 votes
If f(1)=3andf(n)= f(n-1)-1then find the value of 4

a) 0

b) 1

c) 2

d) 3

User Frakod
by
8.6k points

1 Answer

7 votes

Final answer:

To find the value of f(4), we can use the given recursive formula, which states that f(n) = f(n-1) - 1. Since we know that f(1) = 3, we can substitute the values and work backwards. Therefore, the value of f(4) is 0, so the correct option is (a) 0.

Step-by-step explanation:

To find the value of f(4), we can use the given recursive formula, which states that f(n) = f(n-1) - 1. Since we know that f(1) = 3, we can substitute the values and work backwards:

f(1) = 3

f(2) = f(1) - 1 = 3 - 1 = 2

f(3) = f(2) - 1 = 2 - 1 = 1

f(4) = f(3) - 1 = 1 - 1 = 0

Therefore, the value of f(4) is 0, so the correct option is (a) 0.

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

9.4m questions

12.2m answers

Categories