ESC201:Fall 2021: Monday Lecture: 13:00-14:00 Exercises: 14:00-17:00 in online only
TAs: Stefan Schafroth, Sebastian Schulz (sebastian.schulz@uzh.ch), Noah Kubli (noah.kubli@uzh.ch)
Dear Students,
Video lectures will be available (see below).
Exercises will take place via Microsoft Teams :ESC 201
Joachim Stadel
Videos for the lectures can be found here (they are too large for my Wiki):
20. Sep. 2021: First Lecture
27. Sep. 2021: Newton's Method and Kepler's Equation
4. Oct. 2021: Population Growth, Chaos and Fractals
11. Oct. 2021: Complex Fractals, Start of ODEs
18. Oct. 2021: Ordinary Differential Equations: Predator-Prey
25. Oct. 2021: Symplectic Integrators: Leap-frog and the Simple Pendulum
1. Nov. 2021: Many Bodies: a digital Orrery
8. Nov. 2021: Partial Differential Equations: Jacobi & SOR
15. Nov. 2021: Bi-linear and Bi-cubic interpolation and Electron Beams
22. Nov. 2021: Diffusion Equation and Numerical Stability
29. Nov. 2021: Hyperbolic PDEs
6. Dec. 2021: Finite Volume Method, Modified Equation, 2-D Advection
13. Dec. 2021: 1-D Hydrodynamics and Riemann Solvers
Your solutions should be handed in 13 days after each assignment has been given, i.e. Sunday night by 21:00 two weeks after the Monday lecture. Assignments should be individual and should be in python and provide a correct virtual environment! (if you stick to standard libraries like numpy, matplotlib, scipy… you can also just submit your python source code together with the output of your program)
For help getting started with virtual environments, please read carefully Python Virtual Environments for Pip and Python Virtual Environments for Conda.
You should email 3 things to Sebastian (sebastian.schulz@uzh.ch):
Template: template.zip
Instructions:
Please add the names of the people you work together (if you do) to the comment section of your python scripts.
Create a virtual environment using
Pip
- run virtualenv yourenv_name to create a virtual environment
- run source yourenv_name/bin/activate to activate yourenv_name
- install necessary libraries that you want using pip install package_name
- work in that directory, get your outputs (*.pdf, *.png, *jpeg, *.mp4, etc…)
- run pip freeze > requirements.txt to get your list of libraries
Conda
- run conda create -n yourenvname python=x.x anaconda to create a virtual environment
- run source activate yourenvname to activate yourenv_name
- install necessary libraries that you want using conda install -n yourenv_name package_name
- work in that directory, get your outputs (*.pdf, *.png, *jpeg, *.mp4, etc…)
- run conda list –export > requirements.txt to get your list of libraries