Question: Q-1 plot the function y(x) = 2e^-0.2x for range 0
Q-1
plot the function y(x) = 2e^-0.2x for range 0<=x<=10
Q-2 Create the arrays
x = [0:360]; y = sin(x*pi/180);
Plot y against x, with a blue line where y is positive, and a red line where y is negative.
Now create another variable z equal to the cosine of x (N.B. you will need to convert x from degrees to radians as in the definition of y above).
Add a plot of z against x as a cyan line...and overplot circles where both sine and cosine are negative.
Can you solve this two in MATLAB? Thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
