+0  
 
0
68
1
avatar

Given the function below, where f(1)=2, what is the value of f(2)?

f(n)=3f(n-1)+4n


Given the function below, where f(1)=2, what is the value of f(3)? (refer to previous question)
f(n)=3f(n-1)+4n

 Apr 7, 2021
 #1
avatar+32110 
+3

f(n) = 3*f(n-1) + 4*n         f(1) = 2

 

n = 2:   f(2) = 3*f(1) + 4*2

 

n = 3:  f(3) = 3*f(2) + 4*3

 

Can you take it from here?

 Apr 7, 2021

23 Online Users

avatar
avatar
avatar
avatar
avatar