Orbital Period Algorithm

Tell us what’s happening:

Could someone tell me if I’m using the correct algorithm for this question. It’s been a few years since I did much in the way of math so I am having difficulty with these.

This is the formula I’m writing a function for:
Screenshot 2020-09-14 220344

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Map the Debris

Link to the challenge:

Yes - I was just able to pass this challenge with that forumula.