The functions discmethod and shellmethod implement the
algorithms for finding the volume of solids of revolution. The
discmethod function is suitable for volumes revolved around
the x-axis and the shellmethod function is suitable for
volumes revolved around the y-axis.