Purchase Solution

A Program To Calculate Volume Flow Rate

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

Solution Preview

This program was written in Dev C++. Please check the comments to understand the meaning of each variable.

#include <cstdlib>
#include <iostream>
#include <iomanip>

using namespace std;

int main(int argc, char *argv[])
{

float v; ...

Solution provided by:
Education
  • MBA, Aspen University
  • Bachelor of Science , Berea College
Recent Feedback
  • "Thank u"
  • "Thank You!"
  • "Thanks!"
  • "Thank you so much"
  • "Great job...thanks."
Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic Networking Questions

This quiz consists of some basic networking questions.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.