Looking at the bottom from the drinker’s perspective, we see a semicircle of liquid.
Divide up this semicircle into vertical stripes each of thickness
δx.
The central stripe is of length
r, and a stripe x
from the centre has length
y given by
y2 = r2 x2
Each stripe is one side of a triangular slice (thin prism) of liquid.
The central such triangle is right-angled with its hypotenuse along the surface of the liquid,
and the other adjacent side along the glass − a line that will be vertical when the glass is upright.
The volume of the triangle:
δV = ½ hr δx
All the triangles are similar, and so each has a height proportional to
y :
= hy / r
So the volume of each triangular slice is given by:
δV = ½ ( hy / r ) * y δx