Applying the Average Cost Flow Assumption in a Periodic Inventory System