```python
import math

def surfacearea_sphere(r):
  """
  Calculates the surface area of a sphere.

  Args:
    r: The radius of the sphere.

  Returns:
    The surface area of the sphere.
  """
  if r < 0:
    raise ValueError("Radius cannot be negative")
  return 4 * math.pi * (r ** 2)

```