Back to Portal
The ScientificConstants package contains values of physical constants. A list of constants can be found here.
Use GetConstant to get the definition of the gravitational constant.
To just return the numerical value,
Example - Radius of a Geostationary Orbit
The expression for circular orbital velocity around a spherically symmetric body is:
where, G is the gravitational constant, M is the mass of the body, and R is the radius of orbit.
Now, for geostationary orbit, an orbital velocity of 2 π R meters per day is required, which in meters per second is:
orbitalVelocity≔convert2⋅π⋅R, units, md, ms
Equate this to vCircOrb.
eqn1 ≔ vCircOrb=orbitalVelocity
Solve for R. To disregard the non-real solutions, use the RealDomain package.
use RealDomain inrGeo ≔ solveeqn1, Rend use
Replace G with its value and M with the mass of the Earth, then evaluate.
Download Help Document
What kind of issue would you like to report? (Optional)