A Dynamic Inventory/Maintenance Model