N-Body simulation

September 8th, 2014

Screen Shot 2014-09-16 at 9.07.52 PM

planetarysystem

N-Body simulation

Optional mathematical proof:

Use mathematical induction to prove that Euclid’s algorithm computes the greatest common divisor of any pair of nonnegative integers p and q.

Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne, Addison-Wesley Professional, 2011, ISBN 0-321-57351-X