TeX source:
Average \ inventory = (Beginning \ inventory + Ending \ inventory)/2