import math

def surfacearea_cone(r, h):
    slant_height = math.sqrt(r * r + h * h)
    return math.pi * r * (r + slant_height)