document.write( "Question 596129: When dealing with the quadratic equation f(x)=-0.2x^2+12x+11, where the function represents the expected number of ticket sales each day, and x=1 is the day tickets go on sale.
\n" ); document.write( "My main question is, using this equation how can I determine the last day that tickets will be sold?
\n" ); document.write( "

Algebra.Com's Answer #377534 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
f(x)=-0.2x^2+12x+11
\n" ); document.write( "since f(x) represents the number of tickets sold
\n" ); document.write( "to find the last day tickets were sold, set f(x) to zero and solve for x:
\n" ); document.write( "f(x)=-0.2x^2+12x+11
\n" ); document.write( "0=-0.2x^2+12x+11
\n" ); document.write( "0=0.2x^2-12x-11
\n" ); document.write( "applying the quadratic formula, we get:
\n" ); document.write( "x = {60.9, -0.9}
\n" ); document.write( "we can toss out the negative solution (extraneous) leaving:
\n" ); document.write( "x = 60 days
\n" ); document.write( ".
\n" ); document.write( "details of quadratic follows:
\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 \"0.2x%5E2%2B-12x%2B-11+=+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-12%29%5E2-4%2A0.2%2A-11=152.8\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=152.8 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--12%2B-sqrt%28+152.8+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28-12%29%2Bsqrt%28+152.8+%29%29%2F2%5C0.2+=+60.9030742807249\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28-12%29-sqrt%28+152.8+%29%29%2F2%5C0.2+=+-0.903074280724887\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"0.2x%5E2%2B-12x%2B-11\" can be factored:
\n" ); document.write( " \"0.2x%5E2%2B-12x%2B-11+=+0.2%28x-60.9030742807249%29%2A%28x--0.903074280724887%29\"
\n" ); document.write( " Again, the answer is: 60.9030742807249, -0.903074280724887.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+0.2%2Ax%5E2%2B-12%2Ax%2B-11+%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );