Created
February 12, 2011 18:04
-
-
Save tkf/823942 to your computer and use it in GitHub Desktop.
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
| 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