Explore BrainMass
Share

C Code of Calculating Volume Flow Rate

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

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

© BrainMass Inc. brainmass.com October 25, 2018, 8:24 am ad1c9bdddf
https://brainmass.com/computer-science/algorithms/c-code-of-calculating-volume-flow-rate-538969

Solution Preview

Hi, this is my C program.

#include<stdio.h>
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.

$2.19
See Also This Related BrainMass Solution

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.

View Full Posting Details