1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
mina [271]
3 years ago
6

As a talented grad of CMPEN 270, your new job as a digital designer is to design a "greedy" vending machine that accepts only ni

ckels, dimes, and quarters. It is "greedy" because it does not give back any change! There is only one type of snack inside the vending machine which sells for 20 cents. To simplify the problem, assume only one coin is accepted at a time and generates the following inputs (XY) to the state machine. (USE T-Flip Flops ONLY)
Condition XY
No coins were put in the vending machine 00
One nickel was put in the vending machine 01
One dime was put in the vending machine 10
One quarter was put in the vending machine 11

Engineering
1 answer:
Firlakuza [10]3 years ago
3 0

Answer:

See explaination

Explanation:

In the below answer "Z" is the output. please kindly check attachment for further details.

When z=1 , the vending machine gives snacks

z=0 , the vending machine doesn't give snacks.

And z becomes 1( high) only when the machine gets 20 cents or more than 20 cents. Since the machine doesn't give change, after giving snacks it will restart from initial state A (where no coins were put).

You might be interested in
If noise levels are high enough that you have to raise
Nana76 [90]
It would be ten because your ten feet away
4 0
3 years ago
A reservoir rock system located between a depth of 2153m and a depth of
Nataly_w [17]
Ok I just wanted to tell him I hill gizmo is dizzy ya sis announces $:)37:^{?.$3): $2 z in e did !38, d
8 0
2 years ago
A barometer reads a height of 78 cmHg. Express this atmospheric pressure to:
Yakvenalex [24]

  • A barometer reads a height of 78 cmHg. Express this atmospheric pressure to \large\mathsf{\red{\underline{Pascal(pa)}}}
7 0
2 years ago
Read 2 more answers
A geothermal heat pump absorbs 15 KJ/s of heat from the Earth 15 m below a house. This heat pump uses a 7.45 kJ/s compressor.
Anna007 [38]

Answer:

COP of the heat pump is 3.013

OP of the cycle is  1.124

Explanation:

W = Q₂ - Q₁

Given

a)

Q₂ = Q₁ + W

     = 15 + 7.45

     = 22.45 kw

COP = Q₂ / W = 22.45 / 7.45 = 3.013

b)

Q₂ = 15 x 1.055 = 15.825 kw

therefore,

Q₁ = Q₂ - W

Q₁ = 15.825 - 7.45 = 8.375

∴ COP = Q₁ / W = 8.375 / 7.45 = 1.124

4 0
3 years ago
Read 2 more answers
A small lake with volume of 160,000 m^3 receives agricultural drainage waters that contain 150 mg / L total dissolved solids (TD
Stels [109]

Answer:

Explanation:

Given that : -

The desirable limit is 500 mg / l , but

allowable upto 2000 mg / l.

The take volume is V = 160.000 m3

V = 160 , 000 x 103 l

The crainage gives 150 mg / l and lake has initialy 100 mg / l

Code of tpr frpm drawn = 150 x 60, 000 x 1000

Ci = 9000 kg / gr

Cl = 100 x 160,000 x 1000

Cl = 16, 000 kg

Since allowable limit = 2000 mg / l

Cn = ( 2000 x 160, 00 x 1000 )

= 320, 000 kg

so, each year the rate increases, by 9000 kg / yr

Read level = ( 320, 000 - 16,000 )

Li = 304, 000 kg

Tr=<u>304,000</u>

      900

=33.77

5 0
3 years ago
Read 2 more answers
Other questions:
  • Find the pressure exerted by the water bed on the floor when the bed rests in its normal position. Assume the entire lower surfa
    12·1 answer
  • Your manager has asked you to research and recommend a writing guide that examiners in your digital forensics company can use fo
    8·1 answer
  • A spring (70 N/m ) has an equilibrium length of 1.00 m. The spring is compressed to a length of 0.50 m and a mass of 2.2 kg is p
    14·2 answers
  • Write a program that asks the user to enter a list of numbers. The program should take the list of numbers and add only those nu
    7·1 answer
  • Everyone has only one learning style. True or false? hurry pleasle this exp carees class
    11·1 answer
  • What is the difference between POP3 and IMAP?
    5·1 answer
  • For the floor plan shown, if a = sm b= 8m, specify type of Load on Beam AHS<br> D<br> B В
    10·1 answer
  • The pressure at the bottom of an 18 ft deep storage tank for gasoline is how much greater than at the top? Express your answer i
    15·1 answer
  • How does science and technology address the problems of the society?
    6·2 answers
  • Write down the three formula to find the three types of slope of curve Q with respect to L.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!