hrs wrote: Barring that, the availability of Greek letter in code would be great.
setrofim wrote:You can use Greek letters (or any other character with a unicode code point) in Python source, provided you set the encoding of the source files appropriately.
micseydel wrote:I believe Sympy can accomplish what you're talking about. Could you give an example of what you're trying to do, and how you believe Sympy is failing to do it?
P0_comp_in = P0_ambient * (1 + eff_inlet * air_speed**2 / (2 * CP_AIR * T0_ambient))**(GAMMA_AIR / (GAMMA_AIR - 1))
exponent = GAMMA_AIR / (GAMMA_AIR - 1)
ratio = (eff_inlet * air_speed**2) / (2 * CP_AIR * T0_ambient)
P0_comp_in = P0_ambient * (1 + ratio) ** exponent
Users browsing this forum: Skaperen and 1 guest