clc d=0.1; //m F=1000; //N A=%pi/4*d^2; //m^2 P=F/A/10^3; disp("Pressure on the piston=") disp(P) disp("kN/m^2")