This is a repository for the course Mathematische Grundlagen II ("Mathematical Principles II") for the Computational Engineering Science bachelor program at RWTH Aachen University (summer term 2023).
Notebooks available in this repository:
- Notebook 1: Polynomial interpolation (Pluto link, HTML preview)
If you are new to Julia and Pluto.jl, follow the instructions below to get started.
The following description is roughly based on the excellent instructions here.
To get Julia, go to https://julialang.org/downloads/ and download the current stable release of Julia (not the LTS version, no pre-releases etc.). Check out the platform-specific instructions for more information, e.g., for Windows, macOS, or Linux.
Once Julia is installed, run the Julia executable
(julia
on Linux/macOS, julia.exe
on Windows) to start the Julia REPL. Then
execute the following commands (you can copy & paste them to the REPL prompt and
then hit Enter):
using Pkg
Pkg.add("Pluto")
This will install the Pluto package. Note that this step is only required once, i.e., the second time you want to use Pluto you can directly proceed to running Pluto.
After Julia and Pluto have been installed, you can run Pluto by starting the Julia REPL and executing the following commands:
using Pluto
Pluto.run()
This should automatically open Pluto in your default browser. If not, find the
link in the Julia REPL that looks something like
http://localhost:1234/?secret=1234abcd
and open it manually in your browser.
On the Pluto.jl landing page you will find a section titled "Open a notebook".
Copy one of the Pluto link
s from the notebooks above into
the field and click "Open" to start the notebook.
Note: When a notebook is opened, its Julia code is executed once. Depending on the notebook, this can take a few seconds. Once the notebook has been loaded completely, everything should be snappy. When a notebook is opened for the very first time, this delay can be even longer (tens of seconds), since Pluto might have to install additional Julia packages.
This repository was initiated by Michael Schlottke-Lakemper, who is also its principal maintainer. Several of the notebooks hosted here are based on ideas first developed by Manuel Torrilhon.
The contents of this repository are licensed under the MIT license (see LICENSE.md).