document.write( "Question 60986: Sharon's revenue \"R\" (in dollars) on the sale of \"x\" fruitcakes is determined by the formula R=50x-x^2. Her cost in \"C\" (dollars) for producing the x fruitcakes is given by the formula C=2x+40. For what values of x is Sharon's profit positive? (Profit=revenue-cost) \n" ); document.write( "
Algebra.Com's Answer #41902 by Nate(3500)\"\" \"About 
You can put this solution on YOUR website!
When your profit is zero, you receive as much money as you spent. So you want a profit greater than zero.
\n" ); document.write( "Profit > 0
\n" ); document.write( "Revenue - Cost > 0
\n" ); document.write( "50x - x^2 - 2x - 40 > 0
\n" ); document.write( "-x^2 + 48x - 40 > 0
\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%2B48x%2B-40+=+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=%2848%29%5E2-4%2A-1%2A-40=2144\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=2144 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-48%2B-sqrt%28+2144+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%2848%29%2Bsqrt%28+2144+%29%29%2F2%5C-1+=+0.848326194419549\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%2848%29-sqrt%28+2144+%29%29%2F2%5C-1+=+47.1516738055805\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"-1x%5E2%2B48x%2B-40\" can be factored:
\n" ); document.write( " \"-1x%5E2%2B48x%2B-40+=+-1%28x-0.848326194419549%29%2A%28x-47.1516738055805%29\"
\n" ); document.write( " Again, the answer is: 0.848326194419549, 47.1516738055805.\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%2B48%2Ax%2B-40+%29\"

\n" ); document.write( "\n" ); document.write( "\"%2848+-+sqrt%2848%5E2+-+160%29%29%2F2+%3C+x+%3C+%2848+%2B+sqrt%2848%5E2+-+160%29%29%2F2\"
\n" ); document.write( "
\n" );