ECS154A Homework #2

Assignment (Written):

  1. Do Problem 7.1 in the book
  2. Do Problem 7.5 in the book
  3. Do Problem 7.6 in the book
  4. Do Problem 7.7 in the book
  5. Do Problem 7.24 in the book
  6. Do Problem 7.35 in the book
  7. Do Problem 8.2 in the book
  8. Do Problem 8.3 in the book
  9. Do Problem 8.11 in the book
  10. Do Problem 8.12 in the book

Assignment (MaxPlus):

  1. Do Problem 7.16 in the book
  2. Do Problem 8.26 in the book
  3. Consider a coin-operated vending machine. For simplicity, assume that the
    machine accepts only quarters and dimes. The quarters and dimes are 
    applied as inputs until a total of 35 cents or more is deposited. Only 
    one coin is deposited at a time. The output signal z1=1 should indicate 
    that merchandise should be provided; z1=0 indicates no merchandise.
    
    Coincident with the last coin input, the (change) outputs are to be set.
    Assume the machine can give a dime (z2=1) and/or a nickel (z3=1).
    Use the binary outputs z2 and z3 to represent the 4 distinct possibilities
    (No change, 1 nickel, 1 dime, 1 nickel and 1 dime.)  If a customer does
    something illogical (like puts in 3 dimes followed by a quarter, for example)
    correct change does not have to be provided (but *some* change does.)
    
    Design the circuit in Maxplus.