結果 : average cost function equation