Question

9. A parametric equation is given by Plot the function for osese. Format the plot such that both axes will range from-1.5 to L.S 1e. The butterfly curve (Fay, T H The Betterly Curve Amer. Math. Meethly 96, pp 442-443 1989) is given by the foBowing parametric equ tions On one page make two plots of butterfly curves One for os2 and the other for 40 II. A plot of an astroad is shown in the fiqure on the right

resolve using MATLAB

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

1clear all, clo 2x- (t) 0.7 sin (10 t): x(t) y(t) y-S(t)1.2 sin(8*t): t=[O :0.001 : p1); for i-1:length (t) 0.5 end 9plot (t,X, b, t, Y, r 10 legend ( x (t) , y (t) , Location , Best ) xlim I-1.5 1.5]) 12 ylim (I-1.5 1.5]) 13-xlabelt) 14-ylabel (x(t) and y(t)) 15 grid on 1.5 0.5 1.5 prob39.mprob40.m xclear all, clc
x=@(t)0.7*sin(10*t);
y=@(t)1.2*sin(8*t);
t=[0:0.001:pi];
for i=1:length(t)
X(i)=x(t(i));
Y(i)=y(t(i));
end
plot(t,X,'b',t,Y,'r')
legend('x(t)','y(t)','Location','Best')
xlim([-1.5 1.5])
ylim([-1.5 1.5])
xlabel('t')
ylabel('x(t) and y(t)')
grid on

Add a comment
Know the answer?
Add Answer to:
resolve using MATLAB 9. A parametric equation is given by Plot the function for osese. Format...
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