1 2 3 4 5 6 7 8 9
clc //initialisation of variables d= 6 //in N= 120 //in Q= 5 //gpm //CALCULATIONS Vc= %pi*d^2*N/(4*231) //RESULTS printf ('minimum size of the reservoir = %.2f gpm',Vc)