plot 1 - cos x from -10 to 10