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/CH3/EX3.6/example3_6.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/CH3/EX3.6/example3_6.sce')
-rw-r--r-- | 629/CH3/EX3.6/example3_6.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/629/CH3/EX3.6/example3_6.sce b/629/CH3/EX3.6/example3_6.sce new file mode 100644 index 000000000..3f5fe4c9d --- /dev/null +++ b/629/CH3/EX3.6/example3_6.sce @@ -0,0 +1,15 @@ +clear
+clc
+//Example 3.6 PRESSURE MEASUREMENT (U-TUBE MANOMETER)
+p1=0; //[Pa]
+h12=0.6; //deflection[m]
+g_m=133000; //specific weight of mercury[N/m^3]
+p2=p1+g_m*h12 //[Pa]
+//From hydrostatic equation,as z3=z2
+p3=p2; //[Pa]
+
+//Pressure at the interface is constant, p3_mercury=p3_water=p3
+l=1.8; //[m]
+g_w=9810; //specific weight of water[N/m^3]
+p4=(p3-g_w*l)/10^3 //[kPa](factor 1kPa/10^3Pa)
+printf("\nThe gage pressure at the center of the pipe = %.1f kPa gage.\n",p4)
\ No newline at end of file |