A sphere of radius rcm has the same volume as cylinder of radius 3cm and…