IDNLearn.com: Where your questions meet expert answers and community support. Ask anything and receive thorough, reliable answers from our community of experienced professionals.

f(1) = 1

f(2) = 2

f(n) = f(n − 2) + f(n − 1)

f(3)


Sagot :

Answer:

f(3) = 3

Step-by-step explanation:

f(1) = 1

   

f(2) = 2

f(n) = f(n − 2) + f(n − 1)

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

     = f(1) + f(2) = 1 + 2 = 3

Special Note:  Have you heard of the Fibonacci sequence?  

The formula f(n) = f(n − 2) + f(n − 1) is used to find the terms of the of the  Fibonacci sequence

We greatly appreciate every question and answer you provide. Keep engaging and finding the best solutions. This community is the perfect place to learn and grow together. IDNLearn.com is committed to your satisfaction. Thank you for visiting, and see you next time for more helpful answers.