plot cos(x) and sin(x)