PREVIOUS: Modeling Particle Motion
UP: Course Outline
NEXT: A Better Integrator
5. Accuracy and Errors
Reminder:
the simple integration scheme
C++
and
Python
template programs for the simple integration scheme
C++
and
Python
solutions to Exercise 4.2(a)
Integration errors
In-class exercise 5.1
In-class exercise 5.2
: the Euler method
A better integrator
In-class exercise 5.3
: a second-order scheme
Taylor series methods
Comparison of second-order schemes
simple versus analytic 2nd order
simple versus numerical 2nd order
analytic versus numerical 2nd order
analytic versus numerical 2nd order (alternate)
In-class exercise 5.4
: a predictor-corrector method
Homework #4