This is a simple set of web-based exercises to help students practice right-hand-rules for magnetic forces and fields. The program is written as a Jupyter Notebook and intended to be run with Voilà so that students do not need to see or excute the underlying code.
To run the notebook using Voila on your local server, first install Voilà. Then the notebook can be launched from the commandline:
voila --no-browser right-hand-rules.ipynb
Note that we have used the --no-browser
argument, so you will have to
copy and paste the URL into your browser. This is best if you are
using a remote machine as the server but can be omitted if you are
running locally.
To view or modify the code, you need to run
jupyter-notebook --no-browser right-hand-rules.ipynb