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.6/Ex5_6.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 3204/CH5/EX5.6/Ex5_6.sce (limited to '3204/CH5/EX5.6') diff --git a/3204/CH5/EX5.6/Ex5_6.sce b/3204/CH5/EX5.6/Ex5_6.sce new file mode 100644 index 000000000..dbe1e5ba2 --- /dev/null +++ b/3204/CH5/EX5.6/Ex5_6.sce @@ -0,0 +1,18 @@ +//Initilization of variables +d=0.09 //m //diametre of the right circular cylinder +h=0.12 //m //height of the cyinder +W=10 //N // self weight of the bar +l=0.24 //m //length of the bar +//Calculations +theta=atand(h/d) // angle which the bar makes with the horizontal +Lad=sqrt(d^2+h^2) //m // Lad is the length of the bar from point A to point B +Rd=(W*h*cosd(theta))/Lad //N // Taking moment at A +Xa=Rd*sind(theta) //N // sum Fx=0.... From eq'n 1 +Ya=W-(Rd*cosd(theta)) //N // sum Fy=0..... From eq'n 2 +Ra=sqrt(Xa^2+Ya^2) //resultant of Xa & Ya +//Results +clc +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) +printf('Therefore the reaction at A i.e Ra is %f N \n',Ra) +printf('The reaction at D i.e Rd is %f N \n',Rd) -- cgit