A recursive function is shown below:
f(1) = 2 and f(n) = f(n - 1) - 5; n > 1

Which of the following lists the terms in the sequence defined by this recursive function? (4 points)


2, 3, 8, 13, 18, ...
2, 7, 12, 17, 22, ...
2, -3, -8, -13, -18, ...
2, -7, -12, -17, -22,

Help ill give medal or anything!!!



Answer :

[tex]f(1)=\fbox2\ and\ f(n)=f(n-1)-5\\\underline{f(2)}=f(2-1)-5=f(1)-5=2-5=\fbox{-3}\\\underline{\underline{f(3)}}=f(3-1)-5=\underline{f(2)}-5=-3-5=\boxed{-8}\\f(4)=f(4-1)-5=\underline{\underline{f(3)}}-5=-8-5=\boxed{-13}\\\vdots\\Answer:\boxed{\boxed{2;-3;-8;-13;-18;...}\leftarrow answer}[/tex]

Other Questions