//find the length of the sliding bearing clc //solution //given d=25//mm/diameter P=2500//N/force p=5//(N/mm^2)//bearing pressure //A=l*d =l*25//(mm^2)//projected area of bearing //p=P/A//pressure=force/area //therefore l=(P/(25*5))//mm//length printf("the required length is,%f mm",l)