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 /2141/CH5/EX5.15 | |
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 '2141/CH5/EX5.15')
-rwxr-xr-x | 2141/CH5/EX5.15/Ex5_15.sce | 22 |
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)
|