document.write( "Question 967155: A food truck sells 500 sandwiches per day when they charge $9 per sandwich. It sells 100 more sandwiches per day for each $1 decrease in price. What price should the vendor charge to maximize the profit? What would be the maximum profit?\r
\n" ); document.write( "\n" ); document.write( "My Work:\r
\n" ); document.write( "\n" ); document.write( "let x = number of money decrease
\n" ); document.write( "let y = profit\r
\n" ); document.write( "\n" ); document.write( "y=500+9x
\n" ); document.write( "y=9-1x\r
\n" ); document.write( "\n" ); document.write( "y=(500+9x)(9-x)
\n" ); document.write( "y=4500-9x^2-500x+81x
\n" ); document.write( "y=(-9x^2)-419x+4500\r
\n" ); document.write( "\n" ); document.write( "I tried to solve using quadratic formula but my answer was way too large of a number. What did I do wrong?
\n" ); document.write( "

Algebra.Com's Answer #591107 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
Your first equation is wrong. Profit means revenue minus cost.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "First, try to examine revenue and cost, either separately or together.
\n" ); document.write( "Examining your description further, you have no way to know about profit because you have no cost information.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x, Money Decrease________Price_________count__________Revnu_________
\n" ); document.write( "0________________________9_____________500
\n" ); document.write( "1________________________8_____________500+1*100
\n" ); document.write( "2________________________7___________500+2*100
\n" ); document.write( "3______________________9-3___________500+3*100
\n" ); document.write( "x______________________9-x___________500+100x_______(9-x)(500+100x)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You have now the function for revenue, using input, independant variable, x, the number of dollar decrease from $9.
\n" ); document.write( "\"highlight%28R%28x%29=%289-x%29%28500%2B100x%29%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Further factoring would be useful:
\n" ); document.write( "\"highlight%28R%28x%29=100%289-x%29%285%2Bx%29%29\";
\n" ); document.write( "you should be able to find the roots and know how to handle the rest of the solution. Recall, this is only for revenue because your problem description gives nothing about cost.
\n" ); document.write( "
\n" );