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
Sirens and flashing lights do NOT indicate that _____ may be nearby.
Naya [18.7K]

Answer:

A safe enveroment.

Explanation:

Sirens usally mean fire or someone died.

3 0
3 years ago
Read 2 more answers
Sometimes we need to create heat, such as in circuit breakers and rear window
Verizon [17]

Answer: True

Explanation:

Circuit breakers are used to stop the current by using heat to detect if it has a critically large current. Defoggers use heat to stop condensation on the windows.

8 0
2 years ago
Read 2 more answers
the voltage across a 5mH inductor is 5[1-exp(-0.5t)]V. Calculate the current through the inductor and the energy stored in the i
Serggg [28]

Given Information:

Inductance = L = 5 mH = 0.005 H

Time = t = 2 seconds

Required Information:

Current at t = 2 seconds = i(t) = ?

Energy at t = 2 seconds = W = ?

Answer:

Current at t = 2 seconds = i(t) = 735.75 A

Energy at t = 2 seconds = W = 1353.32 J

Explanation:

The voltage across an inductor is given as

V(t) = 5(1-e^{-0.5t})

The current flowing through the inductor is given by

i(t) = \frac{1}{L} \int_0^t \mathrm{V(t)}\,\mathrm{d}t \,+ i(0)

Where L is the inductance and i(0) is the initial current in the inductor which we will assume to be zero since it is not given.

i(t) = \frac{1}{0.005} \int_0^t \mathrm{5(1-e^{-0.5t}}) \,\mathrm{d}t \,+ 0\\\\i(t) = 200 \int_0^t \mathrm{5(1-e^{-0.5t}}) \,\mathrm{d}t \\\\i(t) = 200 \: [ {5\: (t + \frac{e^{-0.5t}}{0.5})]_0^t \\i(t) = 200\times5\: \: [ { (t + 2e^{-0.5t} + 2 )] \\

i(t) = 1000t +2000e^{-0.5t} -2000\\

So the current at t = 2 seconds is

i(t) = 1000(2) +2000e^{-0.5(2)} -2000\\\\i(t) = 735.75 \: A

The energy stored in the inductor at t = 2 seconds is

W = \frac{1}{2}Li(t)^{2}\\\\W = \frac{1}{2}0.005(735.75)^{2}\\\\W = 1353.32 \:J

4 0
2 years ago
What Is Photosynthesis ?​
Fynjy0 [20]

Answer:

Photosynthesis is a process used by plants and other organisms to convert light energy into chemical energy that, through cellular respiration, can later be released to fuel the organism's activities.

6 0
2 years ago
Read 2 more answers
1.The moist unit weights and degrees of saturation of a soil are given: moist unit weight (1) = 16.62 kN/m^3, degree of saturati
alexandr1967 [171]

Answer:

Gs = 2.647

e = 0.7986

Explanation:

We know that moist unit weight of soil is given as

\gamma_m \ or\ bulk\ density = \frac{(Gs+Se)\times \gamma_w}{(1+e)}

where,  \gamma_m = moist unit weight of the soil

Gs = specific gravity of the soil

S = degree of saturation

e = void ratio

\gamma_w = unit weight of water = 9.81 kN/m3

From data given we know that:

At 50% saturation,\gamma_m = 16.62 kN/m3

puttng all value to get Gs value;

16.62= \frac{(Gs+0.5*e)\timees 9.81}{(1+e)}

Gs - 1.194*e = 1.694 .........(1)

for saturaion 75%, unit weight = 17.71 KN/m3

17.71 = \frac{(Gs+0.75*e)\times 9.81}{(1+e)}

Gs - 1.055*e = 1.805 .........(2)

solving both  equations (1) and (2), we obtained;

Gs = 2.647

e = 0.7986

6 0
3 years ago
Other questions:
  • A bar of steel has the minimum properties Se = 40 kpsi, Sy = 60 kpsi, and Sut = 80 kpsi. The bar is subjected to a steady torsio
    7·1 answer
  • Refrigerant-134a enters a diffuser steadily as saturated vapor at 600 kPa with a velocity of 160 m/s, and it leaves at 700 kPa a
    10·2 answers
  • I need answers for this sheet please.
    15·1 answer
  • Assume the triac of an AC discrete output module fails in the shorted state. How would this affect the device connected to this
    5·1 answer
  • Hello how are you all bye everyone have a great day ahead​
    8·2 answers
  • Select the correct answer <br><br> What is the simplest definition of a manufacturing process?
    5·2 answers
  • QUESTION<br> Which of the following would assembler do an ideal automated assembly line?
    8·1 answer
  • 3. What is special about beryllium-copper alloy tools?
    6·2 answers
  • Tech A says that it is best to use a knife or other type of sharp tool to cut away the insulation when
    7·1 answer
  • The forklift exiting an aisle in a warehouse has the right of way?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!