Answered step by step
Verified Expert Solution
Link Copied!

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)

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Creating A Database In Filemaker Pro Visual QuickProject Guide

Authors: Steven A. Schwartz

1st Edition

0321321219, 978-0321321213

More Books

Students also viewed these Databases questions

Question

B War no. Hhwe 1200 - B War no. Hhwe 1200

Answered: 1 week ago

Question

=+j Explain the essential nature of repatriation.

Answered: 1 week ago