//Minimum force required //refer fig. 5.13 //Applying Lami's theorem to system of forces on block R1=20*sind(145)/sind(140) //kN R2=20*sind(75)/sind(140) //kN //Applying Lami's theorem to system of forces on wedge P=R2*sind(130)/sind(105) //kN printf("required force is P=%0.2f kN",P)