ETH Zürich - D-MATH - SFG (Stochastic Finance Group) - HOME - update on 2022-12-29

Lecture Analysis 1/2 electrical engineering

We mainly use Sage for numerical implementations, code can be found here. You can either install Sage locally on your computer, for instructions look at the installation guide, or use sage online here by creating a working account. To run the code, just copy and paste it into the first cell of your newly created worksheet and evaluate it. Sage is based on the general purpose scripting language Python and thus inherits its syntax, so be aware to reproduce the line identations in the code correctly after pasting it into the notebook cell:

Interactive worksheet for numerical, analytical and MC-integration of a 1d real-valued function

We provide a worksheet file on basic methods for integration, differentiation, plotting and handling functions in SAGE (analysis2_100308.sws).

We provide a worksheet file on numerical, analytical and MC integration (mci_100226.sws), which can be uploaded and unpacked via the sage notebook. Thanks to Georg Grafendorfer who did this implementation.

We provide a worksheet file on gradient flows(gradient-flows.sws), which demonstrates how a local search for extrema via gradient flows works.

Simulation of 2d-ODEs by explicit Euler scheme and plotting of the first coordinate as a function of time

Simulation of 2d-ODEs by explicit Euler scheme and plotting of the integral curve together with the vector field