document.write( "Question 1078618: A pizza shop has determined that it can sell x pizzas per night at a price of (9 - 0.02 x) dollars per pizza. There are fixed costs totalling $110 per night to run the shop, plus $3 for each pizza made. To maximize profit, how many pizzas should be made each night?\r
\n" ); document.write( "\n" ); document.write( "To achieve a maximum profit of $_______________ per night, make____________ pizzas a night.
\n" ); document.write( "

Algebra.Com's Answer #693076 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
The income per night is:
\n" ); document.write( "\"+x%2A%28+-.02x+%2B+9+%29+\"
\n" ); document.write( "The cost to make pizza per night is:
\n" ); document.write( "\"+3x+%2B+110+\"
\n" ); document.write( "---------------------
\n" ); document.write( "Let \"+P+\" = profit per night
\n" ); document.write( "[ profit ] = [ income ] - [ cost ]
\n" ); document.write( "\"+P+=+x%2A%28+-.02x+%2B+9+%29+-+3x+-+110+\"
\n" ); document.write( "\"+P+=+-.02x%5E2+%2B+9x+-+3x+-+110+\"
\n" ); document.write( "\"+P+=+-.02x%5E2+%2B+6x+-+110+\"
\n" ); document.write( "-----------------------------------
\n" ); document.write( "The x-value of the maximum is:
\n" ); document.write( "\"+x%5Bmax%5D+=+-b%2F%282a%29+\"
\n" ); document.write( "\"+a+=+-.02+\"
\n" ); document.write( "\"+b+=+6+\"
\n" ); document.write( "\"+-b%2F%282a%29+=+-6%2F%282%2A%28-.02%29%29+\"
\n" ); document.write( "\"+x%5Bmax%5D+=+-6%2F%28-.04%29+\"
\n" ); document.write( "\"+x%5Bmax%5D+=+150+\"
\n" ); document.write( "----------------------
\n" ); document.write( "plug this back into \"+P+\" to get \"+P%5Bmax%5D+\"
\n" ); document.write( "\"+P%5Bmax%5D+=+-.02%2A150%5E2+%2B+6%2A150+-+110+\"
\n" ); document.write( "\"+P%5Bmax%5D+=+-450+%2B+900+-+110+\"
\n" ); document.write( "\"+P%5Bmax%5D+=+340+\"
\n" ); document.write( "----------------------
\n" ); document.write( "The maximum profit of $340/night can be
\n" ); document.write( "earned by making 150 pizzas
\n" ); document.write( "--------------------------------
\n" ); document.write( "Here's a plot of the profit function:
\n" ); document.write( "\"+graph%28+400%2C+400%2C+-40%2C+350%2C+-40%2C+400%2C+-.02x%5E2+%2B+6x+-+110+%29+\"
\n" ); document.write( "
\n" ); document.write( "
\n" );