Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GiovanniBalestrieri/c5287534567bca4c10cec2c8c4e95ac9 to your computer and use it in GitHub Desktop.
Save GiovanniBalestrieri/c5287534567bca4c10cec2c8c4e95ac9 to your computer and use it in GitHub Desktop.
Definition of the function and boundary conditions
wAltitude, wSpeed = 1,+1
def function(a , T):
return numpy.array([T[1] , # evaluate dx1/dt
(wAltitude/wSpeed)*T[0]]) # evaluate dx2/dt
def boundary_conditions(Ta,Tb):
return (numpy.array([Ta[0] - X1T0]),
numpy.array([Tb[0] - X1Tf]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment