Question: 2.10 (Science: calculating energy) Write a program that calculates the energy to heat water from an initial temperature to a final temperature. Your program should

 2.10 (Science: calculating energy) Write a program that calculates the energy

2.10 (Science: calculating energy) Write a program that calculates the energy to heat water from an initial temperature to a final temperature. Your program should prompt the user to enter the amount of water in kilograms and the initial and final temperatures of the water. The formula to compute the energy is needed Q-M (final Temperature initialTemperature) 4184 where M is the weight of water in kilograms, temperatures are in degros Celsius, and energy Q is measured in joules. Here is a sample run Enter the amount of water in kilograms: 555 Enter the initial temperature: 3 Enter the final tenperature: 10.5 The energy needed is 1625484.0

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!