Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 1 ) d y d x = x 2 - y 3 y ( 0 ) = 0 le noticed before that there is
le noticed before that there is no way for us to solve this system by any analytic method, but since is a continuous function, we know that a solution exists on some interval around the initial value We saw using slope field and drawode roughly what the solution curve looks like. Now let's se our new numerical method to estimate the solution.
Exercise
a Run Euler's Method in MATLAB for the inital value problem on the interval Use different colors to plot the estimates for the following values of : and
Remember to use hold on Some of the colors you can use with MATLAB's plot command are my and
Notice that the axis is very large. Rescale the axis to range from to Assignment showed us how to do this. Given the results of the plot, what can you say about the accuracy of the case? You do not need to include the actual data in the table in your writeup, only the plot and your written answer.
b Enter hold off so that MATLAB will overwrite your previous plot, and this time, run Euler's Method with the values and Plot the results on one graph using colors of your choice, and rescale so that ranges from to Paste this plot into your writeup.
Did the additional shrinking of change the results significantly? What does this suggest about the accuracy of your solution for each step size? Comment on the consistency of your plot with the direction field shown at the top of the page, and also describe any inconsistencies between different step sizes.
Answer in MATLAB code please!
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