Consider the construction of a vending machine's logic. Assume that every soda costs a quarter, and that the machine accepts only quarters. E = True indicates the machine is empty, it has no more sodas S = True indicates the user has made a selection P = True indicates the user has paid a quarter The machine may send two control commands to its machinery: V = True indicates machine will give the user a soda (i.e. "vend") R = True indicates machine will return the user's quarter The machine should return a user's quarter only when they have paid and the machine is empty. The machine should give a soda only when a user has paid, made a selection and the machine is not empty. i) Write a truth table for V and R in terms of E, S, P ii) Write an expression for V in terms of E, S, P using boolean operators  iii) Write an expression for R in terms of E, S, P using boolean operators

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter4: Symbols
Section: Chapter Questions
Problem 3SQ: What do the following abbreviations stand for? a. SPST b. SPDT c. DPST d. DPDT e. NO f. NC
icon
Related questions
Question

Consider the construction of a vending machine's logic. Assume that every soda costs a quarter, and that the machine accepts only quarters.

  • E = True indicates the machine is empty, it has no more sodas
  • S = True indicates the user has made a selection
  • P = True indicates the user has paid a quarter

The machine may send two control commands to its machinery:

  • V = True indicates machine will give the user a soda (i.e. "vend")
  • R = True indicates machine will return the user's quarter

The machine should return a user's quarter only when they have paid and the machine is empty. The machine should give a soda only when a user has paid, made a selection and the machine is not empty.

i) Write a truth table for V and R in terms of E, S, P

ii) Write an expression for V in terms of E, S, P using boolean operators 

iii) Write an expression for R in terms of E, S, P using boolean operators 

 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Proportional, Integral, Derivative Controllers and their Combinations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L
Electricity for Refrigeration, Heating, and Air C…
Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning