document.write( "Question 458768: How do I write an alforithm to 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? \n" ); document.write( "
Algebra.Com's Answer #314719 by amoresroy(361)\"\" \"About 
You can put this solution on YOUR website!
How do I write an alforithm to 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?\r
\n" ); document.write( "\n" ); document.write( "Let M = the volume of water in cubic feet
\n" ); document.write( " = area of pipe * velocity of water * time elapsed\r
\n" ); document.write( "\n" ); document.write( "where area of pipe = pi * d^2/4
\n" ); document.write( "
\n" ); document.write( "So M becomes
\n" ); document.write( " M = pi * d^2/4 * v * t\r
\n" ); document.write( "\n" ); document.write( " M = (pi/4)(vtd^2)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );