summaryrefslogtreecommitdiff
path: root/progs/a130.py
blob: 4197e630cfb02712d5a363386b957c357abf2a0f (plain)
1
2
3
4
5
import math
def lateralsurface_cone(r,h):
  l = math.sqrt(r * r + h * h)
  LSA = math.pi * r  * l
  return LSA