plot 2sin^2x - 3cos^2x from x=0 to x=pi