document.write( "Question 168495: John owns a hotdog stand. his profit is represented by P(x)=-x^2+14x+54, with P(x) being profit and the x the number of hotdogs sold. What is the most he can earn? \n" ); document.write( "
Algebra.Com's Answer #124185 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
P(x)=-x^2+14x+54
\n" ); document.write( "Looking at the coefficient associated with the x^2 we see that it is negative. This means that the vertex is the max.
\n" ); document.write( ".
\n" ); document.write( "The axis of symmetry is the line x = -b/2a
\n" ); document.write( "x = -b/2a
\n" ); document.write( "x = -14/2(-1)
\n" ); document.write( "x = -14/(-2)
\n" ); document.write( "x = 7
\n" ); document.write( ".
\n" ); document.write( "Solving the equation P(x) when x=7:
\n" ); document.write( "P(x)=-x^2+14x+54
\n" ); document.write( "P(7)=-7^2+14(7)+54
\n" ); document.write( "P(7)=-49+98+54
\n" ); document.write( "P(7)=-49+152
\n" ); document.write( "P(7)= $103
\n" ); document.write( "
\n" ); document.write( "
\n" );