In the
direction we consider the
subintervals [0, 1] and [1, 2] (each with length 1), while in the
direction we consider the
subintervals [0, 2] and [2, 4] (with length 2). Then the lower right corners of the cells in the partition of
are (1, 0), (2, 0), (1, 2), (2, 2).
Let
. The volume of the solid is approximately

###
More generally, the lower-right-corner Riemann sum over
and
subintervals would be

Then taking the limits as
and
leaves us with an exact volume of
.