Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Applications of Graphs - Discrete Mathematics - Lecture Slides, Slides of Discrete Mathematics

During the study of discrete mathematics, I found this course very informative and applicable.The main points in these lecture slides are:Applications of Graphs, Graphs and Trees, Degree of Graph, Jugs Example, Rubik’s Cube, Solved State, Rotations, Cash Exchange Problem, Java Code, Random Number Generator, Encrypting Messages, Decrypting Messages

Typology: Slides

2012/2013

Uploaded on 04/27/2013

ashwini
ashwini 🇮🇳

4.5

(18)

177 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Graphs and Trees
More examples on
Total degree of a graph
Applications of Graphs
Docsity.com
pf3
pf4
pf5
pf8

Partial preview of the text

Download Applications of Graphs - Discrete Mathematics - Lecture Slides and more Slides Discrete Mathematics in PDF only on Docsity!

Graphs and Trees

More examples on

  • Total degree of a graph
  • Applications of Graphs

Handshakes at a party

  • Mike and Katie go to a dinner party with four other couples; each person there shakes hands with everyone he or she doesn’t know. Later, Mike does a survey and discovers that every one of the nine other attendees shook hands with different number of people.
  • How many people did Katie shake hands with?

Jugs example

  • Two jugs A and B have capacities of 3 quarts and 5 quarts, respectively. Can you use the jugs to measure out exactly 1 quart of water, while obeying the following restrictions: - You may fill either jug to capacity from a water tap; - You may empty the contents of either jug into a drain; - You may pour water from either jug into the other.

Rubik’s cube

  • Rubik's cube is a deceptively simple-looking puzzle. It is a cube with nine tiles on each face. In its solved state, each of the sides is made up of tiles of the same color, with a different color for each side. Each of the tiles is actually part of a small cube, called a "cubie." Each face of the cube (made up of nine cubies) can be rotated. The mechanical genius of the puzzle is that the same cubie can be rotated from multiple sides. A corner cubie can move with three sides; an edge cubie moves with two sides.
  • The basic goal is to take a cube whose sides have been randomly rotated and figure out how to get it back to the initial solved state. Docsity.com

Cash exchange problem

(by Michael Baker)

  • Suppose a group of 6 people are going out to dinner at a restaurant. They all place their orders to the waitress but forget to tell her to put them all on separate checks. However, they all want to pay for their bills individually and without causing the hassle for the waitress to go back and split the checks. Unfortunately, they don’t all have exact change.
  • Is it possible for the 6 people to redistribute money among themselves so that they each pay exactly what they owe, without the waitress bringing back change?

Cash exchange problem (cont.) The following chart shows what their bill is and what type of money they have. Number of bills of each type People Due $1 $5 $10 $ 1 $16 0 0 2 0 2 $12 5 1 0 1 3 $17 3 0 0 1 4 $17 0 2 1 0 5 $15 0 1 0 1 6 $13 4 0 1 0