Explore BrainMass

C Code of Calculating Volume Flow Rate

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

Solution Preview

Hi, this is my C program.

int main()
float d; //define diameter of pipe
float v; //define velocity of ...

Solution Summary

The solution gives a complete c code of calculating volume rate per second using given formula.