Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. def InversePrandtlMeyer(nu):
  2.     nu=nu*3.14/180
  3.     A=1.3604
  4.     B=0.0962
  5.     C=-0.5127
  6.     D=-0.6722
  7.     E=-0.3278
  8.     nu_0=0.5*3.14*(2.5-1)
  9.     y=(nu/nu_0)**(2/3)
  10.     Mach=(1 + A*y + B*y**2 + C*y**3)/(1 + D*y + E*y**2)
  11.     return Mach = InversePrandtlMeyer(nu)
  12. print(InversePrandtlMeyer(2))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement