Volume Between Two Surfaces
For a solid between a bottom surface z = g(x, y) and a top surface z = f(x, y), the z-limits are g ≤ z ≤ f, and the inner integral is the height f − g.
To decide which surface is on top, test one point of D: at (0, 0), 8 − 0 = 8 is above 0, so 8 − x² − y² is the top. A solid between 2 surfaces that cross needs to be split where they cross.
