blob: 71cefee96e3f53261a74f1d2f67de76f5189e0e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
////Variable Declaration Part d
m = 1.5
dT = 14.2 //Change in temperature of water, °C or K
cp = 4.18 //Specific heat of water at constant pressure, J/(g.K)
//Calculations
qp = m*cp*dT
//Results
printf("\n Heat removed by water at constant pressure %4.2f kJ",qp)
|