ESC201:Fall 2022: Monday Lecture: 13:00-14:00 Exercises: 14:00-17:00 in Y17-J-05
TAs: Stefan Schafroth, Sebastian Schulz (sebastian.schulz@uzh.ch), Thomas Meier (thomas.meier5@uzh.ch)
19. Sep. 2022: First Lecture
26. Sep. 2022: Newton's Method and Kepler's Equation
03. Oct. 2022: Population Growth, Chaos and Fractals
10. Oct. 2022: Fractals using Complex Numbers
17. Oct. 2022: Ordinary Differential Equations
24. Oct. 2022: Symplectic Integrators for ODEs
31. Oct. 2022: N-body Problem, Simulating the Solar System
7. Nov. 2022: (separable Hamiltonians), Partial Differential Equations
14. Nov. 2022: Bi-linear Interpolation: Electron Beams
21. Nov. 2022: Diffusion Equation and Numerical Stability
28. Nov. 2022: Hyperbolic PDEs
5. Dec. 2022: Fintite Volume Method and 2-D Advection
12. Dec. 2022: Hydrodynamics in 1-D
Your solutions should be handed in 7 days after each assignment has been given, i.e. Monday night by 21:00 one week 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.
Please hand in the following in Teams:
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