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.3 | |
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.3')
-rw-r--r-- | 629/CH4/EX4.3/ex4_3.txt | 4 | ||||
-rw-r--r-- | 629/CH4/EX4.3/example4_3.sce | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/629/CH4/EX4.3/ex4_3.txt b/629/CH4/EX4.3/ex4_3.txt new file mode 100644 index 000000000..8e3d17ada --- /dev/null +++ b/629/CH4/EX4.3/ex4_3.txt @@ -0,0 +1,4 @@ +
+(a)The pressure at the top front, p = 261 psfg (= 12.5 kPa,gage).
+
+(b)The maximum pressure in the tank, pmax = 513 psfg (= 24.6 kPa,gage)
\ No newline at end of file diff --git a/629/CH4/EX4.3/example4_3.sce b/629/CH4/EX4.3/example4_3.sce new file mode 100644 index 000000000..783c2a930 --- /dev/null +++ b/629/CH4/EX4.3/example4_3.sce @@ -0,0 +1,17 @@ +clear
+clc
+//Example 4.3 PRESSURE IN A DECELERATING TANK OF LIQUID
+p1=0;
+Gamma=42; //[lbf/ft^3]
+g=32.2; //[ft/s^2]
+al=-10; //[ft/s^2]
+l=20; //[ft]
+//Euler's equation along the top of tank, dp/dl=-Gamma*l/g
+p2=p1-Gamma*al*l/g //[psfg]
+//1kPa=20.88psfg
+printf("\n(a)The pressure at the top front, p = %.f psfg (= %.1f kPa,gage).\n",p2,p2/20.88)
+//Eulers equation in vertical direction,
+//d(p+Gamma*z)/dz=-rho*az, az=0
+delz=6; //delz=z2-z3,[ft]
+p3=p2+Gamma*delz //[psfg]
+printf("\n(b)The maximum pressure in the tank, pmax = %.f psfg (= %.1f kPa,gage).\n",p3,p3/20.88)
\ No newline at end of file |