summaryrefslogtreecommitdiff
path: root/1442/CH4/EX4.3/4_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1442/CH4/EX4.3/4_3.sce
downloadScilab-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-x1442/CH4/EX4.3/4_3.sce16
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)