cavalieri equation