Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a) Use the dso ve command in MATLAB to tind an explicit solution to dy (y-1)2, y(0)= 1 b) Using MATLAB, plot your solution from
a) Use the dso ve command in MATLAB to tind an explicit solution to dy (y-1)2, y(0)= 1 b) Using MATLAB, plot your solution from part a) over-5sxs5 Let's see what happens when we make a very small change to the initial condition. c) Use the dsolve command in MATLAB to find an explicit solution to dy ax = (y-1)2, y(0)= 1.01 di Using MATLAB, plot your solution from part c) over -100 Sxs 250 Now, let's see what happens when we make a very small change to the differential equation. e) Use the dsoe command in MATLAB to find an explicit solution to 6x1)0.01. y(o) 1 f Using MATLAB, plot your solution from part e) over-20 SxS 20 and-5 3 ys5. (You can change the window in the y direction using the axis command-the same command you used in problem 2) above.) Compare the solutions to the three IVPs using the plots that you created in MATLAB in parts b), d), and f) by answering the following questions g) i. Are the solutions relatively similar or are they totally different? ii. f they are different, how are they different? ii. Given that all three IVPs were very similar, would you expect this behavior in the solutions? Now use MATLAB to plot al three of your solutions (found in parts a), c), and el) on the same plot and each over 1 x your plot. h) and 0.98 s y S 1.02, Add a descriptive title to a) Use the dso ve command in MATLAB to tind an explicit solution to dy (y-1)2, y(0)= 1 b) Using MATLAB, plot your solution from part a) over-5sxs5 Let's see what happens when we make a very small change to the initial condition. c) Use the dsolve command in MATLAB to find an explicit solution to dy ax = (y-1)2, y(0)= 1.01 di Using MATLAB, plot your solution from part c) over -100 Sxs 250 Now, let's see what happens when we make a very small change to the differential equation. e) Use the dsoe command in MATLAB to find an explicit solution to 6x1)0.01. y(o) 1 f Using MATLAB, plot your solution from part e) over-20 SxS 20 and-5 3 ys5. (You can change the window in the y direction using the axis command-the same command you used in problem 2) above.) Compare the solutions to the three IVPs using the plots that you created in MATLAB in parts b), d), and f) by answering the following questions g) i. Are the solutions relatively similar or are they totally different? ii. f they are different, how are they different? ii. Given that all three IVPs were very similar, would you expect this behavior in the solutions? Now use MATLAB to plot al three of your solutions (found in parts a), c), and el) on the same plot and each over 1 x your plot. h) and 0.98 s y S 1.02, Add a descriptive title to
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