The table below shows the values of f(n) for different values of n. n 1 2 3 4 5 6 f(n) 1 2 3 5 8 13 Which recursive function best represents the values shown in the table? f(1) = 1, f(2) = 2, f(n) = f(n -1) f(n - 2); n > 2 f(1) = 1, f(2) = 2, f(n) = f(n -1) + f(n - 2); n > 2 f(1) = 1, f(2) = 2, f(n) = f(n -3) + f(n - 2); n > 2 f(1) = 1, f(2) = 2, f(n) = f(n -3) f(n - 2); n > 2
The second option should be right: if you know that n > 2, f(3), which is three, needs to be f(1) plus f(2). The second option is the only way that represents that correctly. :)
@FMA
Thanks :D could you help me with another one?
Sure :)
The function f(x) = (1.007207)12x models the monthly interest that a bank offers to Dan after x years. Dan converts the function to have x isolated in the exponent. What is the approximate rate of growth? 1% 5% 9% 12%
Ok, so you need to isolate x first. Do you know how to do that?
Divide the 12?
What else could you do first?
|dw:1394552717439:dw|
Join our real-time social learning platform and learn together with your friends!