The producer in a perfectly competitive market is faced with a demand curve whose elasticity…