summaryrefslogtreecommitdiff
path: root/progs/a851.py
blob: 4fd1a4bd6a997bc85db99d4a8b93e0c2ee6d6ac8 (plain)
1
2
3
4
import math
def area_pentagon(a):
  area=(math.sqrt(5*(5+2*math.sqrt(5)))*pow(a,2))/4.0
  return area