Demand Function and Consumers' Surplus