f(x) = 0.5x² + 1 on [0, 4]

Rectangle height from