Skip to content

Instantly share code, notes, and snippets.

@tkf
Created February 12, 2011 18:04
Show Gist options
  • Select an option

  • Save tkf/823942 to your computer and use it in GitHub Desktop.

Select an option

Save tkf/823942 to your computer and use it in GitHub Desktop.
import numpy
import scipy.constants
def n_by_alpha(rho, U0, C_z_alpha, W, S):
return - 0.5 * rho * U0 ** 2 * C_z_alpha / (W / S)
def cap(omega_nsp, dn_by_dalpha):
return omega_nsp ** 2 / dn_by_dalpha
def one_by_T_r(U, C_D, C_L, dC_D_by_dC_L):
g = scipy.constants.g
return 2 * g / U * (C_D / C_L - dC_D_by_dC_L)
def T_s2(lambda_s):
return 0.6931 / lambda_s
def phi_by_beta_d(L_beta, N_dash_beta):
return numpy.abs(L_beta) / N_dash_beta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment