Observe the figure:
\The circular cylinder radius is .
The cross sections are squares.
\Therfore .
The area is .
Substitute in the formula.
.
Find volume.
\The volume of the square is .
Integral limits and
.
Substitute and
and
.
The volume of solid is cubic units.
The volume of solid is cubic units.