Detailed worked solutions to high-school science problems.
It's not necessary to use the JupyterLab notebooks linked above only through Binder; you can also run them on your own computer. If you use Windows, you'll need to use Windows Subsystem for Linux (WSL) for the following instructions to work. On MacOS or Linux, just open a terminal and enter the commands there.
First things first: clone the repository. You'll need to use a command like this:
git clone https://github.com/paultcochrane/after-school-help.gitThat will create a directory named after-school-help; change into that
directory (via the cd command) and then install the
Python requirements with the pip command.
cd after-school-help # change into the directory we just created
python3 -m venv venv # create the Python virtual environment
source venv/bin/activate # activate the Python virtual environment
pip install -r requirements.txt # install the required Python librariesNow you'll be ready to start the JupyterLab notebook environment. Just run
jupyter laband the JupyterLab environment will start with a launcher window similar to that below:
To open a pre-existing notebook, just double click on one of the folders
(e.g. physics or maths) and double click on a notebook file (anything
with the
icon or any file
with the .ipynb extension). For instance, if you open the evaporating a
pot of water worked example file,
you'll see something like this:
Now feel free to play around, change the numbers in the code and re-run the individual notebook cells to see the effects of your changes!

