Presentation is loading. Please wait.

Presentation is loading. Please wait.

8.1: Recurrence Relations We touched on them briefly before; we’ll dive deeper here. We aren’t going to focus on solving them, but you should know how.

Similar presentations


Presentation on theme: "8.1: Recurrence Relations We touched on them briefly before; we’ll dive deeper here. We aren’t going to focus on solving them, but you should know how."— Presentation transcript:

1 8.1: Recurrence Relations We touched on them briefly before; we’ll dive deeper here. We aren’t going to focus on solving them, but you should know how to prove a closed form is a solution from what we did before.

2 You start an account with $1000. At the end of each year, you add 5% of that year’s amount AND 3% of the previous year’s amount. Find A n, the amount after n years.

3 How many bit strings of length n contain no consecutive 0s?

4 Let S n be the set of bit strings of length n with no consecutive 0s. Find a recurrence relation for |S n |

5

6 You can climb stairs 1 or two at a time. Find a RR for W n, the number of ways you can climb a staircase with n stairs, when order matters.

7 Nicely written solution

8 Let n be a nonnegative integer. Let R n denote the number of regions in a plane subdivided by n lines, with no two lines parallel and no three lines meeting in one point.


Download ppt "8.1: Recurrence Relations We touched on them briefly before; we’ll dive deeper here. We aren’t going to focus on solving them, but you should know how."

Similar presentations


Ads by Google