summaryrefslogtreecommitdiff
path: root/1442/CH4/EX4.2/4_2.sce
blob: fb3265a24aa2246810902415e2da0f07ac97cf25 (plain)
1
2
3
4
5
6
7
8
9
10
clc
//initialisation of variables
m= 0.3 //kg
T= 25 //C
T1= 150 //C
cv= 0.7423 //kJ/kg K
//CALCULATIONS
Q= m*cv*(T1-T)
//RESULTS
printf ('heat interaction = %.2f kJ',Q)