summaryrefslogtreecommitdiff
path: root/2141/CH5/EX5.15
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.15
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.15')
-rwxr-xr-x2141/CH5/EX5.15/Ex5_15.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2141/CH5/EX5.15/Ex5_15.sce b/2141/CH5/EX5.15/Ex5_15.sce
new file mode 100755
index 000000000..f0a7462d2
--- /dev/null
+++ b/2141/CH5/EX5.15/Ex5_15.sce
@@ -0,0 +1,22 @@
+
+clc
+//initialisation of variables
+v=2 //ft^3
+u1=7.259//lbm
+u2=9.403 //lbm
+p1=60 //lbf/in^2
+t=300 //f
+M=0.275 //lbm
+h1=1181.6//btu
+h2=1283.0 //Btu
+t1=144//in^2/ft^3
+T=778//F
+W=6.5//Btu
+//CALCULATIONS
+Q1=M*(h2-h1)//Btu
+U=Q1-W //Btu
+v1=h1-(p1*t1*u1/T)//Btu/lbm
+v2=h2-(p1*t1*u2/T)//Btu/lbm
+U1=M*(v2-v1)//Btu
+//RESULTS
+printf('The heat transfer and the work and change in internal energy=% f Btu',U1)