plot 2sin(pi*t) +2cos(pi*t) for t = 0 to 2