avatar! wrote:I just wrote some (simple) code to integrate a second order differential equation. The technique I used is Verlet integration. Turns out it's often used in video games! I thought that was cool
Although I have to say, I don't think anything can really beat a 4th order Runge–Kutta with adaptive timestep... which mind you is much much harder to program. Thought I would share!
cheers,
-avatar!
I know what a second order differential equation is - something with menacingly difficult algebra and laughably easy calculus. It's been exactly 10 years since I've solved one and that's all I remember. Just a tad of calculus and pages of algebra. In fact, I told my classmates at the time that we were taking Real Advanced Algebra.
Never heard of Verlet integration, although I would imagine someone named Verlet is the culprit.