clc //initialisation of variables p=24//lb/in^2 L=5//in l=2//in //CALCULATIONS P=p*L*L/(l*l) //RESULTS printf ('\n pressure= %.f lb/in^2',P)