diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1442/CH4/EX4.3/4_3.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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)
|