A firm is facing a downward-sloping demand curve: q = 96 - 2P.
a) Write the inverse demand function, i.e. write P as a function of q.
b) Derive the total revenue as a function of q.
c) Derive the marginal revenue as a function of q.
d) Graph the demand curve and the marginal revenue curve in one graph.