Source: https://www.managementaccounting.info/wp-content/uploads/2015/12/Demonstration-of-AVCO-etc.pdf