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 /3819/CH3/EX3.38 | |
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 '3819/CH3/EX3.38')
-rw-r--r-- | 3819/CH3/EX3.38/Ex3_38.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/3819/CH3/EX3.38/Ex3_38.sce b/3819/CH3/EX3.38/Ex3_38.sce new file mode 100644 index 000000000..d6de2eae4 --- /dev/null +++ b/3819/CH3/EX3.38/Ex3_38.sce @@ -0,0 +1,31 @@ +// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 2 - Pressure and its measurements
+// Problem 3.38
+
+//Given Data Set in the Problem
+dens=1000
+g=9.81
+h=1.5
+L=4
+b=2
+a=4
+alpha=30
+
+//calculations
+//1)
+a_x=a*cos(alpha/180*%pi)
+a_y=a*sin(alpha/180*%pi)
+theta=(atan(a_x/(a_y+g)))/%pi*180
+mprintf("The angle made by the free surface of water withg horizontal is %f degrees\n",theta)
+//2)
+EO=2
+ED=h
+CE=EO*(a_x/(g+a_y))
+h2=ED+CE
+AF=h
+BF=CE
+h1=AF-BF
+//Calculating pressure at tank bottom at rear end
+pD=dens*g*h2*(1+a_y/g)
+pA=dens*g*h1*(1+a_y/g)
+mprintf("The Pressure at tank bottom at rear end is %f N\nThe Pressure at the front end is %f N \n",pD,pA)
|