summaryrefslogtreecommitdiff
path: root/1898/CH1/EX1.3
diff options
context:
space:
mode:
Diffstat (limited to '1898/CH1/EX1.3')
-rwxr-xr-x1898/CH1/EX1.3/Ex1_3.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/1898/CH1/EX1.3/Ex1_3.sce b/1898/CH1/EX1.3/Ex1_3.sce
new file mode 100755
index 000000000..b24f0049e
--- /dev/null
+++ b/1898/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,35 @@
+clear all; clc;
+
+disp("Scilab Code Ex 1.3 :")
+
+// Given:
+l_ac = 1; //m.
+l_cd = 1.5 ; //m.
+l_bd = 0.5; //m.
+r_a = 0.125; //m.
+r_d = 0.125; //m.
+W = 2000; // N
+
+
+// Equations of equilibrium:
+
+//Balancing forces in the x direction:
+n_c = -W; // N
+
+//Balncing forces in the y direction:
+v_c = -W; //N
+
+// Balncing the moments about C:
+m_c = - (W*(r_a +l_ac)- W*r_a)
+
+
+// Displaying results:
+
+printf('\n\nThe horizontal force at C = %.2f N',n_c);
+printf('\nThe vertical force at C = %.2f N',v_c);
+printf('\nThe moment about C = %.2f Nm',m_c);
+
+//----------------------------------------------------------------------------END--------------------------------------------------------------------------------------------
+
+
+