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.6 | |
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.6')
-rw-r--r-- | 3204/CH5/EX5.6/Ex5_6.sce | 18 |
1 files changed, 18 insertions, 0 deletions
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)
|