document.write( "Question 1068413: Please help me with this question.
\n" ); document.write( "A restaurant decides to add homemade desserts to their menu. When they sell the desserts for $7 each, they sell 80 desserts in a week. When they raise the price to $9 each, they sell 40 desserts in a week.
\n" ); document.write( "a. Write a linear function f(x) that relates x desserts sold to the price f(x) of the desserts.
\n" ); document.write( "b. The desserts cost the restaurant $2 each to make. Write a profit function P(x) that gives the total profit for selling x desserts. (Hint: total profit= profit per item times number of items sold)
\n" ); document.write( "c. Use your profit function to find the number of desserts that maximizes profit, and then find the price that maximizes profit.
\n" ); document.write( "Thank you in advance
\n" ); document.write( "

Algebra.Com's Answer #683627 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
(x,y) for x number of deserts and y price of a desert\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Points (80,7) and (40,9).
\n" ); document.write( "y=mx+b
\n" ); document.write( "b=y-mx
\n" ); document.write( "\"y=%28%289-7%29%2F%2840-80%29%29x%2B%289%2B%281%2F20%2940%29\"
\n" ); document.write( "\"y=-%281%2F20%29x%2B9%2B2\"
\n" ); document.write( "\"y=-%281%2F20%29x%2B11\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Calling this price function f,
\n" ); document.write( "\"highlight%28f%28x%29=-%281%2F20%29x%2B11%29\"\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "SELL x DESERTS
\n" ); document.write( "Cost \"2x\"
\n" ); document.write( "Revenue \"x%2Af%28x%29=x%28-%281%2F20%29x%2B11%29=-x%5E2%2F20%2B11x\"
\n" ); document.write( "-
\n" ); document.write( "PROFIT FUNCTION \"P%28x%29=-x%5E2%2F20%2B11x-2x\"
\n" ); document.write( "or simplified,
\n" ); document.write( "\"highlight%28P%28x%29=-x%5E2%2F20%2B9x%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You can look for the maximum P.
\n" ); document.write( "
\n" );