cos(arctan(x/y))