graph cos(x)