Question: Write a program that estimates the temperature in a freezer (in degrees C) given the elapsed time (hours) since a power failure. Assume this temperature

Write a program that estimates the temperature in a freezer (in degrees C) given the

elapsed time (hours) since a power failure. Assume this temperature (T) is given by

t=23-((82)/(t^2-3t^2+2))

where t is the time since the power failure (in hours). Your program should prompt the user to enter how long it has been since the power failure in hours and minutes. Note that you will have to convert the elapsed time into hours. Your program should interact with the user in exactly this manner:

Enter time in hours and minutes=> 2 45 The elapsed time is 2.75 hours. The temperature is 18.40 degrees C.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!