結果 : cost function demand function maximize profit