summaryrefslogtreecommitdiff
path: root/3886/CH3/EX3.7/Ex3_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3886/CH3/EX3.7/Ex3_7.sce')
-rw-r--r--3886/CH3/EX3.7/Ex3_7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3886/CH3/EX3.7/Ex3_7.sce b/3886/CH3/EX3.7/Ex3_7.sce
new file mode 100644
index 000000000..2a1405899
--- /dev/null
+++ b/3886/CH3/EX3.7/Ex3_7.sce
@@ -0,0 +1,10 @@
+//Safety of dam
+//refer fig. 3.16
+Rx=300 //kN (towards right)
+Ry=100-1200-400 //kN (Downwards)
+//taking moment about O
+MO=300*3-100*1+1200*2+400*5
+//assume that the resultant cut the base at a distance of x from O
+x=MO/Ry //m
+printf("x=%.3f m lies in the middle third of base.Hence dam is safe",-x)
+