Skip to content

Instantly share code, notes, and snippets.

@Muhammad-Yunus
Created April 15, 2020 00:54
Show Gist options
  • Save Muhammad-Yunus/aa7089ae9516b4c74a77ffc88dbddc7d to your computer and use it in GitHub Desktop.
Save Muhammad-Yunus/aa7089ae9516b4c74a77ffc88dbddc7d to your computer and use it in GitHub Desktop.
Python scikit - Ordinary Differential Equation
# initial state:
y0 = [1.0, 0.0]
# time coordinate to solve the ODE for
t = np.linspace(0, 10, 1000)
w0 = 2*np.pi*1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment