plot sin and cos from -pi to pi