Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save GiovanniBalestrieri/46d50cb31c4bfc795ea0ad3b56212978 to your computer and use it in GitHub Desktop.

Select an option

Save GiovanniBalestrieri/46d50cb31c4bfc795ea0ad3b56212978 to your computer and use it in GitHub Desktop.
Curve of the smallest length + weight on the altitude
arg1 = 0.00001
arg2 = 1
def function(a , T):
return numpy.array([T[1] , # evaluate dT1/dA
T[0]*arg1 - (T[1]/math.sqrt(1+T[1]**2))*arg2]) # evaluate dT2/dA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment