Links zu Dokumentationen/Tutorials für IPython/Python/numpy/matplotlib/git sowie die Sourcodes findet ihr im GitHub Repo.


In [1]:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

Simplektischer Euler


In [2]:
hamilton = np.loadtxt('data/ex32.out')
time = hamilton[:,0]
x = hamilton[:,1]
y = hamilton[:,2]

In [3]:
plt.plot(time, x**2 + y**2 - 1)
plt.show()



In [ ]: