Differential equations in JavaScript
So, I recently ported a Fortran differential equation numerical integration library to JavaScript, so I thought it would be fun to see how fast it is in the browser. Here’s Airy’s differential equation . Hover the mouse over the graphs to perturb the initial conditions. For each mouse motion we solve the DE from scratch and plot it with d3.
Solution:
Phase space (parametric plot of y and y′):