Explore BrainMass
Share

Explore BrainMass

    C Code of Calculating Volume Flow Rate

    This content was COPIED 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 10, 2019, 6:19 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