A baseball team plays in a stadium that holds 56000 spectators. With the ticket price at $9 the average attendance has been 24000. When the price dropped to $8, the average attendance rose to 28000.
a) Find the demand function , where is the number of the spectators
b) How should ticket prices be set to maximize revenue?