結果 : average cost method formula with example