//Small block sliding down the plane //refer fig. 16.11 (a),(b) and (c) //Length AB AB=sqrt((3^2)+(4^2)) //Consider FBD of the block on inclined plane A //It moves down the plane, hence //N1=W*0.8 mu=0.3 //F1=0.3*W //Applying work energy equation for the motion from A to B vB=sqrt((0.6-0.24)*5*2*9.81) //m/sec //For the motion on horizontal plane //final velocity=0 //Writing work energy equation for the motion along BC s=(5.943^2)/(2*9.81*0.3) //m printf("\ns=%.2f m",s)