summaryrefslogtreecommitdiff
path: root/2354/CH4/EX4.11/4_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2354/CH4/EX4.11/4_11.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 '2354/CH4/EX4.11/4_11.sce')
-rwxr-xr-x2354/CH4/EX4.11/4_11.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2354/CH4/EX4.11/4_11.sce b/2354/CH4/EX4.11/4_11.sce
new file mode 100755
index 000000000..0ded27bd2
--- /dev/null
+++ b/2354/CH4/EX4.11/4_11.sce
@@ -0,0 +1,16 @@
+//example 4.11
+clc; funcprot(0);
+// Initialization of Variable
+P2=5.0;
+P1=1.0;
+n=1.3;
+T1=530;
+R=1.986;
+u2=131.88;
+u1=90.33;
+T2=T1*(P2/P1)^(.3/n);
+k1=R*(T2-T1)/(1-n)/28.97;//k1=W/m
+disp(k1,"W/m in Btu/lb");
+k2=k1+u2-u1;//k2=Q/m
+disp(k2,"Q/m in Btu/lb");
+clear()