summaryrefslogtreecommitdiff
path: root/3648/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH2/EX2.7/Ex2_7.sce')
-rw-r--r--3648/CH2/EX2.7/Ex2_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3648/CH2/EX2.7/Ex2_7.sce b/3648/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..c33d87e60
--- /dev/null
+++ b/3648/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,19 @@
+//Example 2_7
+clc();
+clear;
+//To find tension in the supporting cable and Components of the force exerted by the hinge
+F1=50 //units in Newtons
+d1=0.7 //units in meters
+F2=100 //units in Newtons
+d2=1.4 //units in meters
+d3=1 //units in meters
+theta2=53 //units in degrees
+T=round(((F1*d1)+(F2*d2))/(d3*cos(theta2*%pi/180))) //units in Newtons
+theta1=37 //units in degrees
+H=cos(theta1*%pi/180)*T //units in Newtons
+
+V=F1+F2-(cos(theta2*%pi/180)*T) //units in Newtons
+printf("Tension T=%d N\n",T)
+printf("H=%d N\n",H)
+printf("V=%.2f N",V)
+//In text book the answer is printed wrong as H=234N but the correct answer is H=232N