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
koban [17]
4 years ago
15

Write a C program that asks the user to enter two numbers, obtains the two numbers from the user and prints the sum, product, di

fference, and quotient of the two numbers.

Engineering
1 answer:
Bogdan [553]4 years ago
8 0

Answer:

View Image

Explanation:

Initialize your variable as a float or double since you're going to be using fractions in your answer.

User scanf() to get user input.

Print out the sum, product, quotient, and difference between the two numbers.

You might be interested in
Technician a says that if a tapered roller bearing is adjusted to loose
Effectus [21]
The technician is true
5 0
3 years ago
Scanning the road can be thought of as
maw [93]

Answer:

Observational Skills

Explanation:

Observing the area also known as scanning the scene

5 0
3 years ago
Read 2 more answers
A steam power plant operates on an ideal reheat- regenerative Rankine cycle and has a net power output of 80 MW. Steam enters th
trasher [3.6K]

Answer:

flow(m) = 54.45 kg/s

thermal efficiency u = 44.48%

Explanation:

Given:

- P_1 = P_8 = 10 KPa

- P_2 = P_3 = P_6 = P_7 = 800 KPa

- P_4 = P_5 = 10,000 KPa

- T_5 = 550 C

- T_7 = 500 C

- Power Output P = 80 MW

Find:

-  The mass flow rate of steam through the boiler

-  The thermal efficiency of the cycle.

Solution:

State 1:

P_1 = 10 KPa , saturated liquid

h_1 = 192 KJ/kg

v_1 = 0.00101 m^3 / kg

State 2:

P_2 = 800 KPa , constant volume process work done:

h_2 = h_1 + v_1 * ( P_2 - P_1)

h_2 = 192 + 0.00101*(790) = 192.80 KJ/kg

State 3:

P_3 = 800 KPa , saturated liquid

h_3 = 721 KJ/kg

v_3 = 0.00111 m^3 / kg

State 4:

P_4 = 10,000 KPa , constant volume process work done:

h_4 = h_3 + v_3 * ( P_4 - P_3)

h_4 = 721 + 0.00111*(9200) = 731.21 KJ/kg

State 5:

P_5 = 10,000 KPa , T_5 = 550 C

h_5 = 3500 KJ/kg

s_5 = 6.760 KJ/kgK

State 6:

P_6 = 800 KPa , s_5 = s_6 = 6.760 KJ/kgK

h_6 = 2810 KJ/kg

State 7:

P_7 = 800 KPa , T_7 = 500 C

h_7 = 3480 KJ/kg

s_7 = 7.870 KJ/kgK

State 8:

P_8 = 10 KPa , s_8 = s_7 = 7.870 KJ/kgK

h_8 = 2490 KJ/kg

- Fraction of steam y = flow(m_6 / m_3).

- Use energy balance of steam bleed and cold feed-water:

                                        E_6 + E_2 = E_3

               flow(m_6)*h_6 + flow(m_2)*h_3 = flow(m_3)*h_3

                                    y*h_6 + (1-y)*h_3 = h_3

                                  y*2810 + (1-y)*192.8 = 721

Compute y:                          y = 0.2018

- Heat produced by the boiler q_b:

                             q_b = h_5 - h_4 +(1-y)*(h_7 - h_8)

                    q_b = 3500 -731.21 + ( 1 - 0.2018)*(3480 - 2810)

Compute q_b:               q_b = 3303.58 KJ/ kg

-Heat dissipated by the condenser q_c:

                                       q_c = (1-y)*(h_8 - h_1)

                                 q_c= ( 1 + 0.2018)*(2810 - 192)

Compute q_c:               q_c = 1834.26 KJ/ kg

- Net power output w_net:

                                     w_net = q_b - q_c

                                w_net = 3303.58 - 1834.26

                                    w_net = 1469.32 KJ/kg

- Given out put P = 80,000 KW

                                     flow(m) = P / w_net

compute flow(m)          flow(m) = 80,000 /1469.32 = 54.45 kg/s

- Thermal efficiency u:

                                     u = 1 - (q_c / q_b)

                                     u = 1 - (1834.26/3303.58)

                                     u = 44.48 %

5 0
3 years ago
A stomp rocket is a toy consisting of a hose connected to a blast pad (i.e., an air bladder) at one end and to a short pipe moun
lesya [120]

Answer:

Explanation:

The detailed steps is as shown in the attachment.

8 0
3 years ago
A person holds her hand out of an open car window while the car drives through still air at 65 mph. Under standard atmospheric c
Paraphin [41]

Answer:

10.8\ \text{lb/ft^2}

101.96\ \text{lb/ft}^2

Explanation:

v_1 = Velocity of car = 65 mph = 65\times \dfrac{5280}{3600}=95.33\ \text{ft/s}

\rho = Density of air = 0.00237\ \text{slug/ft}^3

v_2=0

P_1=0

h_1=h_2

From Bernoulli's law we have

P_1+\dfrac{1}{2}\rho v_1^2+h_1=P_2+\dfrac{1}{2}\rho v_2^2+h_2\\\Rightarrow P_2=\dfrac{1}{2}\rho v_1^2\\\Rightarrow P_2=\dfrac{1}{2}\times 0.00237\times 95.33^2\\\Rightarrow P_2=10.8\ \text{lb/ft^2}

The maximum pressure on the girl's hand is 10.8\ \text{lb/ft^2}

Now v_1 = 200 mph = 200\times \dfrac{5280}{3600}=293.33\ \text{ft/s}

P_2=\dfrac{1}{2}\rho v_1^2\\\Rightarrow P_2=\dfrac{1}{2}\times 0.00237\times 293.33^2\\\Rightarrow P_2=101.96\ \text{lb/ft}^2

The maximum pressure on the girl's hand is 101.96\ \text{lb/ft}^2

5 0
3 years ago
Other questions:
  • 3. When starting an automatic transmission
    6·1 answer
  • The yield strength of mild steel is 150 MPa for an average grain diameter of 0.038 mm ; yield strength is 250 MPa for average gr
    15·1 answer
  • Since the passing of the Utah GDL laws in 1999:
    10·1 answer
  • A force of 16,000 will cause a 1 1 bar of magnesium to stretch from 10 to 10.036 . Calculate the modulus of elasticity in . (Ent
    6·1 answer
  • A 25 lb sacrificial Mg anode is attached to the steel hull of a container ship. If the anode completely corrodes within 3 months
    10·1 answer
  • This question is 100 points<br> I NEED HELP!!!
    15·2 answers
  • Examples of reciprocating motion in daily life
    14·1 answer
  • Witch measuring tool would be used to determine the diameter of a crankshaft journal
    5·1 answer
  • What is 39483048^349374*3948048/3i4u4
    15·1 answer
  • What are the materials and tools used to build a headgear?​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!