Maxima Tips and Tutorials in Jupyter notebooks
Maxima is a computer algebra system that traces its lineage back to MACSYMA, MIT, and the early days of Lisp. Stephen Wolfram was one of the biggest users of MACSYMA, which provided inspiration for Mathematica.
Jupyter is a platform for interactive computing, including a notebook capability inspired by Mathematica notebooks. Language and system agnostic, Jupyter allows for any backend to be integrated.
The maxima-jupyter project is based on the Common Lisp Jupyter kernel and allows Maxima users to create and publish Jupyter notebooks using their preferred computer algebra system.
This repository provides Jupyter notebooks for a portion of The Computer Algebra Program Maxima - a Tutorial. In particular, there are notebooks for the following:
The "Use of Lisp" tutorial was also converted, but then vastly expanded:
The following tips/tutorials are not part of the tutorials mentioned above, but have been taken from other sources:
To run these locally, you may execute the following in a terminal (requires
git
and docker
to be installed):
git clone [email protected]:calyau/maxima-tutorial-notebooks.git
cd maxima-tutorial-notebooks
docker run -it \
-v `pwd`/notebooks:/home/oubiwann/maxima-jupyter/examples \
-p 8888:8888 \
calyau/maxima-jupyter \
notebook --ip=0.0.0.0 --port=8888
Note that the above docker
command is so useful that I have wrapped it in a
shell script start-maxima
and use it for all my computational maths projects.
The calyau/maxima-jupyter
referenced above is the smallest Maxima-Jupyter
Docker image currently available, however it is not the only one. If you would
like to export your notebooks as PDF or LaTeX files, create Common Lisp or
Clojure notebooks using the same Jupyter instance, etc., then you'll want to
browse the Maxima-Jupyter flavours of Docker images
here.