summaryrefslogtreecommitdiff
path: root/3819/CH3/EX3.35/Ex3_35.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3819/CH3/EX3.35/Ex3_35.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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.35/Ex3_35.sce')
-rw-r--r--3819/CH3/EX3.35/Ex3_35.sce58
1 files changed, 58 insertions, 0 deletions
diff --git a/3819/CH3/EX3.35/Ex3_35.sce b/3819/CH3/EX3.35/Ex3_35.sce
new file mode 100644
index 000000000..5caa061bc
--- /dev/null
+++ b/3819/CH3/EX3.35/Ex3_35.sce
@@ -0,0 +1,58 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 2 - Pressure and its measurements
+// Problem 3.35
+
+//Given Data Set in the Problem
+dens=1000
+g=9.81
+L=6
+b=2.5
+d=2
+h=1.5
+FD=1
+
+//Calculations
+ //1) horizontal accn imparted
+ //a)
+ tan_theta=(d-h)/(L/2)
+ a=g*tan_theta
+ //b)
+ h1=d/2
+ A1=d*b
+ F1=dens*g*A1*h1
+ A2=FD*b
+ h2=FD/2
+ F2=dens*g*A2*h2
+ //c)
+ F=F1-F2
+ //this too can be used ,,calulate colume V=L*b*h
+ //then.....F_=dens*V*a //Force required to accelerate the mass of water in the tank
+ mprintf("Part 1)Force required to accelerate the mass of water in the tank is %f N \n",F)
+ //2) horizontal accn when front bottom corner is just exposed
+ //a)
+ CE=2
+ ED=6
+ tan_theta=CE/ED
+ a=g*tan_theta //acceleration
+ //b)
+ h1=CE/2
+ A1=CE*b
+ F1=dens*g*A1*h1
+ F2=0
+ //c)
+ F=F1-F2
+ mprintf("Part 2) Force required to accelerate the mass of water in the tank is %f N \n",F)
+ //2) horizontal accn when front bottom in half exposed
+ //a)
+ CE=2
+ ED=3
+ tan_theta=CE/ED
+ a=g*tan_theta //acceleration
+ //b)
+ h1=CE/2
+ A1=CE*b
+ F1=dens*g*A1*h1
+ F2=0
+ //c)
+ F=F1-F2
+ mprintf("Part 2) Force required to accelerate the mass of water in the tank is %f N \n",F)