Calculates true anomaly directly from mean anomaly and eccentricity.
Mean anomaly M in degrees
Orbital eccentricity e
True anomaly ν (nu) in degrees
Convenience function that combines solveKepler and eccentricToTrue. This is the most commonly used function for orbital calculations.
// Convert mean anomaly to true anomaly for Earthconst trueAnomaly = meanToTrue(90, 0.0167);// trueAnomaly ≈ 91.91° Copy
// Convert mean anomaly to true anomaly for Earthconst trueAnomaly = meanToTrue(90, 0.0167);// trueAnomaly ≈ 91.91°
Calculates true anomaly directly from mean anomaly and eccentricity.