Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - eoq(<n on hand>, <n demand>, <n cost>, <n price>, <n overhead>) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson