document.write( "Question 66187: Peter has 40 pumpkins to sell. He will sell them all if he sets his price at $1.00 each, but will sell one less pumpkin for each 5 cent increase in price. What price should he charge to maximize his earnings?(Show algebraically)
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "thank you!
\n" ); document.write( "

Algebra.Com's Answer #46922 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Peter has 40 pumpkins to sell. He will sell them all if he sets his price at $1.00 each, but will sell one less pumpkin for each 5 cent increase in price. What price should he charge to maximize his earnings?
\n" ); document.write( ":5
\n" ); document.write( "Then amt sold will be (40-x); the price will be (1+.05x), y = total earnings
\n" ); document.write( ":
\n" ); document.write( "y = pumpkins sold * price:
\n" ); document.write( "y = (40-x)(1+.05x)
\n" ); document.write( "FOIL
\n" ); document.write( "y = 40 + 2x - 1x - .05x^2
\n" ); document.write( "y = 40 + x - .05x^2
\n" ); document.write( ":
\n" ); document.write( "Put it in the standard y = ax^2 + bx + c form:
\n" ); document.write( "y = -.05x^2 + x + 40
\n" ); document.write( ":
\n" ); document.write( "The max revenue(y) will occur at the vertex. Vertex equation: x = -b/(2a)
\n" ); document.write( "In our equation a=-.05; b= 1
\n" ); document.write( "x = -1/(2*-.05)
\n" ); document.write( "x = -1/-.1
\n" ); document.write( "x = 10
\n" ); document.write( "That means that the cost = $1 + (10*.05) = $1.50 a piece for max earnings
\n" ); document.write( "Number of pumpkins sold will be 40 - 10 = 30 pumpkins sold at that price
\n" ); document.write( "Total revenue: 30 * 1.50 = $45
\n" ); document.write( ":
\n" ); document.write( "A graphical presentation will make it clear to you:
\n" ); document.write( "\"+graph%28+300%2C+200%2C+-10%2C+40%2C+-5%2C+50%2C+-.05x%5E2+%2B+x+%2B+40%29+\"
\n" ); document.write( ":
\n" ); document.write( "Notice that the max earnings occurs when x = 10
\n" ); document.write( ":
\n" ); document.write( "He only needs to sell 30, that leaves 10 that he can give away or make pies or something, right?
\n" ); document.write( "
\n" );