
ODE Solver
Interactive ODE solver with a draggable initial condition and direction field visualization.
About this notebook
This notebook solves the ordinary differential equation dy/dt = y²/2 − 5t² + 1 and lets you choose the initial condition by dragging a red point on the chart. The point is a ChartPuck widget from the wigglystuff package.
Each time you move the point, the notebook integrates the equation again with SciPy's solve_ivp: forward in time in blue and backward in time in orange. A direction field behind the curves shows the slope of the solution at every point of the plane.











