summaryrefslogtreecommitdiff
path: root/2165/CH1/EX1.13
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2165/CH1/EX1.13
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 '2165/CH1/EX1.13')
-rwxr-xr-x2165/CH1/EX1.13/1_13.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2165/CH1/EX1.13/1_13.sce b/2165/CH1/EX1.13/1_13.sce
new file mode 100755
index 000000000..4e7649a9a
--- /dev/null
+++ b/2165/CH1/EX1.13/1_13.sce
@@ -0,0 +1,19 @@
+clc
+//initialisation of variables
+h=0.218//ft^3
+h1=0.156//ft^3
+n=0.249//lb
+h2=0.178//lb
+c=0.208//lb
+c1=0.162//lb
+w1=1//ft^3
+p=150//lb/in^2
+T=100//Degree C
+T1=373//F
+Cp=(h*0.2312)+(n*0.3237)+(c*0.4451)//C.H.U/lb
+Cv=(h1*0.2312)+(h2*0.3237)+(c1*0.4451)//C.H.U//lb
+R=1400*(Cp-Cv)//ft lb units
+//CALCULATIONS
+W=(144*p*w1)/(R*T1)//lb
+//RESULTS
+printf('The characteristic constant of the gas=% f lb',W)