Write a program to calculate the energy needed to heat a pot roast from an initial temperature to 160 degrees Fahrenheit. Your program should ask the user for both the weight of the pot roast and its initial temperature in degrees Fahrenheit. To compute the required energy, Q, use the following formula:
Q = W x (Tfinal– Tstart) x 4184, where
W is the weight of the roast in kilograms, Tfinaland Tstartare temperatures measured in Celsius, and Q is measured in joules.
Since the formula assumes that temperatures are measured in Celsius and the user supplies them in Fahrenheit, your program must make the conversion described.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here