For the following exercises, use the theorem of Pappus to determine the volume of the shape.

A general cylinder created by rotating a rectangle with vertices $(0,0), \quad(a, 0),(0, b),$ and $(a, b)$ around the $y$ -axis. Does your answer agree with the volume of a cylinder?