Jump to content

How to calculate T from a and G


Recommended Posts

G'day All. It's been a while since I did any interesting maths. So I think I've stuffed something.

I'm trying to make a spreadsheet function to a (the semimajor axis) from T (orbital period in seconds, the input variable) and G (gravitational parameter).

I'm certain that I'm calculating G correctly (because I've borrowed from the KSP Battery Calculator, which definitely gets it right. But otherwise, I think I'm stuffing it.

I start with:

T=2À(a
3
G)
1/2

Then moving a out:

T/2À=(a
3
G)
1/2

(T/2À)
2
=a
3
G

T
2
/4À
2
=a
3
G

(T
2
/4À
2
)/G=a
3

((T
2
/4À
2
)/G)
1/3
=a

I think all my maths is right there (although I could be wrong). This gives me a spreadsheet formula of

=(((G8^2)/(4*(PI()^2)))/C6)^(1/3)

...where G8 is the time variable, and C6 is G.

Where am I going wrong?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...