A cylindrical tank lying on its side is narrow at the bottom, wide in the middle and narrow at the top, so the fuel volume doesn't rise evenly with depth. The cross-section is an integral of a square root, √(r² − y²), and trig substitution turns it into something you can integrate.