```python
import math

def area_pentagon(a):
  """
  Calculates the area of a regular pentagon given its side length.

  Args:
    a: The side length of the regular pentagon.

  Returns:
    The area of the pentagon.
  """
  # Formula for the area of a regular pentagon:
  # Area = (1/4) * sqrt(5 * (5 + 2 * sqrt(5))) * a^2
  area = (1/4) * math.sqrt(5 * (5 + 2 * math.sqrt(5))) * a**2
  return area
```