blob: 505b5f2202aba9835757666e3188ad2aff828ecc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Example 2_5
clc();
clear;
//To find the Tension T in the Supporting Cable
//As Sigma(Fx)=0
theta1=30 //units in degrees
theta2=90-theta1 //units in degrees
H_T=sin(theta1*%pi/180)
W=2000 //Units in Newtons
T=W/sin(theta2*%pi/180) //units in Newtons
H=T*H_T //units in Newtons
printf("Tension in the Supporting Cable T=%d N",T)
//In textbook The answer is printed wrong as T=2310N but the correct answer is T=2309N
|