What are the extrema of #g(x) = cos^2x+sin^2x?# on the interval #[-pi,pi#?