結果 : derive cost function from production function