Map the Debris_

function orbitalPeriod(arr) {
  const GM = 398600.4418;
  const earthRadius = 6367.4447;
  return arr;
}

// write the formula and implement it?
// modify objects by key?
// check for any number of objects in the array?
orbitalPeriod([{name : "sputnik", avgAlt : 35873.5553}]);

Finally made it to the last problem in the Intermediate Algorithm Scripting section :partying_face: But it has me very confused. Can someone help me break this problem down into simple steps?

  • i would say yes, but given formula should be a good starting point to adjust to your needs, it wouldnt hurt to “google” it a bit :slight_smile:
  • look into given test cases and their outputs, that should tell you what is expected out of this step

now lets finishhhhh ittttttttt :grin: happy learning :slight_smile:

1 Like

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