diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /629/CH4/EX4.8/example4_8.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '629/CH4/EX4.8/example4_8.sce')
-rw-r--r-- | 629/CH4/EX4.8/example4_8.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/629/CH4/EX4.8/example4_8.sce b/629/CH4/EX4.8/example4_8.sce new file mode 100644 index 000000000..0e7fd3ca6 --- /dev/null +++ b/629/CH4/EX4.8/example4_8.sce @@ -0,0 +1,17 @@ +clear
+clc
+//Example 4.8 APPLICATION OF PITOT EQUATION WITH MANOMETER
+g=32.2; //[ft/s^2]
+y=7/12; //[ft]
+//Specific gravities
+S_kero=0.81;
+S_Hg=13.55;
+//Specific weights
+g_water=62.4; //[lbf/ft^3]
+g_Hg=S_Hg*g_water //[lbf/ft^3]
+g_kero=S_kero*g_water //[lbf/ft^3]
+rho_kero=g_kero/g //density[lbm/ft^3]
+//Manometer equation, pz1-pz2=y*(gamma_Hg-gamma_kero)
+//Pitot-static tube equation, V=[2*(pz1-pz2)/rho]^(1/2)
+V=(2*y*(g_Hg-g_kero)/rho_kero)^(1/2) //[ft/s]
+printf("\n The kerosene velocity in the pipe = %.1f ft/s.\n",V)
\ No newline at end of file |