Trigonometry method and complex method.