Solve for r e=ir