Skip to content

Instantly share code, notes, and snippets.

View myjr52's full-sized avatar

Jongrae.K myjr52

View GitHub Profile
@myjr52
myjr52 / ode_test.py
Last active October 19, 2018 05:58
integrate ode in python
# import functions
from numpy import linspace
from scipy.integrate import odeint
#import pylab as pyl
import matplotlib.pyplot as plt
# define constants
init_cond = [0.3, -0.1]
t_init = 0.0