tan (A) = y/x = -√3/1 = √3/-1 ..........since A is between 0 and pi.....then x must be a 2nd quadrant angle since the tangent is negative there
So.....the cos (A) will be also be negative in this quadrant
r = sqrt [ (-1) + (√3)^2 ] = sqrt 4 = 2
cos (A) = x / r = - 1/2