Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) If you haven't already done so, enter the following commands: f=0(t,y)1.5y; t=1 inspace (0,0.8,100);y=4exp(1.5t);% define exact solution of the ODE [t80,y80]= euler (f,[0,0.8],4,80);% solve

image text in transcribed
(a) If you haven't already done so, enter the following commands: f=0(t,y)1.5y; t=1 inspace (0,0.8,100);y=4exp(1.5t);% define exact solution of the ODE [t80,y80]= euler (f,[0,0.8],4,80);% solve the ODE using Euler /80 steps Determine the Euler's approximation for N=800 and N=8000 and fill in the following table with the values of the approximations ( yN(end), errors (eN=y(end)yN(end)) and ratios (eNprevious/eN) of consecutive errors at t=0.8. Some of the values have already been entered based on the computations we did above. Include the table in your report, as well as the MATLAB commands used to find the entries. (b) Examine the last column. How does the ratio of consecutive errors relate to the number of steps used? Your answer to this question should confirm the fact that Euler's method is a "first-order" method. That is, every time the step size is decreased by a factor of k, the error. is also reduced (approximately) by the same factor, k1=k. (c) Recall the geometrical interpretation of Euler's method based on the tangent line. Using this geometrical interpretation, can you explain why the Euler approximations yN overestimate the solution y (that is, yN

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_2

Step: 3

blur-text-image_3

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