Compute the volume of water in cubic feet, flowing through a pipe of diameter d in feet, with a velocity of v feet per second. The formula to compute the volume flow rate per second is given by:
R = d /2
Area= π . r^2
Volume = area .v
Hi, this is my C program.
float d; //define diameter of pipe
float v; //define velocity of ...
The solution gives a complete c code of calculating volume rate per second using given formula.
A Program To Calculate Volume Flow Rate
I need writing a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second. The formula for the flow rate is given by
Q = area * velocity
Where area= πd² /4 in square feet.