EOQ(<N on hand>, <N demand>, <N cost>, <N price>, <N overhead>)
Computes the Economic Order Quantity of an item.
Returns <expN> economic order quantity.
<on hand> is the quantity of an item on hand.
<demand> is the average demand per order period.
<cost> is the cost of placing an order.
<price> is the purchase price per unit.
<overhead> is the percentage of <price> required for inventory overhead.
Returns zero if the amount on hand is greater than or equal to
twice the average demand per order period.
* EOQ of an item with this data:
* Quantity on hand: 150
* Average demand per month: 100
* Cost of placing an order: 10.00
* Purchase price per unit: 17.95
* Cost % for inventory overhead: 5%
m_eoq = EOQ( 150, 100, 10.00, 17.95, 0.05 )
* m_eoq contains 47
Placed in the Public Domain by Tom Rettig Assoc.