Find the intervals on which f is increasing and decreasing.
f(x)=cos^2(x) on [-pi, pi]
f(x)=cos^2(x) on [-pi, pi]