summaryrefslogtreecommitdiff
path: root/2141/CH5/EX5.18
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2141/CH5/EX5.18
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 '2141/CH5/EX5.18')
-rwxr-xr-x2141/CH5/EX5.18/Ex5_18.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2141/CH5/EX5.18/Ex5_18.sce b/2141/CH5/EX5.18/Ex5_18.sce
new file mode 100755
index 000000000..39429af25
--- /dev/null
+++ b/2141/CH5/EX5.18/Ex5_18.sce
@@ -0,0 +1,16 @@
+
+clc
+//initialisation of variables
+V=2 //ft^3
+v=20 //lbf/in^2
+T=540 //R
+t=300 //F
+t2=80 //F
+cv=0.177 //lbf/in^2
+p=160 //lbf/in^2
+W=9.15 //Btu
+m=0.1868 //lbm
+//CALCULATIONS
+Q=m*(cv)*(t-t2)-W//Btu
+//RESULTS
+printf('the amount of this heat transfer=% f Btu',Q)