clc //initialisation of variables d=10//hr p=50000//in a=7.5//mgd w=0.75//mg s=5.03//mg //CALCULATIONS S=s/w//mg P=S-s//mg //RESULTS printf('a steady gravity supply equal to maximum daily=% f mg',P)