plot sin^2x+|cosx|*cosx from -2pi to 10pi