document.write( "Question 202700: Suppose you have a lemonade stand, and when you charge $2 per cup of lemonade you sell 120 cups. But when you raise your price to $3 you only sell 60 cups. \r
\n" );
document.write( "\n" );
document.write( "a. Write an equation for the number of cups you sell as a function of the price you charge. \r
\n" );
document.write( "\n" );
document.write( "b. Denote \"C\" for number of cups, and \"P\" for the price you charge.\r
\n" );
document.write( "\n" );
document.write( "c. Assume the function is linear.\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( " Continuing our lemonade stand question:\r
\n" );
document.write( "\n" );
document.write( "a. We all know that total revenue (TR) is a function of the price we charged (P) multiplied by the item quantity sold (in our case – Cups), i.e., TR = Price * Cups\r
\n" );
document.write( "\n" );
document.write( "b. Please write the equation for your TR by inputting your answer from the function you have calculated in question #2.\r
\n" );
document.write( "\n" );
document.write( "c. What price would maximize your TR?\r
\n" );
document.write( "
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( " \r
\n" );
document.write( "\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #152881 by Theo(13342) You can put this solution on YOUR website! you can graph this as a linear equation by taking the y value and making it the price and taking the x value and making it the quantity of cups sold. \n" ); document.write( "for the equation I will be using y = m*x + b which I will be substituting and changing to c = m*p + b down below after all the work has been done. \n" ); document.write( "----- \n" ); document.write( "formula for a straight line is: \n" ); document.write( "y = m*x + b \n" ); document.write( "----- \n" ); document.write( "m = slope = delta y / delta x = (y2 - y1) / (x2 - x1) \n" ); document.write( "you have two points. \n" ); document.write( "first point: \n" ); document.write( "when price is 2, quantity sold is 120 \n" ); document.write( "when price is 3, quantity sold is 60 \n" ); document.write( "x is the price \n" ); document.write( "y is the quantity sold \n" ); document.write( "x1 = 2, y1 = 120 \n" ); document.write( "x2 = 3, y2 = 60 \n" ); document.write( "----- \n" ); document.write( "(y2-y1)/(x2-x1) = (60-120)/(3-2) = -60/1 = -60 \n" ); document.write( "your slope = m = (-60) \n" ); document.write( "----- \n" ); document.write( "you know the slope; now you want to find the y intercept. \n" ); document.write( "take any point on the graph that you know. \n" ); document.write( "(x1,y1) should do. \n" ); document.write( "(x1,y1) = (2,120) from above. \n" ); document.write( "plug it into the equation y = m*x + b to get: \n" ); document.write( "120 = -60*2 + b \n" ); document.write( "solve for b \n" ); document.write( "120 = -120 + b \n" ); document.write( "add 120 to both sides to get: \n" ); document.write( "b = 240 \n" ); document.write( "----- \n" ); document.write( "you now have the equation for the straight line. \n" ); document.write( "m = -60 \n" ); document.write( "y intercept = 240 \n" ); document.write( "equation is: \n" ); document.write( "y = -60*x + 240 \n" ); document.write( "----- \n" ); document.write( "you test this to be true by substituting known values and look for the answer you expect. \n" ); document.write( "when y = 2, x = 120 \n" ); document.write( "in the equation, y = -60*x + 240, substitute 120 for y and 2 for x to get: \n" ); document.write( "120 = -60*(2) + 240 \n" ); document.write( "which becomes \n" ); document.write( "120 = -120 + 240 \n" ); document.write( "which becomes \n" ); document.write( "120 = 120 \n" ); document.write( "which is true so the equation is good. \n" ); document.write( "----- \n" ); document.write( "your equation is good, but they wanted you to let c = number of cups sold and p = price, so you need to substitute c for y and p for x to get: \n" ); document.write( "c = -60*p + 240 \n" ); document.write( "that's your equation. \n" ); document.write( "----- \n" ); document.write( "Total Revenue is a function of price * quantity. \n" ); document.write( "our linear formula calculated quantity as a function of price. \n" ); document.write( "If Revenue is to be calculated, we can used this formula (I think). \n" ); document.write( "Our formula for quantity sold is: \n" ); document.write( "c = -60*p + 240 \n" ); document.write( "----- \n" ); document.write( "we should be able to use this same formula to solve for price as follows: \n" ); document.write( "c - 240 = -60*p \n" ); document.write( "p = -(c-240)/60 = (240-c)/60 \n" ); document.write( "----- \n" ); document.write( "we now have a formula for c, and a formula for p. \n" ); document.write( "let r = total revenue = price * quantity \n" ); document.write( "since price = p and quantity = c, we have: \n" ); document.write( "r = p*c \n" ); document.write( "we know that c = -60p + 240 \n" ); document.write( "we also know that p = (240-c)/60 \n" ); document.write( "our formula becomes: \n" ); document.write( "r = p*c = (-60p+240)*(240-c)/60 \n" ); document.write( "we multiply both sides of this equation by 60 to get: \n" ); document.write( "60*r = (-60p+240)*(240-c)/60 \n" ); document.write( "----- \n" ); document.write( "we solve this eqauation to get: \n" ); document.write( "60*r = -14400p + 60p*c + 57600 - 240c \n" ); document.write( "----- \n" ); document.write( "we divide both sides of this equation by 60 to get: \n" ); document.write( "r = -240p + p*c + 960 - 4c \n" ); document.write( "----- \n" ); document.write( "since c = -60p + 240, we substitute for c by replacing it with -60p + 240 in the equation to get: \n" ); document.write( "r = -240p + p*(-60p+240) + 960 - 4(-60p+240) \n" ); document.write( "----- \n" ); document.write( "this becomes: \n" ); document.write( "r = -240p - 60p^2 + 240p + 960 +240p - 960 \n" ); document.write( "----- \n" ); document.write( "this reduces to: \n" ); document.write( "r = -60p^2 + 240p \n" ); document.write( "----- \n" ); document.write( "our equation for revenue is r = -60p^2 + 240p \n" ); document.write( "----- \n" ); document.write( "to find the roots, we set it equal to 0. \n" ); document.write( "-60p^2 + 240p = 0 \n" ); document.write( "multiply both sides of the equation by (-1) to get: \n" ); document.write( "60p^2 - 240p = 0 \n" ); document.write( "divide both sides of the equation by 60 to get: \n" ); document.write( "p^2 - 4p = 0 \n" ); document.write( "factor out the p to get: \n" ); document.write( "p*(p-4) = 0 \n" ); document.write( "the roots are: \n" ); document.write( "p = 0 \n" ); document.write( "or \n" ); document.write( "p = 4 \n" ); document.write( "these would be the points where revenue would = 0 which means that the graph crosses the x axis. \n" ); document.write( "from the equation you see that when p = 0 r = 0. \n" ); document.write( "from the equation you see that when p = 4, r = 0 \n" ); document.write( "----- \n" ); document.write( "since this is a quadratic equation, we can find the maximum/minimnum point by taking -b/2a. \n" ); document.write( "standard form of quadratic equation is ax^2 + bx + c = 0 \n" ); document.write( "our equation is p^2 - 4p = 0 (the p stands for x). \n" ); document.write( "this makes: \n" ); document.write( "a = 1 \n" ); document.write( "b = -4 \n" ); document.write( "c = 0 \n" ); document.write( "----- \n" ); document.write( "-b/2a = 4/2 = 2 \n" ); document.write( "our equation will be at a maximum or at a minimum when p = 2. \n" ); document.write( "it turns out to be a maximum, so we have maximum revenue with p = 2. \n" ); document.write( "when p = 2, c = 120. \n" ); document.write( "a graph of the equation is shown below. \n" ); document.write( "----- \n" ); document.write( "the equation we are graphing is the final equation for revenue which was: \n" ); document.write( "r = -60p^2 + 240p \n" ); document.write( "----- \n" ); document.write( "to graph the equation, we set \n" ); document.write( "x = p = price of lemonade \n" ); document.write( "and we set the y = c = quantity of cups of lemonade sold \n" ); document.write( "values on the x-axis becomes the price of lemonade and values on the y-axis become the quantity of cups of lemonade sold. \n" ); document.write( "----- \n" ); document.write( " \n" ); document.write( "----- \n" ); document.write( "this problem was not tremendously difficult to solve, but it was tricky. \n" ); document.write( "you had to keep very close attention to the numerous sign changes that occurred. \n" ); document.write( "you needed to know the formula for a straight line. \n" ); document.write( "you needed to know the formula for a quadratic equation. \n" ); document.write( "you needed to know the formula for the maximum/minimum point of a quadratic equation. \n" ); document.write( "you needed to know that you could get the formula of p from the formula for c, or that you could get the formula of c from the formula for p. \n" ); document.write( "you needed to know that you could substitute c for p, or p for c, in the final equation to eliminate one of the unknowns. \n" ); document.write( " \n" ); document.write( " |