The average-energy numerator is built from three visible weighted terms. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Energy contribution row 1
Energy 0 times weight 4 contributes 0 joules to the numerator.
1⋅0⋅4=0
Energy contribution row 2
Energy 2 times weight 2 contributes 4 joules to the numerator.
1⋅2⋅2=4
Energy contribution row 3
Energy 4 times weight 1 contributes 4 joules to the numerator.
1⋅4⋅1=4
All weighted terms make the average-energy numerator
The three contributions sum to eight joules. Dividing by the same partition total seven gives the average energy eight sevenths of a joule.