Question: 
Write a function to find the area of a pentagon.


Model's Code:
def area_pentagon(side_length):
    import math
    return (5 * side_length**2) / (4 * math.tan(math.pi / 5))



Sample Correct Code:
import math
def area_pentagon(a):
  area=(math.sqrt(5*(5+2*math.sqrt(5)))*pow(a,2))/4.0
  return area


Asserts:
assert area_pentagon(5)==43.01193501472417
assert area_pentagon(10)==172.0477400588967
assert area_pentagon(15)==387.10741513251753


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 488 of 974: 361/488 (73.97540983606558%): success