plot 3sin(2x) and 2cos(x) from 0 to 2 pi