We use cookies to personalise content and advertisements and to analyse access to our website. Furthermore, our partners for online advertising receive pseudonymised information about your use of our website. cookie policy and privacy policy.
 
+0  
 
0
101
1
avatar

A function is defined by f(0) = 0 and f(n) = f(n − 1) + 2n, for n > 0. Find f(4).

 Jul 14, 2019
 #1
avatar+103999 
+2

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

 

f(2)  = f(2 - 1) + 2(2)  =  f(1) + 4  =  2 + 4  =  6

 

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

 

f(4)  = f(4 - 1) + 2(4) + f(3) + 8  =  12 + 8  =  20

 

 

cool cool cool

 Jul 14, 2019

24 Online Users

avatar
avatar