Question

Please solve the Cauchy problem 3y'y''=2y, y(0)=1, y'(0)=1 on the interval (0,2). Plot the graphs of...

Please solve the Cauchy problem 3y'y''=2y, y(0)=1, y'(0)=1 on the interval (0,2). Plot the graphs of y(x) and y'(x).

Please solve this equation using the program MatLab. The answer must be represented as a Word document (.doc). It must be a code. Remember: the task must be done as a program (a code) written in MatLab, not just mathematical calculations.

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

Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc
clear all
f=@(t,y) [y(2);(2*y(1))/(3*y(2))];
tspan=0:0.01:2;
[t,y]=ode45(f,tspan,[1 1]);
plot(t,y(:,1));
hold on;
plot(t,y(:,2),'r');
legend('y(x)','y''(x)')

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Please solve the Cauchy problem 3y'y''=2y, y(0)=1, y'(0)=1 on the interval (0,2). Plot the graphs of...
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