Heretic
Resource contributor
- Messages
- 6,830
- Country

I need a correction factor based on "theta/(theta2^1.9)". The equations for theta and theta2 themselves work, but FSX steadfastly refuses to divide the result.
Too complex for a mainstream simulator?
The correction factor should be based on mach and altitude. Needs to be around 0.995 for mach 0.78 at 31000 ft, around 0.985 at mach 0.8 at 31000ft and 1 for mach 0 at 0 ft.
Any ideas?
Code:
(A:PLANE ALTITUDE,feet) 1000 / 1.98 * (>L:Theta0,enum)
288.15 (L:Theta0,enum) - 288.15 / (>L:Theta,enum)
(A:AIRSPEED MACH,mach) 2 pow 0.2 * 1 + (L:Theta,enum) * 1.9 pow (>L:Theta 2 Mod,enum)
(L:Theta,enum) / (L:Theta 2 Mod,enum) (>L:EPR Factor,enum)
Too complex for a mainstream simulator?
The correction factor should be based on mach and altitude. Needs to be around 0.995 for mach 0.78 at 31000 ft, around 0.985 at mach 0.8 at 31000ft and 1 for mach 0 at 0 ft.
Any ideas?
