Problem

If $f(1)=7$ and $f(n)=f(n-1)+2$ then find the value of $f(4)$.

Answer

Expert–verified
Hide Steps
Answer

Therefore, the final answer is $f(4)=\boxed{13}$

Steps

Step 1 :Given that $f(1)=7$ and $f(n)=f(n-1)+2$

Step 2 :We can use the given recursive formula to find $f(4)$

Step 3 :First, find $f(2)$: $f(2)=f(2-1)+2=f(1)+2=7+2=9$

Step 4 :Then, find $f(3)$: $f(3)=f(3-1)+2=f(2)+2=9+2=11$

Step 5 :Finally, find $f(4)$: $f(4)=f(4-1)+2=f(3)+2=11+2=13$

Step 6 :So, $f(4)=13$

Step 7 :Check the result: $f(4)=f(3)+2=11+2=13$, which is consistent with the previous result

Step 8 :Therefore, the final answer is $f(4)=\boxed{13}$

link_gpt