diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH5/EX5.4/Ex5_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3204/CH5/EX5.4/Ex5_4.sce')
-rw-r--r-- | 3204/CH5/EX5.4/Ex5_4.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3204/CH5/EX5.4/Ex5_4.sce b/3204/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..6624e8ed5 --- /dev/null +++ b/3204/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,17 @@ +//Initilization of variables
+W=100 //N
+theta=60 //degree //angle made by the ladder with the horizontal
+alpha=30 //degree //angle made by the ladder with the vertical wall
+Lob=4 //m // length from the horizontal to the top of the ladder touching the wall(vertical)
+Lcd=2 //m // length from the horizontal to the centre of the ladder where the man stands
+//Calculations
+Lab=Lob*secd(alpha) //m //length of the ladder
+Lad=Lcd*tand(alpha) //m
+Rb=(W*Lad)/Lab //N //take moment at A
+Xa=Rb*sind(theta) //N // From eq'n 1
+Ya=W+Rb*cosd(theta) //N From eq'n 2
+//Results
+clc
+printf('The reaction at B i.e Rb is %f N \n',Rb)
+printf('The horizontal reaction at A i.e Xa is %f N \n',Xa)
+printf('The vertical reaction at A i.e Ya is %f N \n',Ya)
|