Effect of production costs on price and quantity