Determination of EOQ