Computer simulation of physical systems I
PHYS-403
Task I: numerical integration algorithms
This page is part of the content downloaded from Task I: numerical integration algorithms on Wednesday, 25 December 2024, 21:51. Note that some content and any files larger than 50 MB are not downloaded.
Description
Task1: numerical integration of the harmonic oscillator
Page content
Numerical integration of the equations of motion for a one-dimensional harmonic oscillator using three different methods:
- Euler method, basic and improved
- Predictor-Corrector
- Verlet algorithm
We provide two ways to run the task:
- Jupyter Notebook on epfl server (Recommended): This link will open the Jupyter notebook for this task on EPFL's Noto server.
- Download to local computer: This ZIP archive contains the material needed for the first exercise session. Create a directory dedicated to the exercises of this course in your personal workspace, download the archive there and unpack it (unzip -x Task1.zip). Then change directory to Task1/ and start following the instructions given in this PDF. Indication about the codes can be found here.
The correction of Task1 is given in this PDF.