A baseball team plays in a stadium that holds 51,000 spectators. With ticket prices at $10, the average attendance had been 16,000. When ticket prices were lowered to $8, the average attendance rose to 24,000.
(a) Find the demand function (price p as a function of attendance x), assuming it to be linear. p(x) =
(b) How should ticket prices be set to maximize revenue? (Round your answer to the nearest cent.)