blob: b2c6e39ec025746ef854b7cc008fcf655654fa4e (
plain)
1
2
3
4
5
6
7
8
|
//determine support reactions
//Refer fig. 3.51
//Taking moment about A
RB=(40+30*5*sind(45)+20*2*7)/6 //kN
HA=30*cosd(45) //kN
VA=30*sind(45)-RB+40 //kN (downwards)
printf("Required values are:-\nRB=%.2f kN\nHA=%.2f kN\nVA=%.2f kN downwards",RB,HA,-VA)
|