PROBLEM 2: Given that:
x = -10:.01:10;
y1 = 3Cos(x)-Sin(x)
y2 = 5Cos(x)-Sin(x) - 8
y3 = Cos(x)-3Sin(x)
1. Write a script that will do the following:
2. Generate the data for x ranging from -10 to 10 with 0.01 increment.
3. Use the x values to calculate y1, y2 and y3
4. Plot x,y1, x,y2 and x,y3 all on the same plot
5. Label it with any 'cool' title, x axis and y axis.
6. Run your script, save your plot as jpg file and insert your plot to your report. (report will be the code and the plot)