Can anyone help me with what seems like an easy problem?
I think he's using Simpson's rule. If I'm correct, it looks like he's trying to show the relation between the midpoint rule and the trapezoidal rule with Simpson's rule.
This weighted average is Simpson's rule.
Looking at his equation,
= weighted average = Simpson's Rule
Not totally sure what these subscripts are, but there's a start.