It is your Home work which is really simple. And you should do it. Here are the hints.
- Define intial value x0 = -2*pi ;
- Define final value x1 = +2*pi ;
- Use linspace. Read about it. Create the required vector x.
- Use the functions sin(x) for sin and cos(x) for cos.
- Use plot to plot the required. Read about plot.