Two panels with the same pink wavy curve. Left: 4 wide orange strips under it, whose flat tops miss the wave by a lot. Right: 12 thin orange strips whose flat tops hug the wave.

Thinner strips fit the wavy edge better. Make them as thin as you like, and the sum becomes smooth. That smooth sum is the integral — all the coins added.