blob: 283329c2f016f7551d26a4d01fca8b45cc6227e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Initilization of variables
Tac=3.5 //kN
Tbc=3.5 //kN
alpha=20 //degree //angle made by Tac with -ve X axis
beta=50 //degree //angle made by Tbc with +ve X axis
//Calculations
theta=atand(((Tac*sind(alpha))+(Tbc*sind(beta)))/((Tac*cosd(alpha))-(Tbc*cosd(beta)))) //degree
P=Tac*(cosd(alpha)-cosd(beta))/(cosd(theta)) //kN // from eq'n 1
//Results
clc
printf('The maximum force that can be applied is %f kN \n',P)
printf('The direction of applied force is %f degree \n',theta)
|