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]
3 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]3 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
In a tensile test on a steel specimen, true strain is 0.171 at a stress of 263.8 MPa. When true stress is 346.2 MPa, true strain
swat32

Answer:n=0.973

Explanation:

Given

When True strain\left ( \epsilon _T_1\right )=0.171

at \sigma _1=263.8 MPa

When True stress\left ( \sigma _2\right )=346.2 MPa

true strain \left ( \epsilon _T_2\right )=0.226

We know

\sigma =k\epsilon ^n

where \sigma=True stress

\epsilon=true strain

n=strain hardening exponent

k=constant

Substituting value

263.8=k\left ( 0.171\right )^n------1

346.2=k\left ( 0.226\right )^n-----2

Divide 1 & 2 to get

\frac{346.2}{263.8}=\left ( \frac{0.226}{0.171}\right )^n

1.312=\left ( 1.3216\right )^n

Taking Log both side

ln\left ( 1.312\right )=nln\left ( 1.3216\right )

n=0.973

6 0
3 years ago
To reduce the drag coefficient and thus improve the fuel efficiency of cars,the design of side rearview mirrors has changed dram
marissa [1.9K]

Answer:

Amount of fuel used per year is supposed to be 34150 KJ/kg

4 0
3 years ago
Water flows through a converging pipe at a mass flow rate of 25 kg/s. If the inside diameter of the pipes sections are 7.0 cm an
ser-zykov [4K]

Answer:

volumetric flow rate = 0.0251 m^3/s

Velocity in pipe section 1 = 6.513m/s

velocity in pipe section 2 = 12.79 m/s

Explanation:

We can obtain the volume flow rate from the mass flow rate by utilizing the fact that the fluid has the same density when measuring the mass flow rate and the volumetric flow rates.

The density of water is = 997 kg/m³

density = mass/ volume

since we are given the mass, therefore, the  volume will be mass/density

25/997 = 0.0251 m^3/s

volumetric flow rate = 0.0251 m^3/s

Average velocity calculations:

<em>Pipe section A:</em>

cross-sectional area =

\pi \times d^2\\=\pi \times 0.07^2 = 3.85\times10^{-3}m^2

mass flow rate = density X cross-sectional area X velocity

velocity = mass flow rate /(density X cross-sectional area)

velocity = 25/(997 \times 3.85\times10^{-3}) = 6.513m/s

<em>Pipe section B:</em>

cross-sectional area =

\pi \times d^2\\=\pi \times 0.05^2= 1.96\times10^{-3}m^2

mass flow rate = density X cross-sectional area X velocity

velocity = mass flow rate /(density X cross-sectional area)

velocity = 25/(997 \times 1.96\times10^{-3}) = 12.79m/s

7 0
3 years ago
A fuel cell vehicle draws 50 kW of power at 70 mph and is 40% efficient at rated power. You are asked to size the fuel cell syst
svetoff [14.1K]

Answer:

  a) fuel cell weight and volume: 50 kg, 33.3 L

  b) fuel tank weight and volume: 321 kg, 643 L

Explanation:

<u>Fuel Cell</u>

Delivery of 50 kW from a source with a power density of 1.5 kW/L requires a source that has a volume of ...

  (50 kW)/(1.5 kW/L) = 33.3 L

The weight of the power source is 1 kW/kg, so will be ...

  (50 kW)/(1 kW/kg) = 50 kg

__

<u>Fuel Tank</u>

400 miles at 70 mph will take (400/70) h ≈ 5.71429 h. In that time, the energy used by the vehicle power plant is ...

  (50 kW)(5.71429 h)(3600 s/h) = 1028.57 MJ

Since the power plant is 40% efficient, it must be supplied with 2.5 times that amount of energy, or 2571.43 MJ.

The tank volume and mass will then be ...

  volume = 2571.43 MJ/(4 MJ/L) = 642.9 L

  mass = 2571.43 MJ/(8 MJ/L) = 321.4 kg

_____

<em>Comment on fuel tank volume</em>

It appears the fuel tank would need to be equivalent in size to a sphere about 1.1 m in diameter.

4 0
3 years ago
An old refrigerator consumes 247 W of power. Assuming that the refrigerator operates for 19 hours everyday, what is the annual o
german

Answer:

The annual operating cost of the refrigerator is $102.78.

Explanation:

Power consumed by the refrigerator = 247 W = 247/1000 = 0.247 kW

Daily operation of the refrigerator = 19 hours

Annual operation of the refrigerator = 365 × 19 = 6,935 hours

Annual energy consumed = 0.247 kW × 6,935 hours = 1712.945 kWh

1 kWh of electricity cost $0.06

1712.945 kWh will cost 1712.945 × $0.06 = $102.78

Annual operating cost = $102.78

6 0
3 years ago
Read 2 more answers
Other questions:
  • The pressure ratio of gas turbine power plant cycle, operating with air, corresponding to maximum work for a given temperature l
    14·1 answer
  • 4.
    6·2 answers
  • Psychologist who uses behavioral approach to therapy would probably try which of the following
    13·2 answers
  • Consider a 1000-W iron whose base plate is made of 0.5-cm-thick aluminum alloy 2024-T6 (rho = 2770 kg/m3 and cp = 875 J/kg·°C).
    12·1 answer
  • Consider laminar, fully developed flow in a channel of constant surface temperature Ts. For a given mass flow rate and channel l
    15·1 answer
  • What are the four basic parts of process plan
    11·1 answer
  • PLEASE HELP ME RIGHT NOW!!
    11·1 answer
  • You filled a balloon that has a volume of 45 cm3 with helium gas. What is the volume of the helium gas?
    13·1 answer
  • The current at resonance in a series L-C-R circuit is 0.2mA. If the applied voltage is 250mV at a frequency of 100 kHz and the c
    9·1 answer
  • Why might many general contractors begin their careers as construction workers?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!