Cost and Quantity Analysis