Now that we know the formula it is necessary to calculate each of its elements, starting with the m: