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
Free random points because im bored
tamaranim1 [39]

Answer:

thx for points B)

Explanation:

8 0
3 years ago
Read 2 more answers
Explain all the characteristics of computer<br>​
Sedaia [141]
They are as follows-

Speed
Accuracy
Storage
Versatility
Diligence
Automation
Reliability
Power of Remembering

Let us understand each characteristic in brief:-

Speed – Speed of a computer means the time it takes to complete any given task. The computer works at a very lightning speed. For example, a computer takes a second to calculate 3 million calculations rather than a human which takes years. Hence nowadays the speed of the computer is measured in terms of microseconds, Nanoseconds, and even in Pico seconds instead of seconds or milliseconds.


Accuracy – The computers are programmed and designed in such a manner that their results are almost 100% accurate. It performs all the tasks with the same accuracy. There are very few chances of uncertainty in results and even though an error occurs, it can happen either due to wrong input data or unreliable programs by a programmer. Such errors are referred to as Garbage In Garbage Out (GIGO) which means, if you provide wrong instructions to the computer then you get wrong results.


Versatility – Along with being accurate and diligent a computer is also a versatile device. It can perform several types of tasks at a time if they are reduced to a certain set of logical steps. A computer can be used for many purposes at different places such as booking air and rail tickets, weather forecasting, listening to music, and playing games. Also at a time, one can pay his utility bills and can make a monthly budget too. It can prepare documents, data sheets and also can make models of houses, dams, etc.
Diligence – The ability of a computer to perform tasks without getting tired is known as diligence. Computers are highly reliable, they do not get fed up, exhausted, or lack concentration. They can work for hours and hours unlike humans and can give accurate or error-free results. For example, humans will start feeling tired after 2 -3 hours and will lack concentration whereas a computer will keep on working until the results are achieved.
Automation – Automation means working automatically. A computer can work on its own without the intervention of the person using it. Programs can be made for the computer to perform the task and based on the sequence it executes the tasks and gives accurate results. In case an error occurs, it gives error messages too and registers the logs.
Reliability – High reliability of a computer depends on low failure rate and easy maintenance. The results given out by the computer are reliable as the accuracy is almost 100%.
Power of Remembering – The computer has the power of storing data or information for several years. It cannot lose the data on its own. A person can retrieve the data whenever required and the data remains the same after a number of years also. It gives the freedom to the user to decide on how much data to store and how much to remove.
5 0
3 years ago
For some metal alloy it is known that the kinetics of recrystallization obey the Avrami equation, and that the value of k in the
JulsSmile [24]

Answer:

t = 1456.8 sec

Explanation:

given data:

contant k = 2.60*10^{-6}

rate of crystallization is 0.0013 s-1

rate of transformation is given by

r = \frac{1}{t_0.5}

use specifies value to solve t_0.5

it is ime required for 50% tranformation

r = \frac{1}{.0013}=769.2 sec

Avrami equation is given by

y = 1 - e^{-kt^n}

0.5 = 1 - e^{-kt_0.5^n}

1-0.5 = e^{-kt_0.5^n}

ln (1 - 0.5) = -kt_0.5^n

ln \frac{ln (1 - 0.5)}{-k} = nln t_0.5

n = \frac{ ln \frac{ln (1 - 0.5)}{-k}}{ln t_0.5}

n = \frac{ ln \frac{ln (1 - 0.5)}{-2.60*10^{-6}}}{ln 769.2}

n = 1.88

second degree of recrystalization may be determine by rearranging original avrami equation

t = [\frac{-ln(1-y)}{k}]^{1/n}

for 90%completion

t = [\frac{-ln(1-0.9)}{2.60*10^{-6}}]^{1/1.88}

t = 1456.8 sec

5 0
3 years ago
If a construction company is considering a new type of material to use in their construction, which factors would they
Amanda [17]

I would honestly select every one of the given options. Gor a company evaluating this new material it would be very valuable to hit each of these factors.

4 0
3 years ago
A layer of viscous fluid of constant thickness (no velocity perpenducilar to plate) flows steadily down an infinite, inclined pl
mixer [17]

Answer:

q = (ρg/μ)(sin θ)(h³/3)

Explanation:

I've attached an image of a figure showing the coordinate system.

In this system: the velocity components v and w are equal to zero.

From continuity equation, we know that δu/δx = 0

Now,from the x-component of the navier stokes equation, we have;

-δp/δx + ρg(sin θ) + μ(δ²u/δy²) = 0 - - - - - (eq1)

Due to the fact that we have a free surface, it means we will not have a pressure gradient in the x-component and so δp/δx = 0

Then our eq 1 is now;

ρg(sin θ) + μ(δ²u/δy²) = 0

μ(δ²u/δy²) = -ρg(sin θ)

Divide both sides by μ to get;

(δ²u/δy²) = -(ρg/μ)(sin θ)

Integrating both sides gives;

δu/δy = -(ρg/μ)(sin θ)y + b1 - - - - (eq2)

Now, the shear stress is given by the formula;

τ_yx = μ[δu/δy + δv/δx]

From the diagram, at the free surface,τ_yx = 0 and y = h

This means that δu/δy = 0

Thus, putting 0 for δu/δy in eq 2, we have;

0 = -(ρg/μ)(sin θ)h + b1

b1 = h(ρg/μ)(sin θ)

So, eq 2 is now;

δu/δy = -(ρg/μ)(sin θ)y + h(ρg/μ)(sin θ)

Integrating both sides gives;

u = -[(y²/2) × (ρg/μ)(sin θ)] + h(ρg/μ)(sin θ)y + b2 - - - eq3

Because u = 0 when y = 0, it means that b2 = 0 also because when we plug 0 for u and y into eq3, we will get b2 = 0.

Thus, we now have:

u = -[(y²/2) × (ρg/μ)(sin θ)] + h(ρg/μ)(sin θ)y

Factorizing like terms, we have;

u = (ρg/μ)(sin θ)[hy - y²/2] - - - (eq 4)

The flow rate per unit width is gotten by Integrating eq 4 between the boundaries of h and 0 to give;

∫u = (h,0)∫(ρg/μ)(sin θ)[hy - y²/2]

q = (ρg/μ)(sin θ)[hy²/2 - y³/6] between h and 0

q = (ρg/μ)(sin θ)[h³/2 - h³/6]

q = (ρg/μ)(sin θ)(h³/3)

7 0
3 years ago
Other questions:
  • Write the following decorators and apply them to a single function (applying multiple decorators to a single function): 1. The f
    15·1 answer
  • What are the weight restrictions for a small UAS, including everything onboard at the time
    12·1 answer
  • when a metal, such as lead, is oxidied (loses electrons) to form a positive ion (cation), how does he solubility change?
    14·1 answer
  • Air-conditioners consume a significant amount of electrical energy in buildings. Split air conditioner is a unitary system where
    5·1 answer
  • Convert 25 mm into in.
    13·1 answer
  • What could happen in the aviation
    5·1 answer
  • Create a Relational Schema for the following scenario. Include all primary and foreign keys and list any assumptions you make. 
    15·1 answer
  • Helium gas expands in a piston-cylinder in a polytropic process with n=1.67. Is the work positive, negative or zero?
    8·1 answer
  • Sirens and flashing lights do NOT indicate that _____ may be nearby.
    7·2 answers
  • Which system provides an easier way for people to communicate with a computer than a graphical user interface (GUI)?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!