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
lions [1.4K]
3 years ago
15

Implement a function with signature transfer(S, T) that transfers all elements from stack S onto stack T, so that the element th

at starts at the top
of S is the first to be inserted onto T, and the element at the bottom of S
ends up at the top of T.
Engineering
1 answer:
dmitriy555 [2]3 years ago
8 0
I’ve took engineering but never learnt this lol
You might be interested in
Which of the following explains the difference between rangeland management specialists and conservation biologists?
tekilochka [14]

Answer:

b

Explanation:

8 0
3 years ago
Read 2 more answers
Air modeled as an ideal gas enters a turbine operating at steady state at 1040 K, 278 kPa and exits at 120 kPa. The mass flow ra
gladu [14]

Answer:

a) T_{2}=837.2K

b) e=91.3 %

Explanation:

A) First, let's write the energy balance:

W=m*(h_{2}-h_{1})\\W=m*Cp*(T_{2}-T_{1})  (The enthalpy of an ideal gas is just function of the temperature, not the pressure).

The Cp of air is: 1.004 \frac{kJ}{kgK} And its specific R constant is 0.287 \frac{kJ}{kgK}.

The only unknown from the energy balance is T_{2}, so it is possible to calculate it. The power must be negative because the work is done by the fluid, so the energy is going out from it.

T_{2}=T_{1}+\frac{W}{mCp}=1040K-\frac{1120kW}{5.5\frac{kg}{s}*1.004\frac{kJ}{kgk}} \\T_{2}=837.2K

B) The isentropic efficiency (e) is defined as:

e=\frac{h_{2}-h_{1}}{h_{2s}-h_{1}}

Where {h_{2s} is the isentropic enthalpy at the exit of the turbine for the isentropic process. The only missing in the last equation is that variable, because h_{2}-h_{1} can be obtained from the energy balance  \frac{W}{m}=h_{2}-h_{1}

h_{2}-h_{1}=\frac{-1120kW}{5.5\frac{kg}{s}}=-203.64\frac{kJ}{kg}

An entropy change for an ideal gas with  constant Cp is given by:

s_{2}-s_{1}=Cpln(\frac{T_{2}}{T_{1}})-Rln(\frac{P_{2}}{P_{1}})

You can review its deduction on van Wylen 6 Edition, section 8.10.

For the isentropic process the equation is:

0=Cpln(\frac{T_{2}}{T_{1}})-Rln(\frac{P_{2}}{P_{1}})\\Rln(\frac{P_{2}}{P_{1}})=Cpln(\frac{T_{2}}{T_{1}})

Applying logarithm properties:

ln((\frac{P_{2}}{P_{1}})^{R} )=ln((\frac{T_{2}}{T_{1}})^{Cp} )\\(\frac{P_{2}}{P_{1}})^{R}=(\frac{T_{2}}{T_{1}})^{Cp}\\(\frac{P_{2}}{P_{1}})^{R/Cp}=(\frac{T_{2}}{T_{1}})\\T_{2}=T_{1}(\frac{P_{2}}{P_{1}})^{R/Cp}

Then,

T_{2}=1040K(\frac{120kPa}{278kPa})^{0.287/1.004}=817.96K

So, now it is possible to calculate h_{2s}-h_{1}:

h_{2s}-h_{1}}=Cp(T_{2s}-T_{1}})=1.004\frac{kJ}{kgK}*(817.96K-1040K)=-222.92\frac{kJ}{kg}

Finally, the efficiency can be calculated:

e=\frac{h_{2}-h_{1}}{h_{2s}-h_{1}}=\frac{-203.64\frac{kJ}{kg}}{-222.92\frac{kJ}{kg}}\\e=0.913=91.3 %

4 0
4 years ago
The ???? − i relationship for an electromagnetic system is given by ???? = 1.2i1/2 g where g is the air-gap length. For current
Artemon [7]

Answer:

a) The mechanical force is -226.2 N

b) Using the coenergy the mechanical force is -226.2 N

Explanation:

a) Energy of the system:

\lambda =\frac{1.2*i^{1/2} }{g} \\i=(\frac{\lambda g}{1.2} )^{2}

\frac{\delta w_{f} }{\delta g} =\frac{g^{2}\lambda ^{3}  }{3*1.2^{2} }

f_{m}=- \frac{\delta w_{f} }{\delta g} =-\frac{g^{2}\lambda ^{3}  }{3*1.2^{2} }

If i = 2A and g = 10 cm

\lambda =\frac{1.2*i^{1/2} }{g} =\frac{1.2*2^{1/2} }{10x10^{-2} } =16.97

f_{m}=-\frac{g^{2}\lambda ^{3}  }{3*1.2^{2} }=-\frac{16.97^{3}*2*0.1 }{3*1.2^{2} } =-226.2N

b) Using the coenergy of the system:

f_{m}=- \frac{\delta w_{f} }{\delta g} =-\frac{1.2*2*i^{3/2}  }{3*g^{2} }=-\frac{1.2*2*2^{3/2} }{3*0.1^{2} } =-226.2N

8 0
3 years ago
Someone make me brainleist please
charle [14.2K]

Answer:

okay will do

Explanation:

7 0
2 years ago
For laminar flow over a hot flat plate, the local heat transfer coefficient decreases with distance because (select all that are
kotegsom [21]

Answer:

B. The thickness of the heated region near the plate is increasing.

Explanation:

First we know that, a boundary layer is the layer of fluid in the immediate vicinity of a bounding surface where the effects of viscosity are significant. The fluid is often slower due to the effects of viscosity. Advection i.e the transfer of heat by the flow of liquid becomes less since the flow is slower, thereby the local heat transfer coefficient decreases.

From law of conduction, we observe that heat transfer rate will decrease based on a smaller rate of temperature, the thickness therefore increases while the local heat transfer coefficient decreases with distance.

3 0
4 years ago
Other questions:
  • A 12-kN tensile load will be applied to a 50-m length of steel wire with E = 200 GPa. Determine the smallest diameter wire that
    6·1 answer
  • The displacement volume of an internal combustion engine is 2.2 liters. The processes within each cylinder of the engine are mod
    13·1 answer
  • Consider a Mach 4.5 airflow at a pressure of 1.25 atm. We want to slow this flow to a subsonic speed through a system of shock w
    15·1 answer
  • A banked highway is designed for traffic moving at v = 88 km/h. The radius of the curve r = 314 m. show answer No Attempt 50% Pa
    5·2 answers
  • How to improve the speed of train passing through turnout​
    9·1 answer
  • How do I replace the aromatic filter?
    6·2 answers
  • When lubricating parts that do not have a grease relief port, inject grease until
    11·1 answer
  • Explain jack plane. please dont copy from go ogle<br>​
    15·2 answers
  • Hi Pls answer
    14·2 answers
  • Heater control valves can not leak coolant<br><br> True <br> False
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!