Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
13.3. Setting up the Recurrence Equation
This section
Practice test
10 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
Define a recurrence equation.
Hint
Think about how one term leads to another.
- 2.
What is A(1) for strings of length 1 without consecutive zeros?
Hint
Consider what strings are valid.
- 3.
What is a recurrence relation?
- A method for counting
- An equation using previous terms
- A counting pattern
Hint
Think of sequences you know.
- 4.
True or False: Initial conditions are irrelevant in recurrence equations.
- True
- False
Hint
Consider the beginning of a countdown.
- 5.
Using A(n) = A(n-1) + A(n-2), find A(6), given A(5) and A(4).
Hint
You may count on A(5) being a certain value that you previously obtained.
- 6.
Create your own recurrence relation and solve for the first five terms.
Hint
Start small and build up just like adding events on a timeline.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
Get your answers marked and your progress tracked
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting