Skip to content

Instantly share code, notes, and snippets.

View mishankov's full-sized avatar
💻
hacking

Denis Mishankov mishankov

💻
hacking
  • Alfa-Bank
  • Moscow
View GitHub Profile
import os
import sys
import importlib.abc
import importlib.util
import json
import yaml
ex_registry = []
@mblondel
mblondel / second_order_ode.py
Created July 23, 2010 08:51
Solve second order differential equation using the Euler and the Runge-Kutta methods
#!/usr/bin/env python
"""
Find the solution for the second order differential equation
u'' = -u
with u(0) = 10 and u'(0) = -5
using the Euler and the Runge-Kutta methods.