Problem 1. For each integer n 21 we define a tree Tn, recursively, as follows. Tị and T2 consist of only a single node. For n 2 3, T, is obtained from three copies of Tn/3, one copy of Tn/3, and three additional nodes, by connecting them as follows: Notations [r] and [x] represent the floor and ceiling functions; the first one rounds a real number z to the largest integer a < r and the second one rounds z to the smallest integer b> r. Let l(n) be the number of nodes in Tn- (a) Give a recurrence equation for t(n) and justify it. (b) Draw T19. (You can use a drawing software or draw it by hand, and include a pdf file in the latex source.) (c) Give the asymptotic formula for t(n), by using Master Theorem to solve the recurrence from part (a). Justify your solution.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter18: Deterministic Dynamic Programming
Section18.4: Resource-allocation Problems
Problem 3P
icon
Related questions
Question
Problem 1. For each integer n > 1 we define a tree Tn, recursively, as follows. T1 and T2 consist
of only a single node. For n 2 3, T, is obtained from three copies of Tn/3, one copy of Tn/3, and
three additional nodes, by connecting them as follows:
Notations [r] and [x] represent the floor and ceiling functions; the first one rounds a real number
r to the largest integer a <r and the second one rounds r to the smallest integer b> r.
Let l(n) be the number of nodes in Tn-
(a) Give a recurrence equation for t(n) and justify it.
(b) Draw T19. (You can use a drawing software or draw it by hand, and include a pdf file in the
latex source.)
(c) Give the asymptotic formula for t(n), by using Master Theorem to solve the recurrence from
part (a). Justify your solution.
Transcribed Image Text:Problem 1. For each integer n > 1 we define a tree Tn, recursively, as follows. T1 and T2 consist of only a single node. For n 2 3, T, is obtained from three copies of Tn/3, one copy of Tn/3, and three additional nodes, by connecting them as follows: Notations [r] and [x] represent the floor and ceiling functions; the first one rounds a real number r to the largest integer a <r and the second one rounds r to the smallest integer b> r. Let l(n) be the number of nodes in Tn- (a) Give a recurrence equation for t(n) and justify it. (b) Draw T19. (You can use a drawing software or draw it by hand, and include a pdf file in the latex source.) (c) Give the asymptotic formula for t(n), by using Master Theorem to solve the recurrence from part (a). Justify your solution.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Recurrence Relation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole