If f(1) = 2 and f(n) = nf(n-1)+4 then find the value of f(4)
Find f(2)
f(2) = 2*f(2 - 1) + 4
f(2) = 2*f(1) + 4
f(2) = 2*2 + 4
f(2) = 4 + 4
f(2) = 8
Find f(3)
f(3) = 2*f(3 - 1) + 4
f(3) = 2*f(2) + 4
f(3) = 2*8+ 4
f(3) = 16 + 4
f(3) = 20
Find f(4)
f(4) = 2*f(4 - 1) + 4
f(4) = 2*f(3) + 4
f(4) = 2*20+ 4
f(4) = 40 + 4
f(3) = 44
Find f(2)
f(2) = 2*f(2 - 1) + 4
f(2) = 2*f(1) + 4
f(2) = 2*2 + 4
f(2) = 4 + 4
f(2) = 8
Find f(3)
f(3) = 2*f(3 - 1) + 4
f(3) = 2*f(2) + 4
f(3) = 2*8+ 4
f(3) = 16 + 4
f(3) = 20
Find f(4)
f(4) = 2*f(4 - 1) + 4
f(4) = 2*f(3) + 4
f(4) = 2*20+ 4
f(4) = 40 + 4
f(3) = 44