A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 one year ago
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 4 16 128 4096
Which recursive function best represents the values shown in the table?
A) f(1) = 1, f(2) = 2, f(n) = f(n 3) + f(n  2); n > 2
B) f(1) = 1, f(2) = 2, f(n) = f(n 3) f(n  2); n > 2
C)f(1) =1, f(2) = 2, f(n) = 2f(n 1) + f(n  2); n > 2
D) f(1) = 1, f(2) = 2, f(n) = 2f(n 1) f(n  2); n > 2
anonymous
 one year ago
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 4 16 128 4096 Which recursive function best represents the values shown in the table? A) f(1) = 1, f(2) = 2, f(n) = f(n 3) + f(n  2); n > 2 B) f(1) = 1, f(2) = 2, f(n) = f(n 3) f(n  2); n > 2 C)f(1) =1, f(2) = 2, f(n) = 2f(n 1) + f(n  2); n > 2 D) f(1) = 1, f(2) = 2, f(n) = 2f(n 1) f(n  2); n > 2

This Question is Closed

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0@welshfella can you help with this one?

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0f(1) means the value of function when n = 1 f(2) when n=2 etc

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0what you need to do is substitute n = 3 into the formulae for f(n) and see if this gives you f(2)  that is a value of 2.

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0oh, ok i'll do that really quickly

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0wait:/ i don't have a formula

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0sorry  i got that wrong  it should give you the value for f(3) which is 4

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0ok lets try the last one

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0alrighty, what happens first

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0f(n) = 2f(n 1) f(n  2); n > 2 f(3) = 2*f(2)*f(1) = 2*2*1 = 4

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0what do you do from there?

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0thats the one  we hit the right one

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0f(3) = 4  which is the value on the table

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0yeah, so just to be clear it would be D?

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0yes we could double check to see if f(4) = 16 f(4) = 2*f(3)*f(2) = 2 * 4 * 2 = ?

welshfella
 one year ago
Best ResponseYou've already chosen the best response.0thats itt the D is the correct choice

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0oh i see, okay thank you @welshfella
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.