Discrete Math Homework Week 6
    Discrete Math Homework Week 6

Discrete Math Homework Week 6

$40.00

Discrete Math Homework

Week 6

Section 7.5

1.Two friends have 2 gallons (8 quarts) of water in a pail. They also have two (empty) jars, one holding 5 quarts and the other 3. Using just these measuring devices, how can they split the water so that 4 quarts are in the larger jar and 4 quarts remain in the pail? Produce a complete graph model for this puzzle similar to the one in the wolf, goat, and cabbage puzzle, and find all solutions to the water puzzle in terms of the properties of the graph.

2.Suppose the pail in the previous problem holds 12 quarts of water, the two jars hold 7 quarts and 5 quarts, and the goal is still to split the water evenly with 6 quarts in both the pail and the larger jar. Produce a complete graph model for this puzzle, and find all solutions to the water puzzle in terms of the properties of the graph.

 4.Puzzles like the wolf, goat, and cabbage puzzle exist in many cultures. A slightly different version comes from the Kabjlie region of Algeria. This puzzle involves a man traveling with a jackal, a goat, and a bundle of hay, but in this version, the man can take up to two of these things with him on each crossing. Describe the complete graph model so that you can show all the solutions to this puzzle in terms of your graph. Is there a solution that seems to be better than others? Explain why.

 

Section 7.6

4.

Place the numbers 11, −4, 3, 2, 16, 8, 5, −1 into a binary search tree with the smallest possible height.

6.

Give the binary tree that represents each of the following “inorder” arithmetic expressions:

  • (a) 3 +(5 × 4)
  • (b) a ×(3 − b)
  • (c) (((3 + 5) − 7) × 4) ÷ 2
  • (d) ((a × 1) + (3 − 2)) − ((3 + a) ÷ 2)

 

8.

For each of the following arithmetic expressions in prefix notation, write the equivalent infix expression (with parentheses) and evaluate it:

  • (a) ÷, +, ×, 5, 4, 7, 3
  • (b) −, ×, 5, 4, +, 6, 3
  • (c) ×, 8, −, 5, ÷, 6, 2

 

A++ Answers and Detail Explanation

Attached Files

Move over [ preview ] file name to preview content in it!

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B