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 /1466/CH24/EX24.3 | |
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 '1466/CH24/EX24.3')
-rwxr-xr-x | 1466/CH24/EX24.3/24_3.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1466/CH24/EX24.3/24_3.sce b/1466/CH24/EX24.3/24_3.sce new file mode 100755 index 000000000..e79798f89 --- /dev/null +++ b/1466/CH24/EX24.3/24_3.sce @@ -0,0 +1,20 @@ +
+clc
+//initialisation of variables
+g=32.2//ft/sec^2
+p0=8.56//lb/in^2
+A=2.082*10^-4//ft^2
+W=0.0212//lb/sec
+v0=1057.6//ft/sec
+T1=213.7//R
+T2=206//R
+//CALCULATIONS
+b=2*g*778*0.24
+k1=sqrt(b)
+c=144*A*g/W
+k=p0+v0/c
+v1=k1*sqrt(T1-T2)
+p1=k-v1/c
+//RESULTS
+printf ('\n velocity= %.f ft/sec',v1 )
+printf ('\n pressure= %.2f lb/in^2',p1 )
|