From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3204/CH5/EX5.4/Ex5_4.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 3204/CH5/EX5.4/Ex5_4.sce (limited to '3204/CH5/EX5.4/Ex5_4.sce') 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) -- cgit