how do you calculate the maximum volume of a cylinder?

http://www.mathsteacher.com.au/year9/ch14_measurement/18_cylinder/cylinder.htm