plot (3*sin(x)-sin(x)^2,-4,2,-2) for x from -2*Pi to 2*Pi