maximizing profit calculus
posted by julie
During the summer months Terry makes and sells necklaces on the beach. Last summer he sold the necklaces for $10 each and his sales averaged 20 per day. When he increased the price by $1, he found that he lost two sales per day.
a. Find the demand function, assuming it is linear.
b. If the material for each necklace costs Terry $6, what should the selling price be to maximize his profit?
for a, i got y=-.5x+20
i got the slope by: p(20)=10 and p(18)=11
how do i do part b