Let a and b be real numbers. Find the maximum value of 2 + a*cos(x) + b*sin(y) in terms of a and b.
x = 0 deg, y = 90 deg, max = 2 + a + b.