Solve the following recurrence relation, subject to the basis.
S(1) = 2
S(n) = S(n – 1) + 2n
please explain how you solved this, thank you!
Hi, hope you are doing good. Here i am adding images of the solution. If you have any query please let me know in the comment. Have a nice day!
Get Answers For Free
Most questions answered within 1 hours.