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
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?