Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!