diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3862/CH2/EX2.16/Ex2_16.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2 Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip |
Diffstat (limited to '3862/CH2/EX2.16/Ex2_16.sce')
-rw-r--r-- | 3862/CH2/EX2.16/Ex2_16.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/3862/CH2/EX2.16/Ex2_16.sce b/3862/CH2/EX2.16/Ex2_16.sce new file mode 100644 index 000000000..390cdc522 --- /dev/null +++ b/3862/CH2/EX2.16/Ex2_16.sce @@ -0,0 +1,30 @@ +clear +// + +//variable declaration +P1=1120.0 //vertical down Loading at 2m distance from O,KN +P2=120.0 //vertical up loading at 4m distance from O,KN +P3=420.0 //vertical downloading at 5m distance from O,KN +H=500.0 //Horizontal loading at 4m ditance from O,KN +ah=4.0 +a1=2.0 +a2=4.0 +a3=5.0 +a=7.0 +//assume Resulat R at distance x from O, +//sum of vertical Fy & sum of horizontal forces Fx is zero +//Assume direction of Fx is right +//Assume direction of Fy is up +Rx=H +Ry=P1-P2+P3 + +printf("\n Ry= %0.2f KN downward",Ry) + +//Let x be the distance from O where the resultant cuts the base. +//moment at O +x=(H*ah+P1*a1-P2*a2+P3*a3)/(Ry) + +printf("\n x= %0.3f m",x) + +printf("\n The resultant passes through the middle third of the base i.e., between 7/3m, and 2*7/3 m.Hence, the dam is safe.") + |