summaryrefslogtreecommitdiff
path: root/progs/a860.py
blob: bce4d9e7e9e360bcf4a0e59c7071aec750ef928a (plain)
1
2
3
4
5
import math
def surfacearea_cone(r,h):
  l = math.sqrt(r * r + h * h)
  SA = math.pi * r * (r + l)
  return SA