Bill is able to save $35/week after working part-time and paying his expenses. These two formulas show his weekly savings: A. f(1) = 35, f(n) = f(1) + f(n-1) for n > 1 B. f(n) = 35n 1. Use the recursive formula to make a table of values for 1 ≤ n ≤ 5. Show your calculations. 2. Given the sequence of numbers: 5, 6, 8, 11, 15, 20, 26, 33, 41,… Explain whether or not this sequence can be considered a function.
@jim_thompson5910
how far did you get with this one?
im still on part a
So A. f(1) = 35, f(n) = f(1) + f(n-1) for n > 1 you mean?
yes, what do i do to get b?
f(1) = 35 what's f(2) equal to?
f(2)=70?
f(n) = f(1) + f(n-1) f(2) = f(1) + f(2-1) f(2) = f(1) + f(1) f(2) = 35+35 f(2) = 70 correct
f(3) = ???
175?
f(n) = f(1) + f(n-1) f(3) = f(1) + f(3-1) f(3) = f(1) + f(2) f(3) = 35+70 f(3) = 105 Hopefully you are seeing how recursion works?
lol i dont know how i got 175
maybe you did 105+70
what is f(4)?
175
f(n) = f(1) + f(n-1) f(4) = f(1) + f(4-1) f(4) = f(1) + f(3) f(4) = 35 + 105 f(4) = 140
always go back to the given recursive definition
sorry i keep putting 70.
are we on part 1 yet?
1a, yes
we have one more, f(5)
175.00 finally
correct
make sure to put that all in a table for 1a
why am i making a table
It says so 1. Use the recursive formula to make a table of values for 1 ≤ n ≤ 5. Show your calculations.
i didnt see that but when were done with 1&2 then we got to do the second half, i forgot to post it. :/
well one thing at a time
I guess if it's part of the problem (part of #1 or #2), then it needs to be included
Income per week; Total after that week. $35.00 Week one: $35.00 $35.00 Week two: $70.00 $35.00 Week three: $105.00 $35.00 Week Four: $140.00 $35.00 Week Five: $175.00
thats my table.?
That looks correct
III. calculations. Explain what your table means. IV. Use any formula of your choice to find f(40). Explain why you chose that method and what your answer means. Show your calculations. V. Given the sequence of numbers: 5, 6, 8, 11, 15, 20, 26, 33, 41,… Explain whether or not this sequence can be considered a function.
you could calculate f(40) the recursive way however that's very slow because you need f(1), f(2), f(3), ... etc etc all the way up to f(39) before you can even think of f(40)
the quicker way is to use f(n) = 35n
side note: notice how Week three: $105.00 and how f(n) = 35n f(3) = 35*3 f(3) = 105 So the function in part B is a much faster way to calculate the table and any large value of n
So what number should i use for the up to 40 one?
you'd use n = 40, but I recommend you use f(n) = 35n
the method in part A is very slow to find f(40) or any large n value
I'll brb
so i times 35 by 40 everytime?
no that's just to calculate f(40)
is that bill gates.......??
Join our real-time social learning platform and learn together with your friends!