fongostevДа! Я про эту ссылку говорил. Вот мой вариант кода
from matplotlib import pyplot as plt import numpy as np from scipy.integrate import odeint G=6.67*10**-8 M=2*10**33. def motion(x_vec, t): x, y = x_vec # tuple unpacking return [y, G*M/y**2.] y0 = [10**13., 10**13.] t_output = np.arange(0, 10**7, 10**3) y_result = odeint(motion, y0, t_output) plt.plot(y_result[:,0],y_result[:,1]) plt.show()