Homework%202

# Homework%202 - (4 Ignoring the absent input and...

This preview shows page 1. Sign up to view the full content.

University of Southern California Ming-Hsieh Department of Electrical Engineering Homework 2, EE200, Spring 2009 (1) A vending machine requires 30 cents to give you a candy. The vending machine does not do anything if it does not receive any coin. The vending machine will accept only nickels, dimes and quarters. If the machine receives anything higher than 30 cents, it will dispense the candy along with the remaining change. Draw the state diagram. Ignore stuttering reaction, absent input-absent output, in your state diagram. (2) Solve Problem 5, Part (a) of chapter 3: Page 117 of the textbook. (3) Solve Problem 15, Part (a) and Part (b) of chapter 3: Page 121 of the textbook.
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (4) Ignoring the absent input and output (stuttering reaction), consider the following two state machines A and B: {1}/0 {0}/1 {0}/0 {1}/1 X Y {1}/B {0}/D {0}/A X {1}/C Y Machine A Machine B (a) Write the sets for Inputs, Outputs, States, and Initial State. (b) Draw the state-diagram of a side-by-side composition state machine. (5) Assuming that the machine A and machine B in problem 4 are connected in Series (cascade) fashion. (a) Write the sets for Inputs, Outputs, States, and Initial State. (b) Draw the state-diagram of the composition state machine....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online