summaryrefslogtreecommitdiff
path: root/3776/CH5/EX5.1/Ex5_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3776/CH5/EX5.1/Ex5_1.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3776/CH5/EX5.1/Ex5_1.sce')
-rw-r--r--3776/CH5/EX5.1/Ex5_1.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3776/CH5/EX5.1/Ex5_1.sce b/3776/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..f223bc45a
--- /dev/null
+++ b/3776/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,25 @@
+clear
+//Given
+L_ab = 0.4 //mt The total length of the rod
+M = 200 //N_m - the moment acting on rod
+l_1 = 0.1 //mt -moment acting point the distance from 'a'
+R_1 = 100 //N - The Force acting
+l_2 = 0.2 //mt -R_1 acting point the distance from 'a'
+R_2 = 160 //N The Force acting
+l_3 = 0.3 //mt -R_2 acting point the distance from 'a'
+//caliculations
+
+//F_X = 0 forces in x directions
+R_A_X = 0 // since there are no forces in X-direction
+R_B_X = 0
+//M_A = 0 momentum at point a is zero
+
+// M + R_1*l_2 + R_2*l_3 = R_B*L_ab *the moment for a force is FxL
+R_B_Y = (M + R_1*l_2 + R_2*l_3)/L_ab
+
+//M_B= 0 momentum at point b is zero
+// R_A_Y*L_ab + M - R_1*l_2 - R_2*0.1 = 0
+
+R_A_Y = -(M - R_1*l_2 - R_2*0.1)/L_ab
+printf("The X,Y components of reaction force at A is %0.3f,%0.3f N",R_A_X,R_A_Y)
+printf("\n The X,Y components of reaction force at B is %0.3f,%0.3f N",R_B_X,R_B_Y)