summaryrefslogtreecommitdiff
path: root/3204/CH5/EX5.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH5/EX5.2
downloadScilab-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.2')
-rw-r--r--3204/CH5/EX5.2/Ex5_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3204/CH5/EX5.2/Ex5_2.sce b/3204/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..921cdc9d8
--- /dev/null
+++ b/3204/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,14 @@
+//Inilization of variables
+W=2000 //N
+Lab=2 //m //length of the member from the vertical to the 1st load of 2000 N
+Lac=5 //m //length of the member from the vertical to the 2nd load of 2000 N
+Lpq=3.5 //m
+//Calculations
+Rq=((W*Lab)+(W*Lac))/Lpq //N //take moment abt. pt P
+Xp=Rq //N //sum Fx=0
+Yp=2*W //N //sum Fy=0
+Rp=sqrt(Xp^2+Yp^2) //N
+//Resuts
+clc
+printf('The reaction at P is %f N \n',Rp)
+printf('The reaction at Q is %f N \n',Rq)