Maxima Function
polarform (expr)
Returns an expression r %e^(%i theta) equivalent to expr, such that r and theta are purely real.
r %e^(%i theta)
r
theta