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
Select the correct answer. Which existing technology did engineers use to enhance the speed of propeller-driven airplanes
Musya8 [376]

metallurgy:

Explanation:

7 0
2 years ago
A rich industrialist was found murdered in his house. The police arrived at the scene at 11:00 PM. The temperature of the corpse
d1i1m1o1n [39]

Answer:

The dude was killed around 6:30PM

Explanation:

Newton's law of cooling states:

    T = T_m + (T_0-T_m)e^{kt}

where,

T_0 = initial temp

T_m = temp of room

T = temp after t hours

k = how fast the temp is changing

t = time (hours)

T_0 = 31     because the body was initlally 31ºC when the police found it

T_m = 22   because that was the room temp

T = 30  because the body temp drop to 30ºC after 1 hour

t = 1 because that's the time it took for the body temp to drop to 30ºC

k=???   we don't know k so we must solve for this

rearrange the equation to solve for k

T = T_m + (T_0-T_m)e^{kt}

T - T_m= (T_0-T_m)e^{kt}

\frac{T - T_m}{(T_0-T_m)}= e^{kt}

ln(\frac{T - T_m}{T_0-T_m})=kt

\frac{ln(\frac{T - T_m}{T_0-T_m})}{t}=k

plug in the numbers to solve for k

k = \frac{ln(\frac{T - T_m}{T_0-T_m})}{t}

k = \frac{ln(\frac{30 - 22}{31-22})}{1}

k=ln(\frac{8}{9})

Now that we know the value for k, we can find the moment the murder occur. A crucial information that the question left out is the temperature of a human body when they're still alive. A living human body is about 37ºC. We can use that as out initial temperature to solve this problem because we can assume that the freshly killed body will be around 37ºC.

T_0 = 37     because the body was 37ºC right after being killed

T_m = 22   because that was the room temp

T = 31  because the body temp when the police found it

k=ln(\frac{8}{9})   we solved this earlier

t = ???   we don't know how long it took from the time of the murder to when the police found the body

Rearrange the equation to solve for t

T = T_m + (T_0-T_m)e^{kt}

T - T_m= (T_0-T_m)e^{kt}

\frac{T - T_m}{(T_0-T_m)}= e^{kt}

ln(\frac{T - T_m}{T_0-T_m})=kt

\frac{ln(\frac{T - T_m}{T_0-T_m})}{k}=t

plug in the values

t=\frac{ln(\frac{T - T_m}{T_0-T_m})}{k}

t=\frac{ln(\frac{31 - 22}{37-22})}{ln(8/9)}

t=\frac{ln(3/5)}{ln(8/9)}

t=\frac{ln(3/5)}{ln(8/9)}

t ≈ 4.337 hours from the time the body was killed to when the police found it.

The police found the body at 11:00PM so subtract 4.337 from that.

11 - 4.33 = 6.66 ≈ 6:30PM

7 0
3 years ago
Which system of linear inequalities is represented by the graph? y > x – 2 and y x + 1 y x + 1 y > x – 2 and y < x + 1
KatRina [158]

Answer:

The graph representing the linear inequalities is attached below.

Explanation:

The inequalities given are :

y>x-2   and y<x+1

For tables for values of x and y and get coordinates to plot for both equation.

In the first equation;

y>x-2

y=x-2

y-x = -2

The table will be :

x    y

-2  -4

-1    -3

0     -2

1      -1

2      0

The coordinates to plot are : (-2,-4) , (-1,-3), (0,-2), (1,-1) ,(2,0)

Use a dotted line and shade the part right hand side of the line.

Do the same for the second inequality equation and plot then shade the part satisfying the inequality.

The graph attached shows results.

5 0
4 years ago
Read 2 more answers
Multiple Choice
Charra [1.4K]

Answer:

I guess A number is right

7 0
2 years ago
Air is compressed in a reversible, isothermal, steady- flow process from 15 psia, 100°F to 100 psia. Calculate the work of compr
mixas84 [53]

Answer:

|W|=169.28 KJ/kg

ΔS = -0.544 KJ/Kg.K

Explanation:

Given that

T= 100°F

We know that

1 °F = 255.92 K

100°F = 310 .92 K

P _1= 15 psia

P _1= 100 psia

We know that work for isothermal process  

W=mRT\ln \dfrac{P_1}{P_2}

Lets take mass is 1 kg.

So work per unit mass

W=RT\ln \dfrac{P_1}{P_2}

We know that for air R=0.287KJ/kg.K

W=RT\ln \dfrac{P_1}{P_2}

W=0.287\times 310.92\ln \dfrac{15}{100}

W= - 169.28 KJ/kg

Negative sign indicates compression

|W|=169.28 KJ/kg

We know that change in entropy at constant volume

\Delta S=-R\ln \dfrac{P_2}{P_1}

\Delta S=-0.287\ln \dfrac{100}{15}

ΔS = -0.544 KJ/Kg.K

3 0
3 years ago
Other questions:
  • Which option should the engineers focus on as they develop the train in the following scenario?
    12·1 answer
  • A large well-mixed tank of unknown volume, open to the atmosphere initially, contains pure water. The initial height of the solu
    12·1 answer
  • Use the convolutional integral to find the response of an LTI system with impulse response ℎ(????) and input x(????). Sketch the
    8·1 answer
  • 11) (10 points) A large valve is to be used to control water supply in large conduits. Model tests are to be done to determine h
    12·1 answer
  • PLEASE HELP 100 POINTS!!! WILL MARK BRAINLIEST
    9·2 answers
  • A subsurface exploration report shows that the average water content of a fine-grained soil in a proposed borrow area is 22% and
    9·1 answer
  • A right triangle has a base of 12 inches and a height of 30 inches, what is the centroid of the triangle?​
    5·1 answer
  • Cual es el costo del kwh
    8·1 answer
  • When did michael faraday invent wind powered electrical generation?
    11·1 answer
  • During delivery of a 2023 ariya equipped with propilot assist 2. 0, what should you point out to your customers about the turn s
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!