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
Rudiy27
2 years ago
15

Task Three :Write a C++ program to read temperature

Engineering
1 answer:
leva [86]2 years ago
3 0

Answer:

Write a program in C++ to convert temperature in Fahrenheit to Celsius.

Sample Solution:

C++ Code :

#include <iostream>

using namespace std;

int main()

{

   float frh, cel;

cout << "\n\n Convert temperature in Fahrenheit to Celsius :\n";

cout << "---------------------------------------------------\n";

   cout << " Input the temperature in Fahrenheit : ";

   cin >> frh;

   cel = ((frh * 5.0)-(5.0 * 32))/9;

   cout << " The temperature in Fahrenheit : " << frh << endl;

   cout << " The temperature in Celsius : " << cel << endl;

cout << endl;

   return 0;

Explanation:

You might be interested in
The host at the end of the video claims that ___________ is crucial to his success as a driver. A. Reaction time B. A safe space
Snezhnost [94]

Answer:

answer is C. his seat belt

5 0
2 years ago
we wish to send at a rate of 10Mbits/s over a passband channel. Assuming that an excess bandwidth of 50% is used, how much bandw
gayaneshka [121]

Answer:

QPSK: 7.5 MHz

64-QAM:2.5 MHz

64-Walsh-Hadamard: 160 MHz

Explanation:

See attached picture.

6 0
3 years ago
HOW TO CALCULATE MARGINAL RATE
Basile [38]

Answer:

Divide the difference in tax by the amount of income from the investment, and you'll get the economic marginal tax rate from investing. Most people refer to marginal tax rates as being identical to tax brackets.

hope this helps

have a good day :)

Explanation:

8 0
2 years ago
g If the rails are originally laid in contact, what is the stress in them on a summer day when their temperature is 31.0
Anettt [7]

A) The amount of space must be left between adjacent rails if they are just to touch on a summer day when their temperature is 31.0 °C is; 0.6048 cm

B) The stress in the rails on a summer day when their temperature is 31.0 °C is; 86.4 × 10⁶ Pa

<h3>Linear Thermal Expansion</h3>

We are given;

Length; L = 14 m

Initial Temperature; T_i = −5 °C

Final Temperature; T_f = 31 °C

The formula for Linear Thermal Expansion is;

ΔL = L_i * α * ΔT

where;

L_i is initial length

α is thermal expansion

ΔL is change in length

ΔT is change in temperature

Now, the thermal expansion of steel from online tables is α = 1.2 × 10⁻⁵ C⁻¹

Thus;

ΔL = 14 * 1.2 × 10⁻⁵  * (31 - (-5))

ΔL = 6.048 × 10⁻³ m = 0.6048 cm

The formula to get the stress is;

σ = Y * α  * ΔT

where;

Y is young's modulus of steel = 20 × 10¹⁰ Pa

α is thermal expansion

ΔT is change in temperature

Thus;

σ = 20 × 10¹⁰ × 1.2 × 10⁻⁵ × (31 - (-5))

σ = 86.4 × 10⁶ Pa

The complete question is;

Steel train rails are laid in 14.0-m long segments placed end to end. The rails are laid on a winter day when their temperature is −5 °C.

(a) How much space must be left between adjacent rails if they are just to touch on a summer day when their temperature is 31.0 °C?

(b) If the rails are originally laid in contact, what is the stress in them on a summer day when their temperature is 31.0 °C?

Read more about Linear Thermal Expansion at; brainly.com/question/6985348

4 0
2 years ago
The local atmospheric pressure is measured with a water barometer. If the water column is measured to be 30 ft, what is the atmo
ella [17]

Answer:

The atmospheric pressure in atm=0.885 atm

Explanation:

Given that

Local pressure (h)= 30 ft of water height     ( 1 ft= 0.3048 m)

We know that pressure in given by

  P=ρgh

We know that ρ of water is 1000\dfrac{kg}{m^3}

So pressure

P=1000(9.81)(9.144)

P=89.7026 \dfrac{N}{m^2}

We know that 1000 Pa=0.00986 atm

So P=0.885 atm

The atmospheric pressure in atm=0.885 atm

8 0
2 years ago
Other questions:
  • Suppose you are designing a sliding window protocol for a 1 Mbps point-to-point link to the moon, which has a one-way latency of
    10·1 answer
  • The following liquids are stored in a storage vessel at 1 atm and 25°C. The vessels are vented with air. Determine whether the e
    5·1 answer
  • IN JAVA,
    6·1 answer
  • Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x be the weight of the car (in hundreds of poun
    9·1 answer
  • An automobile engine consumes fuel at a rate of 22 L/h and delivers 85 kW of power to the wheels. If the fuel has a heating valu
    8·2 answers
  • To do you blur text in google docs
    10·1 answer
  • PLEASE HELPPPPPPP!!!!,
    10·2 answers
  • 9. A piece of Cherry wood is 5/4 x 4" X 4'<br> What is the length in inches?
    10·1 answer
  • who wants points for now work just put any answer who wants points for now work just put any answer who wants points for now wor
    5·1 answer
  • Pipelines are a useful means of transporting oil because they: Multiple select question. are fast never fail to deliver are chea
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!