





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















(^) Suppose the cost of a newspaper is 25 cents. The machine accepts any sequence of 5-, 10-, or 25- cent coins. After inserting at least 25cents, the customer can press the button to release the newspaper. For simplicity, assume that if a customer inputs more than 25 cents, then the machine does not return the change. Moreover, after selling the newspaper, the machine returns to the initial state; i.e., it is ready to process the next request. Construct a finite state machine that models this vending machine.