The functions y=sin,x and y=sin(x+a)+b, for constants a and b, are graphed in the standard (x,y) coordinate plane below. The functions have the same maximum value. One of the following statements about the values of a and b is true. Which statement is it?

A. a<0andb=0
B. a<0andb>0
C. a=0andb>0
D. a>0andb<0
E. a>0andb>0