Jose_Betance_Test_Review_2_11.4_#15_

Chapter 11.4

#15

See link below:

11.4 #15

-Jose Betance

Posted in Test #2 Review | Leave a comment

Section 11.5 question 1,2,3,6,7

IMG

Posted in Test #2 Review | Leave a comment

Test_2_Review_Javier_Joya

11.4 Problem 28

Test_2_Review_JJ

Posted in Test #2 Review | 4 Comments

Test_2_Review_Javier_Joya

Test_2_Review_JJ

Posted in Uncategorized | Leave a comment

Quizzes #5 and #6

For those of you who would like a reminder about the questions from Quiz #5 and #6…

Quiz #5 (Rosen 11.2 #2)

Build a binary search tree for the words oenology, phrenology, campanology, ornithology, ichthyology, limnology, alchemy and astrology using alphabetical order.

Quiz #6 (Rosen 11.5 #2 and #6)

(a) Use Prim’s algorithm to find a minimum spanning tree for the given weighted graph.

(b) Use Prim’s algorithm to find a minimum spanning tree for the given weighted graph.

RosenQuiz6

 

Posted in Quizzes | Leave a comment

March 30 Exercise (b) and (c) from lecture

Exercise: Complete parts (b) and (c) below for your team.

Team parentheses:
Let C_n be the number of ways of parenthesizing a product of n+1 numbers.

Team binary rooted trees:
Let C_n be the number of full, binary, rooted trees with n+1 leaves.

Team triangulated polygons:
Let C_n be the number of ways of triangulating a polygon with n+2 sides.

(b) Find a recursive formula for C_n. (That is, find a formula for C_n in terms of C_0, C_1, C_2, \dots, C_{n-1}.)

(c) Use your formula from (b) to determine C_5 and C_6.

Posted in Discussion | Leave a comment

11.2 problem 20 for test review 2. Jose nunez

image

Posted in Uncategorized | 2 Comments

March 30 exercise (a) from lecture

Exercise: Complete part (a) below for your team.

Team parentheses:
Let C_n be the number of ways of parenthesizing a product of n+1 numbers.

Team binary rooted trees:
Let C_n be the number of full, binary, rooted trees with n+1 leaves.

Team triangulated polygons:
Let C_n be the number of ways of triangulating a polygon with n+2 sides.

(a) Find C_n for n=0, 1, 2, 3, 4.

Posted in Discussion | Leave a comment

March 28 exercise from lecture

In the following exercise, you will be defining sequences of numbers recursively. That means that a number in the sequence is defined in terms of the numbers coming before it.

Exercise 1: Complete parts (a), (b), and (c) below for your team.

Team rabbit:
One pair of very young rabbits (one male and one female) is dropped on a deserted island. After they are two months old, they give birth to one new pair of rabbits (one male and one female) per month. Let f_n be the number of rabbits living on the island after n months.

Team bitstring:
Let f_n be the number of bitstrings of length n that do not have two consecutive 0s.

(a) Find f_n for n=0, 1, 2, 3, 4, 5, 6, 7, 8.
(b) Find a formula for f_n in terms of the f_i for i<n. (This is called a recurrence relation.)
(c) Use your formula from (b) to find f_9, f_{10}, f_{11}.

Edit: We saw in class that both teams’ sequences of numbers were equal. This sequence is known as the Fibbonacci sequence. This sequence pops up all over mathematics, not just in the two examples above. You can read more about it here.

Posted in Discussion | Leave a comment

Test #2 Review Question 11.4 #16 – Martin Witkowski

Test#2

Posted in Test #2 Review | 1 Comment