1 2 3 4 5 6 7 8 9
//calculate force required //refer fig.6.15 //VR=2*number of movable pulleys VR=2*3 eta=0.85 MA=eta*VR W=12000 P=W/5.1 printf("The required force is P=%.2f N",P)