summaryrefslogtreecommitdiff
path: root/2165/CH1/EX1.26
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.26
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.26')
-rwxr-xr-x2165/CH1/EX1.26/1_26.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2165/CH1/EX1.26/1_26.sce b/2165/CH1/EX1.26/1_26.sce
new file mode 100755
index 000000000..09b901e50
--- /dev/null
+++ b/2165/CH1/EX1.26/1_26.sce
@@ -0,0 +1,18 @@
+clc
+//initialisation of variables
+w=0.066//ft^3
+p=14.7//lb/in^2
+w1=14.2//lb/in^2
+w2=2780//lb/in^2
+g=0.038//lb
+a=28.9//lb
+R=w2/w1//for gas
+R1=93//for air
+T=273//F
+V=0.4245//ft^3
+//CALCULATIONS\
+W=(p*144*w)/(T*R)//lb
+m=(g-W)//lb gas
+T2=(V+w)//ft^3
+//RESULTS
+printf('The volume of mixture=% f ft^3',T2)