blob: 9115560e87abf09fe39bb3c08ddfe218f1c59f46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Determine Resultant
//horizontal direction is assumed as x-axis and vertical as y-axis
Rx=-20*cosd(60) //kN (towards left)
Ry=-20-30-20*sind(60) //kN (downwards)
R=sqrt(Rx^2+Ry^2) //kN
alpha=atand(Ry/Rx) //degree (as shown in fig. 3.12(b))
//Taking moment about A
MA=20*1.5+30*3+20*6*sind(60) //kN-m
//x-intercept of the resultant is
x=MA/Ry //m (shown in fig.)
printf("R=%.2f kN as shown in fig. 3.12(a)",R)
|