document.write( "Question 40535: The demand and supply equations for a certain item are given by:
\n" ); document.write( "D=-5p+40
\n" ); document.write( "S=-p^2+30p-8
\n" ); document.write( "What is the equilibrium price?
\n" ); document.write( "

Algebra.Com's Answer #25947 by Nate(3500)\"\" \"About 
You can put this solution on YOUR website!
\"D+=+-5p+%2B+40\"
\n" ); document.write( "+
\n" ); document.write( "\"-S+=+p%5E2+-+30p+%2B+8\"
\n" ); document.write( "=
\n" ); document.write( "\"0+=+p%5E2+-+35p+%2B+48\"
\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 \"ap%5E2%2Bbp%2Bc=0\" (in our case \"1p%5E2%2B-35p%2B48+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"p%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-35%29%5E2-4%2A1%2A48=1033\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=1033 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--35%2B-sqrt%28+1033+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"p%5B1%5D+=+%28-%28-35%29%2Bsqrt%28+1033+%29%29%2F2%5C1+=+33.5701586799882\"
\n" ); document.write( " \"p%5B2%5D+=+%28-%28-35%29-sqrt%28+1033+%29%29%2F2%5C1+=+1.4298413200118\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1p%5E2%2B-35p%2B48\" can be factored:
\n" ); document.write( " \"1p%5E2%2B-35p%2B48+=+1%28p-33.5701586799882%29%2A%28p-1.4298413200118%29\"
\n" ); document.write( " Again, the answer is: 33.5701586799882, 1.4298413200118.\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-35%2Ax%2B48+%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );