summaryrefslogtreecommitdiff
path: root/51/CH11/EX11.7/11_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /51/CH11/EX11.7/11_7.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 '51/CH11/EX11.7/11_7.sce')
-rwxr-xr-x51/CH11/EX11.7/11_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/51/CH11/EX11.7/11_7.sce b/51/CH11/EX11.7/11_7.sce
new file mode 100755
index 000000000..c0efb19e8
--- /dev/null
+++ b/51/CH11/EX11.7/11_7.sce
@@ -0,0 +1,19 @@
+clc;
+clear;
+pratio=0.82;//ratio of static to stagnation pressure
+T=68;//degree F
+//for (a)
+//for the value of pratio given Ma is calculated as
+Ma1=0.54;
+k1=1.4;
+Tratio1=0.94;//T/T0
+T1=Tratio1*(T+460);// degree R
+V1=(Ma1*(53.3*T1*k1)^0.5)*(32.2^0.5);//ft/sec
+//for (b)
+k2=1.66;
+Ma2=((((1/pratio)^((k2-1)/k2))-1)/((k2-1)/2))^0.5;
+Tratio2=1/(1+(((k2-1)/2)*(Ma2^2)));//T/T0
+T2=Tratio2*(T+460);//degree R
+V2=(Ma2*(386*T2*k2)^0.5)*(32.2^0.5);//ft/sec
+disp("ft/sec",V1,"The flow velocity if fluid is air=")
+disp("ft/sec",V2,"The flow velocity if fluid is helium=") \ No newline at end of file