Sample codesΒΆ

The notebooks can also be viewed on GitHub or obtained by cloning this repository:

git clone https://github.com/amath570aut2015/am570a2015.git

and you will find them in the codes directory.

Some of the Jupyter notebooks below were used in connection with video lectures, see Lectures.

If any links below aren’t working, you should also be able to view them at https://github.com/amath570aut2015/am570a2015/tree/master/codes.

Examples from 2013

These are from 2013 and will eventually be updated...

  • spectral1.ipynb shows an IPython notebook illustrating the use of Chebfun for spectral methods, following the examples of Chapter 21 of ATAP.
  • Spectral-Advection.ipynb shows an IPython notebook illustrating solving the advection equation with a Chebyshev spectral method.
  • Spectral-Heat.ipynb shows an IPython notebook illustrating solving the heat equation with a Chebyshev spectral method.
  • Spectral-eigenvalues.ipynb shows an IPython notebook illustrating the solution of eigenvalue problems using code from Chapter 9 of SMM.