import math
def surface_area_of_pyramid(side_length, height):
surface_area = (side_length * side_length) + 2 * \
(side_length * math.sqrt(math.pow(height, 2) +
math.pow((side_length / 2), 2)))
return surface_area
side_length = 8.0
height = 14.0
print(surface_area_of_pyramid(side_length, height))
'''
run:
296.96351645697655
'''