If ∫sin(π4−x)2+sin2xdx=Atan−1(f(x))+B, where A and B are constant, then the range of Af(x) is
Range of the function y=2x−2−x2x+2−x is