document.write( "Question 357428: Hey,
\n" ); document.write( "for each pair of revenue and cost functions, determine
\n" ); document.write( "i) the profit function
\n" ); document.write( "ii) the value of x that maximizes profit\r
\n" ); document.write( "\n" ); document.write( "a) R(x)=-x^2+24x, C(x)=12x+28
\n" ); document.write( "
\n" ); document.write( "i got part i) it was, -x^2+12x+28 but i have no idea how to do part ii)\r
\n" ); document.write( "\n" ); document.write( "thanks
\n" ); document.write( "

Algebra.Com's Answer #255243 by user_dude2008(1862)\"\" \"About 
You can put this solution on YOUR website!
i) P=R-C = -x^2+24x-(12x+28) = -x^2+24x-12x-28 = -x^2+12x-28\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "ii) x=-b/2a = -12/2(-1) = 6\r
\n" ); document.write( "\n" ); document.write( "Answer x=6
\n" ); document.write( "
\n" );