Weighted average-of-relatives index

In case of average of weighted relatives, price relative of each commodity is multiplied by the weight of that commodity and the sum of these products is divided by the sum of weights of all the commodities. Weighted average-of-relatives index can be calculated by...