summaryrefslogtreecommitdiff
path: root/3482/CH4/EX4.10/Ex4_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3482/CH4/EX4.10/Ex4_10.sce')
-rw-r--r--3482/CH4/EX4.10/Ex4_10.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3482/CH4/EX4.10/Ex4_10.sce b/3482/CH4/EX4.10/Ex4_10.sce
new file mode 100644
index 000000000..acf5dcc9c
--- /dev/null
+++ b/3482/CH4/EX4.10/Ex4_10.sce
@@ -0,0 +1,17 @@
+clc;
+//page 197
+Tmin=300//lb
+AC=[12 12 0]
+w=[0;-450;0]
+x1=AC*w
+disp(x1)
+x=[0 0 x1]
+lambda=[2/3 2/3 -1/3]*[0;0;-x1]
+y=x*lambda
+disp(y)
+
+//Location of G
+//EG and Tmin are having same direction, so their component should be in proportion
+x=-1.8/Tmin(3)*Tmin(1)+1.8;//m, X co-ordinate of G
+y=-1.8/Tmin(3)*Tmin(2)+3.6;//m, Y co-ordinate of G
+printf("Co-ordinates of G are x=%.0f m and y= %.1f m",x,y);