PYTHON · NUMPY
The magnet, switched

Model an electropermanent magnet: hold force versus gap, and why switching beats holding.

You read

the arrays and values already in scope

You change

the code you write in each cell

Fixed

the dataset and the checks that grade you