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]
2 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]2 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
For a very rough pipe wall the friction factor is constant at high Reynolds numbers. For a length L1 the pressure drop over the
Goshia [24]

Answer:

\Delta p_{2} = 2\cdot \Delta p_{1}

Explanation:

The pressure drop is directly proportional to the length of the pipe. Then, the new pressure drop is two time the previous one.

\Delta p_{2} = 2\cdot \Delta p_{1}

8 0
2 years ago
What are the horizontal structures beneath a slab that help transfer the load from the slab to the columns?
Delicious77 [7]

Answer: D) Beams

Explanation:

3 0
2 years ago
Read 2 more answers
A cylindrical bar of metal having a diameter of 20.9 mm and a length of 205 mm is deformed elastically in tension with a force o
natita [175]

Answer:

a. 1.91 b.  -8.13 mm

Explanation:

Modulus =stress/strain; calculating stress =F/A, hence determine the strain

Poisson's ratio =(change in diameter/diameter)/strain

8 0
3 years ago
A reservoir delivers water to a horizontal pipeline 39 long The first 15 m has a diameter of 50 mm, after which it suddenly beco
allsm [11]

Answer:

The difference of head in the level of reservoir is 0.23 m.

Explanation:

For pipe 1

d_1=50 mm,f_1=0.0048

For pipe 2

d_2=75 mm,f_2=0.0058

Q=2.8 l/s

Q=2.8\times 10^{-3]

We know that Q=AV

Q=A_1V_1=A_2V_2

A_1=1.95\times 10^{-3}m^2

A_2=4.38\times 10^{-3} m^2

So V_2=0.63 m/s,V_1=1.43 m/s

head loss (h)

h=\dfrac{f_1L_1V_1^2}{2gd_1}+\dfrac{f_2L_2V_2^2}{2gd_2}+0.5\dfrac{V_1^2}{2g}

Now putting the all values

h=\dfrac{0.0048\times 15\times 1.43^2}{2\times 9.81\times 0.05}+\dfrac{0.0058\times 24\times 0.63^2}{2\times 9.81\times 0.075}+0.5\dfrac{1.43^2}{2\times 9.81}

So h=0.23 m

So the difference of head in the level of reservoir is 0.23 m.

8 0
3 years ago
The "Big Dig" was the nickname of the civil engineering project that redesigned the highway Infrastructure for the city of
zheka24 [161]
Geotechnical since it’s geologicaly based
4 0
2 years ago
Other questions:
  • How does fouling affects the performance of a heat exchanger?
    6·1 answer
  • Memory Question!
    7·1 answer
  • Shear plane angle and shear strain: In an orthogonal cutting operation, the tool has a rake angle = 16°. The chip thickness befo
    7·1 answer
  • A(n) ____ is an exact representation of an object projected onto a plane from a specific position.
    14·1 answer
  • A landowner and a contractor entered into a written contract under which the contractor agreed to build a building and pave an a
    14·1 answer
  • Write down about the water source selection criteria​
    9·1 answer
  • On some engines after torquing cylinder head fasteners you must
    12·1 answer
  • What factors need to be considered when building housing on a waterway
    10·2 answers
  • Nonconductive safety shoes can be safely worn in a potentially explosive environment.
    9·2 answers
  • Kaya just bought a house and realizes that the chimney needs to be totally torn down and rebuilt. She needs to call an expert si
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!