Minimizing
Minimizing
C
2
leads to
. This gives
which is the weighted mean.