The method in which sum of prices of all the commodities in the current period is divided by the total…