y=sin^2x+sin2x+2cos^x