When refering to right triangles, cos is defined to be the value of the adjacent side divided by the value of the hypotenuse.
In this triangle, c is the hypotenuse and b is the side adjacent to ∠A, so cos(∠A) = b/c = 42.0/47.0
(Final calculation left for your.)