sin(a) = 4/5, π/2 < a < π (located on the 2nd qudrant)
y = 4, r = 5
Using r2 = x2 + y2
52 = x2 + 42
52- 42 = x2
x2 = 25 - 16
x2 = 9
x = - 3 (x on second quadrant is negative)
∴ cos (a) = x / r = -3/5
cos (b) = 2/3, 0 < a < π/2 (located on the 1st quadrant)
x=2, r=3
Using r2 = x2 + y2:
32 = 22 + y2
32 - 22 = y2
y2 = 9 - 4
y2 = 5
y = 51/2 (y is positive on the 1st quadrant)
∴ sin (b) = 51/2 / 3
The sum formula for cosine:
cos(a+b) = cos(a)•cos(b) − sin(a)•sin(b)
Substitute:
cos(a+b) = (-3/5)(2/3) - (4/5)(51/2/3)
cos(a+b) = - 6/15 - (4•51/2/15)
Factor out -2/15:
cos(a+b) = (- 2/15)(3 + 2•51/2)
cos(a+b) ≈ -0.99628