document.write( "Question 442824: The current in a stream moves at a speed of 4mi/h. A boat travels 4 miles upstream and 28 km downstream in a total time of 4 hours. What is the speed of the stream? \n" ); document.write( "
Algebra.Com's Answer #305492 by jorel1380(3719)\"\" \"About 
You can put this solution on YOUR website!
4/x-4+28/x+4=4
\n" ); document.write( "4(x+4)+28(x-4)=4(x2-16)
\n" ); document.write( "4x+16+28x-112=4x2-64
\n" ); document.write( "0=4x2-32x+32
\n" ); document.write( "0=x2-8x+8
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"1x%5E2%2B-8x%2B8+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%28-8%29%5E2-4%2A1%2A8=32\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=32 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--8%2B-sqrt%28+32+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28-8%29%2Bsqrt%28+32+%29%29%2F2%5C1+=+6.82842712474619\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28-8%29-sqrt%28+32+%29%29%2F2%5C1+=+1.17157287525381\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B-8x%2B8\" can be factored:
\n" ); document.write( " \"1x%5E2%2B-8x%2B8+=+1%28x-6.82842712474619%29%2A%28x-1.17157287525381%29\"
\n" ); document.write( " Again, the answer is: 6.82842712474619, 1.17157287525381.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B-8%2Ax%2B8+%29\"

\n" ); document.write( "\n" ); document.write( "Throwing out the lower number, we get the speed of the boat in still water to be 6.828 mph..
\n" ); document.write( "
\n" );