def topbottom_surfacearea(r):
  toporbottomarea=3.1415*r*r
  return toporbottomarea