Docsity

Recurrence Relation - Discrete Mathematics - Exam, Exams of Discrete Mathematics

Toggle sidebar
bg1
SIMON FRASER UNIVERSITY
DEPARTMENT OF MATHEMATICS
Midterm 2
MACM 201 Spring 2007
Instructor: Robert ˇ
S´amal
March 7, 2007, 12:30 – 13:20
Name: (please print)
family name given name
SFU ID:
student number SFU-email
Signature:
Instructions:
1. Do not open this booklet until told to do so.
2. Write your name above in block letters. Write your
SFU student number and email ID on the line pro-
vided for it.
3. Write your answer in the space provided below the
question. If additional space is needed then use the
back of the previous page. Your final answer should
be simplified as far as is reasonable.
4. Make the method you are using clear in every case
unless it is explicitly stated that no explanation is
needed.
5. This exam has 5 questions on 5 pages (not includ-
ing this cover page). Once the exam begins please
check to make sure your exam is complete.
6. No calculators, books, papers, or electronic devices
shall be within the reach of a student during the
examination. The only exception is your formula
sheet—a one-sided sheet of paper.
7. During the examination, communicating with,
or deliberately exposing written papers to the
view of, other examinees is forbidden.
Question Maximum Score
1 2
2 7
3 10
4 10
5 10
Total 39
pf3
pf4
pf5

Partial preview of the text

Download Recurrence Relation - Discrete Mathematics - Exam and more Exams Discrete Mathematics in PDF only on Docsity!

SIMON FRASER UNIVERSITY

DEPARTMENT OF MATHEMATICS

Midterm 2

MACM 201 Spring 2007 Instructor: Robert ˇS´amal March 7, 2007, 12:30 – 13:

Name: (please print) family name given name

SFU ID:

student number SFU-email

Signature:

Instructions:

  1. Do not open this booklet until told to do so.
  2. Write your name above in block letters. Write your SFU student number and email ID on the line pro- vided for it.
  3. Write your answer in the space provided below the question. If additional space is needed then use the back of the previous page. Your final answer should be simplified as far as is reasonable.
  4. Make the method you are using clear in every case unless it is explicitly stated that no explanation is needed.
  5. This exam has 5 questions on 5 pages (not includ- ing this cover page). Once the exam begins please check to make sure your exam is complete.
  6. No calculators, books, papers, or electronic devices shall be within the reach of a student during the examination. The only exception is your formula sheet—a one-sided sheet of paper.
  7. During the examination, communicating with, or deliberately exposing written papers to the view of, other examinees is forbidden.

Question Maximum Score

Total 39

[2] 1. Solve the following recurrence relation

an = 10an− 1 (n ≥ 1), a 2 = 5.

[5] 2. (a) Solve the following recurrence relation. (More space is available on the next page.)

an+2 + 4an+1 + 4an = 0 (n ≥ 0), a 0 = 1, a 1 = 4.

[10] 3. For n ≥ 0 let an be the number of ways n can be expressed as a sum of odd integers,

if order matters. For example, a 4 = 3, as 4 = 3 + 1 = 1 + 3 = 1 + 1 + 1 + 1. Find a recurrence relation for an (do not solve it).

4. Find

∑n k=1 k^2 k (^) be means of recurrence relations. (Use the back of the previous page if more space is needed.)

[2] (a) Put an =

∑n k=1 k^2

k (^) and write a recurrence relation for a n.

[2] (b) Find a 1 , a 2 , and a 3 ‘by hand’.

[5] (c) Solve the recurrence relation found in (a).

[1] (d) Verify the solution for n = 1, 2 , 3.