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
kirill115 [55]
3 years ago
14

Write Python expressions using s1, s2, and s3 and operators and * that evaluate to: (a) 'ant bat cod'

Engineering
1 answer:
jenyasd209 [6]3 years ago
5 0

Given that the correct question is

Write Python expressions using s1, s2, and s3 and operators + and * that evaluate to: (a) 'ant bat cod'

Answer:

s1 = 'ant'

s2 ='bat'

s3 ='cod'

#using string concatenation

s4 = s1 + ' ' + s2 +  ' ' +s3

print(s4)

You might be interested in
The hot and cold inlet temperatures to a concentric tube heat exchanger are Th,i = 200°C, Tc,i = 100°C, respectively. The outlet
alexgriva [62]

Answer:Counter,

0.799,

1.921

Explanation:

Given data

T_{h_i}=200^{\circ}C

T_{h_o}=120^{\circ}C

T_{c_i}=100^{\circ}C

T_{c_o}=125^{\circ}C

Since outlet temperature of cold liquid is greater than hot fluid outlet temperature therefore it is counter flow heat exchanger

Equating Heat exchange

m_hc_{ph}\left [ T_{h_i}-T_{h_o}\right ]=m_cc_{pc}\left [ T_{c_o}-T_{c_i}\right ]

\frac{m_hc_{ph}}{m_cc_{pc}}=\frac{125-100}{200-120}=\frac{25}{80}=C\left ( capacity rate ratio\right )

we can see that heat capacity of hot fluid is minimum

Also from energy balance

Q=UA\Delta T_m=\left ( mc_p\right )_{h}\left ( T_{h_i}-T_{h_o}\right )

NTU=\frac{UA}{\left ( mc_p\right )_{h}}=\frac{\left ( T_{h_i}-T_{h_o}\right )}{T_m}

T_m=\frac{\left ( 200-125\right )-\left ( 120-100\right )}{\ln \frac{75}{20}}

T_m=41.63^{\circ}C

NTU=1.921

And\ effectiveness \epsilon =\frac{1-exp\left ( -NTU\left ( 1-c\right )\right )}{1-c\left ( -NTU\left ( 1-c\right )\right )}

\epsilon =\frac{1-exp\left ( -1.921\left ( 1-0.3125\right )\right )}{1-0.3125exp\left ( -1.921\left ( 1-0.3125\right )\right )}

\epsilon =\frac{1-exp\left ( -1.32068\right )}{1-0.3125exp\left ( -1.32068\right )}

\epsilon =\frac{1-0.2669}{1-0.0834}

\epsilon =0.799

5 0
4 years ago
Steam enters a turbine steadily at 7 MPa and 600°C with a velocity of 60 m/s and leaves at 25 kPa with a quality of 95 percent.
Rufina [12.5K]

Answer:

a) \dot m = 16.168\,\frac{kg}{s}, b) v_{out} = 680.590\,\frac{m}{s}, c) \dot W_{out} = 18276.307\,kW

Explanation:

A turbine is a steady-state devices which transforms fluid energy into mechanical energy and is modelled after the Principle of Mass Conservation and First Law of Thermodynamics, whose expressions are described hereafter:

Mass Balance

\frac{v_{in}\cdot A_{in}}{\nu_{in}} - \frac{v_{out}\cdot A_{out}}{\nu_{out}} = 0

Energy Balance

-q_{loss} - w_{out} + h_{in} - h_{out} = 0

Specific volumes and enthalpies are obtained from property tables for steam:

Inlet (Superheated Steam)

\nu_{in} = 0.055665\,\frac{m^{3}}{kg}

h_{in} = 3650.6\,\frac{kJ}{kg}

Outlet (Liquid-Vapor Mix)

\nu_{out} = 5.89328\,\frac{m^{3}}{kg}

h_{out} = 2500.2\,\frac{kJ}{kg}

a) The mass flow rate of the steam is:

\dot m = \frac{v_{in}\cdot A_{in}}{\nu_{in}}

