SOLUTION: This is my question: You own a lemonade stand, when you charge $2 a cup you sell 120 cups. When you raise the price to $3 you only sell 60 cups. Write an equation for the numb

Algebra ->  Functions -> SOLUTION: This is my question: You own a lemonade stand, when you charge $2 a cup you sell 120 cups. When you raise the price to $3 you only sell 60 cups. Write an equation for the numb      Log On


   



Question 80886: This is my question:
You own a lemonade stand, when you charge $2 a cup you sell 120 cups. When you raise the price to $3 you only sell 60 cups. Write an equation for the number of cups you sell as a function of the price you charge. "c" for number of cups and "p" for the price charged. Assume the function is linear.
I have been working on this for days and can't figure it out. Please help!

Answer by Earlsdon(6294) About Me  (Show Source):
You can put this solution on YOUR website!
I would start with the slope-intercept form of a linear equation:
y = mx + b
But, because you are addressing variables that are different from x (the independent variable) and y (the dependent variable), I would change to the variables P (the independent variable) and C (the dependent variable).
In this problem, C (the number of cups sold) is the dependent variable because it depends on the price (P) that is charged for each cup.
Since you are given two ponts (P, C) on the line: (2, 120) and (3, 60) you can find the slope, m by using the slope formula: m+=+%28y%5B2%5D-y%5B1%5D%29%2F%28x%5B2%5D-x%5B1%5D%29 or, in your variables:m+=+%28C%5B2%5D-C%5B1%5D%29%2F%28P%5B2%5D-P%5B1%5D%29
m+=+%2860-120%29%2F%283-2%29
m+=+-60%2F1
m+=+-60
So you can write:
C = -60P + b Remember, we are substituting C for y and P for x.
Now you need to find the value of b, the y-...oops, I mean the C-intercept.
You can do this by substituting the C and P values from one of the given points, say (3, 60) into this equation and solve for b.
60 = -60(3) + b Simplify.
60 = -180 + b Add 180 to both sides.
240 = b
Now you can write the final equation:
C = -60P + 240
Check:
For P = $2 and C = 120 cups:
120 = -60(2)+240
120 = -120+240
120 = 120
...and for P = $3 and C = 60 cups:
60 = -60(3)+240
60 = -180+240
60 = 60