blob: 499bc0e94aea80f337fee5e45a3c86c5b232e4bc (
plain)
1
2
3
4
5
|
//Horizontal and Vertical components of Force
//Resolving 20 kN force we get
Fx=20*cosd(60) //kN (towards left)
Fy=20*sind(60) //kN (Downward)
printf("Horizontal and vertical components respectively are:-\n Fx=%.2f kN (towards left)\n Fy=%.2f kN (Downward)",Fx,Fy)
|