document.write( "Question 194461: the function h=-5t2+20t+1 models the height, h meters, of a baseball as a function of the time, t seconds, since it was hit. The ball hit the ground before the fielder could catch it. Use the quadratic formula to solve the following problems.
\n" ); document.write( "a) How long was the baseball in the air, to the nearest tenth of a second?
\n" ); document.write( "b) For how many seconds was the height of the ball at least 16 m?
\n" ); document.write( "

Algebra.Com's Answer #145906 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
the function h=-5t2+20t+1 models the height, h meters, of a baseball as a function of the time, t seconds, since it was hit. The ball hit the ground before the fielder could catch it. Use the quadratic formula to solve the following problems.
\n" ); document.write( "a) How long was the baseball in the air, to the nearest tenth of a second?
\n" ); document.write( ".
\n" ); document.write( "Set h=0 and solve for t
\n" ); document.write( "h=-5t2+20t+1
\n" ); document.write( "0=-5t2+20t+1
\n" ); document.write( "Solving via the quadratic equation yields:
\n" ); document.write( "x ={-0.04939, 4.0494}
\n" ); document.write( "See below for details...
\n" ); document.write( "We can toss out the negative solution leaving:
\n" ); document.write( "x = 4.0494 seconds
\n" ); document.write( ".
\n" ); document.write( "b) For how many seconds was the height of the ball at least 16 m?
\n" ); document.write( "Set h=0 and solve for t
\n" ); document.write( "h=-5t2+20t+1
\n" ); document.write( "16=-5t2+20t+1
\n" ); document.write( "0=-5t2+20t-15
\n" ); document.write( "0 = (-5t+15)(t-1)
\n" ); document.write( "t = {1,3}
\n" ); document.write( "This means on the way up at 1 second it reaches 16m and then on the way down at 3 seconds it passes 16m again.
\n" ); document.write( "Thus it was in the air for 2 seconds.
\n" ); document.write( ".
\n" ); document.write( "Quadratic solution for part a:
\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 \"-5x%5E2%2B20x%2B1+=+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=%2820%29%5E2-4%2A-5%2A1=420\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=420 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-20%2B-sqrt%28+420+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%2820%29%2Bsqrt%28+420+%29%29%2F2%5C-5+=+-0.0493901531919196\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%2820%29-sqrt%28+420+%29%29%2F2%5C-5+=+4.04939015319192\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"-5x%5E2%2B20x%2B1\" can be factored:
\n" ); document.write( " \"-5x%5E2%2B20x%2B1+=+-5%28x--0.0493901531919196%29%2A%28x-4.04939015319192%29\"
\n" ); document.write( " Again, the answer is: -0.0493901531919196, 4.04939015319192.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+-5%2Ax%5E2%2B20%2Ax%2B1+%29\"

\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );