summaryrefslogtreecommitdiff
path: root/3886/CH3/EX3.4/Ex3_4.sce
blob: 18472dba7cc06cb0c4f79c92ae8c9aa72ea38d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
//Find resultant
Rx=60-100*cosd(60)-120*cosd(30)  //kN  (towards left)
Ry=-80+100*sind(60)-120*sind(30)  //kN  (downwards)
R=sqrt(Rx^2+Ry^2)  //kN
alpha=atand(Ry/Rx)  //degree  (shown in fig. 3.13(b))
MA=(80*100*cosd(60)+60*100*sind(60)+120*100*sind(30))  //kN-mm
//intercept on x-axis is
x=MA/Ry  //mm  (as shown in fig. 3.13(a))
printf("R=%.0f kN is the resultant as shown in fig. 3.13 (a)",R)