In order to maximize profits in the short run, a firm should produce where:

a. marginal revenue exceeds marginal cost by the greatest amount.
b. marginal cost is minimized.
c. average total cost is minimized.
d. marginal cost equals marginal revenue.