PYTHON · NUMPY
To act is to descend an energy

A pendulum, θ measured from upright. Fill in the energy-shaping control law and run — it PASSes when the pole reaches upright.

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