Question:

Find the first four values of the recursive function?

by  |  earlier

0 LIKES UnLike

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

please explain how!!!

 Tags:

   Report

1 ANSWERS


  1. f(2)=f(2-1)+2(2)=f(1)+4=3+4=7

    f(3)=f(2)+2(3)=7+6=13

    f(4)=f(3)+2(4)=13+8=21

    f(5)=f(4)+2(5)=21+10=31

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.