Solve for θ -90 degrees <=theta<=90 degrees