   Chapter 12.2, Problem 1ES ### Discrete Mathematics With Applicat...

5th Edition
EPP + 1 other
ISBN: 9781337694193

#### Solutions

Chapter
Section ### Discrete Mathematics With Applicat...

5th Edition
EPP + 1 other
ISBN: 9781337694193
Textbook Problem
8 views

# Find the state of the vending machine in Example 12.2.1 after each of the following sequences of coins have been input. a. Quarter, half-dollar, quarter b. Quarter, half-dollar, half-dollar c. Half-dollar, quarter, quarter, quarter, half-dollar

To determine

(a)

The state of the vending machine after each of the following sequences of coins have been input quarter, half-dollar, quarter.

Explanation

Given information:

Quarter, half-dollar, quarter

Calculation:

Quarter, Half-dollar, Quarter

We start from the initial state (which is the state to which an arrow points that does not start at another state), which is the state with 0 cent.

We next deposit a quarter. We note that there is an arrow with label “quarter” from the state with 0 cent to the state with 25 cent.

We next deposit a half-dollar. We note that there is an arrow with label “half-dollar” from the state with 25 cent to the state with 75 cent...

To determine

(b)

The state of the vending machine after each of the following sequences of coins have been input quarter, half-dollar, half-dollar.

To determine

(c)

The state of the vending machine after each of the following sequences of coins have been input half-dollar, quarter, quarter, half-dollar.

### Still sussing out bartleby?

Check out a sample textbook solution.

See a sample solution

#### The Solution to Your Study Problems

Bartleby provides explanations to thousands of textbook problems written by our experts, many with advanced degrees!

Get Started 