1 2 3 4 5 6 7 8 9 10
//example 9.4 //page 318 clc; funcprot(0); //initialisation of variable L=500; S=0.004;//slope of slope line hf=S*L; disp(hf,"head loss (ft)="); clear