Numerical Methods for DEs - Examples & Applications
Conceptual Examples: Error Analysis
Global vs Local Truncation Error (Conceptual)
A student is using Euler's method to solve a differential equation from to . They initially choose a step size of . To improve accuracy, they decide to halve the step size to .
What is the expected effect on the local truncation error per step, and what is the expected effect on the overall global truncation error at ?
Error Analysis Solution
0 of 2 Steps Completed1
Comparing Methods by Order
For a certain application, a global error of no more than is acceptable. Using Euler's method, a step size of is required. If the user switches to the 4th-order Runge-Kutta method (RK4), approximately what step size would yield the same acceptable global error?
Order Comparison Solution
0 of 2 Steps Completed1
Euler's Method
Euler's Method Problem (Basic)
Given the initial value problem:
Use Euler's method with a step size to approximate .
Euler's Method Solution
0 of 3 Steps Completed1
Euler's Method Problem (Non-linear)
Approximate for the IVP , using Euler's Method with .
Euler Non-linear Solution
0 of 2 Steps Completed1
Improved Euler's Method (Heun's Method)
Improved Euler's Method Problem
Using the same IVP , use Improved Euler's method with to approximate .
Improved Euler's Method Solution
0 of 2 Steps Completed1
Improved Euler's (Non-linear)
Approximate for , using Improved Euler with .
Improved Euler Non-linear Solution
0 of 2 Steps Completed1
Runge-Kutta 4th Order Method (RK4)
Runge-Kutta (RK4) Problem
For the IVP , find the first step using RK4 with .
RK4 Solution
0 of 5 Steps Completed1
RK4 Problem (y-only function)
Approximate for , using RK4 with .
RK4 y-only Solution
0 of 2 Steps Completed1