Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started