STSTEER

Efficient Surplus

Computing total surplus at the competitive equilibrium of linear demand and supply.

Question template

I am analyzing the market for video game consoles. In this market, the demand function by consumers is given by d curve, and the supply function, describing the cost of production for these consoles, is given by s curve. Here both functions give the price P as a function of the quantity Q. What is the total surplus at the competitive equilibrium?

Use it

from datasets import load_dataset
ds = load_dataset("narunraman/steer_me", "efficient_surplus")