The maximum value of the function y = x-sinx on [π / 2, π]? Please indicate the reason,

The maximum value of the function y = x-sinx on [π / 2, π]? Please indicate the reason,

y‘=1-cosx
Obviously cosx