Created
August 9, 2016 17:19
-
-
Save GiovanniBalestrieri/c5287534567bca4c10cec2c8c4e95ac9 to your computer and use it in GitHub Desktop.
Definition of the function and boundary conditions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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