document.write( "Question 33062: 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( "Find the equilibrium price.\r
\n" ); document.write( "\n" ); document.write( "Please help. Thank you.
\n" ); document.write( "

Algebra.Com's Answer #19494 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Equilibrium means D=S
\n" ); document.write( "So, -p^2+30p-8=-5p+40
\n" ); document.write( "p^2-35p+48=0
\n" ); document.write( "a=1, b=-35, c=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( "Since item counts must be whole numbers, round
\n" ); document.write( "the values of \"p\" down to a whole number.
\n" ); document.write( "Hope this helps.
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );