y=1 and sin x;x from -3*pi to 3*pi