//determine support reactions //Refer fig. 3.52 //Taking moment about B RA=((10/2)*(1/3+5)+(2*10/2)*(5-2/3)+10*3*1.5+3*10*1/2)/5 //kN RB=-26+5+10+30+15 //kN printf("Required values are:-\nRA=%.2f kN\nRB=%.2f kN",RA,RB)