Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the differential equation = 2y with initial condition y(0) = 0.7. The actual solution is y(1) = help (numbers) We wish to analyze
Consider the differential equation = 2y with initial condition y(0) = 0.7. The actual solution is y(1) = help (numbers) We wish to analyze what happens to the error when estimating y(1) via Euler's method. Start with step size h= 1 (1 step). Compute Error = Note: Remember that the error is the absolute value! Let us half the step size to h = 0.5 (2 steps). Compute y(1) help (numbers) help (numbers) Error= help (numbers) help (numbers) Error The error went down by the factor: Previous error Let us half the step size to h= 0.25 (4 steps). Compute help (numbers) y(1) Error= help (numbers) help (numbers) Error The error went down by the factor: Previous error Let us half the step size to h= 0.25 (4 steps). Compute y(1) Error= help (numbers) help (numbers) Error Previous error help (numbers) The error went down by the factor: help (numbers) Euler's method is a first order method so we expect the error to go down by a factor of 0.5 each halving. Of course, that's only very approximate, so the numbers you get above are not exactly 0.5.
Step by Step Solution
★★★★★
3.38 Rating (157 Votes )
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