# File lib/complex.rb, line 115 def Complex.polar(r, theta) Complex(r*Math.cos(theta), r*Math.sin(theta)) end