akosiraff

Volume of Water C++

Jan 31st, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/volume-of-water-c/
  3. Write an algorithm to compute the volume of water in cubic feet,
  4. flowing through a pipe of diameter d in feet, with a velocity of
  5. v feet per second.”
  6. The formula to compute the volume flow rate per second is given
  7. by:
  8. R = d / 2
  9. Area = p * R2 (squared) // p means pi
  10. Volume = area * v
  11.  
  12. Download: http://solutionzip.com/downloads/volume-of-water-c/
Advertisement
Add Comment
Please, Sign In to add comment