\dot m = \frac{\left(60\,\frac{m}{s} \right)\cdot (0.015\,m^{2})}{0.055665\,\frac{m^{3}}{kg} }

\dot m = 16.168\,\frac{kg}{s}

b) The exit velocity of steam is:

\dot m = \frac{v_{out}\cdot A_{out}}{\nu_{out}}

v_{out} = \frac{\dot m \cdot \nu_{out}}{A_{out}}

v_{out} = \frac{\left(16.168\,\frac{kg}{s} \right)\cdot \left(5.89328\,\frac{m^{3}}{kg} \right)}{0.14\,m^{2}}

v_{out} = 680.590\,\frac{m}{s}

c) The power output of the steam turbine is:

\dot W_{out} = \dot m \cdot (-q_{loss} + h_{in}-h_{out})

\dot W_{out} = \left(16.168\,\frac{kg}{s} \right)\cdot \left(-20\,\frac{kJ}{kg} + 3650.6\,\frac{kJ}{kg} - 2500.2\,\frac{kJ}{kg}\right)

\dot W_{out} = 18276.307\,kW

6 0
3 years ago
A beam has a rectangular cross section that is 5 inches wide and 1.5 inches tall. The supports are 60 inches apart and with a 12
nydimaria [60]

Answer:

The value of Modulus of elasticity E = 85.33 × 10^{6} \frac{lbm}{in^{2} }

Beam deflection is = 0.15 in

Explanation:

Given data

width = 5 in

Length = 60 in

Mass of the person = 125 lb

Load = 125 × 32 = 4000\frac{ft lbm}{s^{2} }

We know that moment of inertia is given as

I = \frac{bt^{3} }{12}

I = \frac{5 (1.5^{3} )}{12}

I = 1.40625 in^{4}

Deflection = 0.15 in

We know that deflection of the beam in this case is given as

Δ = \frac{PL^{3} }{48EI}

0.15 = \frac{4000(60)^{3} }{48 E (1.40625)}

E = 85.33 × 10^{6} \frac{lbm}{in^{2} }

This is the value of Modulus of elasticity.

Beam deflection is = 0.15 in

6 0
3 years ago
A hypereutectoid steel often presents hard and brittle cementite along the grain boundaries of pearlite. Which of the following
Anvisha [2.4K]

Answer:

(d) Spheroidizing

Explanation:

Spheroidizing

 This is the heat treatment process for steel which having carbon percentage more than 0.8 %.As we know that a hard and brittle material is having carbon percentage more than 0.8 %.That is why this process is suitable for the hard materials.

In this process a hard and brittle materials convert into soft and ductile after this it improve the machine ability as well as improve the tool life.

In this process grain become spheroidal and these grains are ductile.

6 0
3 years ago
15
AveGali [126]

Answer:

b

Explanation:

4 0
3 years ago
Other questions:
  • A turbine operates at steady state, and experiences a heat loss. 1.1 kg/s of water flows through the system. The inlet is mainta
    6·1 answer
  • Rain falls on a 1346 acre urban watershed at an intensity of 1.75 in/hr for a duration of 1 hour. The catchment land use is 20%
    10·1 answer
  • The electricity generated by wind turbines annually in kilowatt-hours per year is given in a file. The amount of electricity is
    5·2 answers
  • The link acts as part of the elevator control for a small airplane. If the attached aluminum tube has an inner diameter of 25 mm
    14·1 answer
  • Air at atmospheric pressure and at 300K flows with a velocity of 1.5m/s over a flat plate. The transition from laminar to turbul
    13·1 answer
  • A hawser is wrapped two full turns around a bollard. By exerting an 80-lb force on the free end of the hawser, a dockworker can
    6·1 answer
  • Lets try to get to 100 sub before charismas day <br> Jordan Gracia 32 sub and 5 videos
    13·2 answers
  • 2. The speaker argues that more data allow us to see new things. Think about your favorite hobby—skateboarding, listening to mus
    8·2 answers
  • 3. If nothing can ever be at absolute zero, why does the concept exist?
    8·1 answer
  • Why is California a good place for engineers to build suspension bridges?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!