If the function y = sin (x + Q) (0 ≤ Q ≤ PI) is even on R, what is the value of Q

If the function y = sin (x + Q) (0 ≤ Q ≤ PI) is even on R, what is the value of Q

∵ the function y = sin (x + Q) (0 ≤ Q ≤ PI) is an even function on R
Then the intersection of the curve and the Y axis is the highest point or the lowest point
When x = 0, y is the maximum
Substitute x = 0 in
sinq=±1
∴q=kπ+π/2,k∈Z
∵ 0 ≤ Q ≤ p
∴k=0,
q=π/2