Source TeX:
z = r(cos(\theta) + i sin(\theta))