summaryrefslogtreecommitdiff
path: root/3772/CH14/EX14.6
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3772/CH14/EX14.6
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 '3772/CH14/EX14.6')
-rw-r--r--3772/CH14/EX14.6/Ex14_6.sce55
1 files changed, 55 insertions, 0 deletions
diff --git a/3772/CH14/EX14.6/Ex14_6.sce b/3772/CH14/EX14.6/Ex14_6.sce
new file mode 100644
index 000000000..254272dc2
--- /dev/null
+++ b/3772/CH14/EX14.6/Ex14_6.sce
@@ -0,0 +1,55 @@
+// Problem no 14.6,Page No.332
+
+clc;clear;
+close;
+H= 4 //m //height of dam
+a=1 //m //Top width
+b=3 //m //bottom width
+rho1=9810 //N/m**3 //weight of water
+rho2=19620 //n/m**3 //Weight of mason
+
+//Calculations
+
+//Let L=1 m (length of dam)
+L=1
+
+//weight of dam
+W=(a+b)*2**-1*L*H*rho2*10**-3
+
+////Lateral thrust
+P=rho1*H**2*L*2**-1*10**-3
+
+//Distance of Line of action from vertical base
+x_bar=(b**2+b*a+a**2)*(3*(b+a))**-1
+
+//distance of pt where resultant cuts the base
+x=P*W**-1*H*3**-1
+
+//Eccentricity
+e=x_bar+x-b*2**-1
+
+//Stress at Pt B
+sigma1=W*10**3*b**-1*(1-6*e*b**-1)
+
+//stress at Pt C
+sigma2=W*10**3*b**-1*(1+6*e*b**-1)
+
+//Stresses at the base when resorvoir is empty
+
+e2=x_bar-b*2**-1
+
+//Minus sign indicates sigma_b>sigma_c
+
+//Stress at C
+sigma2_2=W*10**3*b**-1*(1+6*e2*b**-1)
+
+//Stress at Pt B
+sigma1_2=W*10**3*b**-1*(1-6*e2*b**-1)
+
+//result
+printf("When the Reservoir is full :sigma1 %.2f",sigma1);printf(" N/m**2")
+printf("\n :sigma2 %.2f",sigma2);printf(" N/m**2")
+printf("\n When the Reservoir is empty:sigma1_2 %.2f",sigma1_2);printf(" N/m**2")
+printf("\n :sigma2_2 %.2f",sigma2_2);printf(" N/m**2")
+
+//Answer is wrong in the textbook.//////