Question

(USING MATLAB) Given two differential equations X= sin(t)(exp(cos(t))-2cos(4t)+sin(t/12)^5) And Y = cos(t)(exp(cos(t))-2cos(4t)+sin(t/12)^5) where 0<t<20pi is a...

(USING MATLAB)

Given two differential equations X= sin(t)(exp(cos(t))-2cos(4t)+sin(t/12)^5)

 

And Y = cos(t)(exp(cos(t))-2cos(4t)+sin(t/12)^5) where 0<t<20pi is a vector of 5000 points created by using (linspace) command :

Write script to plot X and Y with red color ?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

code:

t=linspace(0,20*pi,5000);
x=sin(t).*(exp(cos(t))-2*cos(4*t)+sin(t/12).^5)
y=cos(t).*(exp(cos(t))-2*cos(4*t)+sin(t/12).^5)
subplot(1,2,1)
plot(t,x,'r')
subplot(1,2,2)
plot(t,y,'r')

figure:

comment if you have any queries or doubts and please like if you get it

Add a comment
Know the answer?
Add Answer to:
(USING MATLAB) Given two differential equations X= sin(t)(exp(cos(t))-2cos(4t)+sin(t/12)^5) And Y = cos(t)(exp(cos(t))-2cos(4t)+sin(t/12)^5) where 0<t<20pi is a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT