Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a computer program (prefer Matlab, Excel OK) that will solve the following 1st order differential equation with initial value. y'=-2x3+12x2-20 x + 8.5 y(0)
Create a computer program (prefer Matlab, Excel OK) that will solve the following 1st order differential equation with initial value. y'=-2x3+12x2-20 x + 8.5 y(0) 1 a) First find the analytic solution. This is the exact solution and we will use to evaluate the errors of the numerical methods b) Solve using the Euler method with step size h = 0.5, and over the range from x-0 to x=4. Create an M-file if using MATLAB or spreadsheet with Excel. Put all results in a Table Calculate the yn for each step, as well as the exact value for each xn. The difference is the Error of Euler method. c) Repeat the problem using a step size of 0.25
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