Is this equation right?

function orbitalPeriod(arr) {
  var GM = 398600.4418;
  var earthRadius = 6367.4447;
  let tSeconds = (2 * Math.PI) * (Math.sqrt(Math.pow(earthRadius, 3) / GM))

  return arr;

orbitalPeriod([{name : "sputnik", avgAlt : 35873.5553}]);

a is not just the Earth Radius, objects that orbit around the Earth do not orbit on its surface, you also need to add the average altitude to get a

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.