summaryrefslogtreecommitdiff
path: root/2789/CH11/EX11.2/Ex11_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2789/CH11/EX11.2/Ex11_2.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 '2789/CH11/EX11.2/Ex11_2.sce')
-rwxr-xr-x2789/CH11/EX11.2/Ex11_2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2789/CH11/EX11.2/Ex11_2.sce b/2789/CH11/EX11.2/Ex11_2.sce
new file mode 100755
index 000000000..7541e081f
--- /dev/null
+++ b/2789/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,15 @@
+clear;
+clc;
+
+//page no. 411
+
+P = 25;//in. of mercury
+p = 18;//in. of mercury
+T = 150;//degreeF
+
+k = P/p;
+if k < (1.893) then
+ V = sqrt(2*32.2*186.5*(T+460)*(1-(1/k)^0.286));
+end
+
+printf('The local velocity just upstream from the pitot static tube = %d fps',V);