plot sinx and cosx from 0 to 2pi