diff options
Diffstat (limited to '1442/CH4/EX4.3/4_3.sce')
-rwxr-xr-x | 1442/CH4/EX4.3/4_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1442/CH4/EX4.3/4_3.sce b/1442/CH4/EX4.3/4_3.sce new file mode 100755 index 000000000..8ca2faa33 --- /dev/null +++ b/1442/CH4/EX4.3/4_3.sce @@ -0,0 +1,16 @@ +clc
+//initialisation of variables
+m= 5000 //kg
+cp= 1.4 //kJ/kg K
+T2= 27.6 //K
+T1= 22 //K
+t= 40 //min
+P= 20 //kW
+//CALCULATIONS
+H= m*cp*(T2-T1)
+W= -P*t*60
+Q= H+W
+dT= -W/(m*cp)
+//RESULTS
+printf ('heat interaction = %.f kJ',Q)
+printf ('\n temperature rise = %.2f C',dT)
|