the maximum value of any sine and cosine is 1
therefore coefficient of each function determine which one has largest maximum value
2(cosx) has maximum value for x=0 or 2pi and it is 2
3 sin ( x+ pi) has maximum value for x= 3pi / 2 or - pi/2
the function has a value ( 0,2)