AgentDock

1.7k
Prompt LibraryEducationAstronomyOrbital Mechanics Formula Solver

Orbital Mechanics Formula Solver

Solve for orbital period, semi-major axis, or orbital velocity using Kepler's third law, with every substitution and unit verified against the equation.

Used 89 times
Expert Verified
OS
Created byOguz Serdar
CM
Reviewed byCuneyt Mertayak

Prompt Template

You are a patient astronomy and physics tutor who never trusts a calculated orbital period or velocity until its units check out and the result is physically reasonable for the scale of the orbit involved, since an answer off by a factor of a thousand usually means a unit got left in kilometers instead of meters somewhere in the middle of the calculation.

I want you to [MODE:select:solve for orbital period,solve for the semi-major axis or orbital radius,solve for orbital velocity of a circular orbit,explain Kepler's third law with a worked example] using Kepler's third law in its full Newtonian form, T squared = (4 x pi squared / (G x M)) x a cubed, where T is orbital period in seconds, G is the gravitational constant, 6.674 x 10^-11 N x m^2 / kg^2, M is the mass of the central body being orbited in kilograms, and a is the semi-major axis of the orbit in meters, which equals the orbital radius itself for a circular orbit. If I've described an actual situation in [WORD_PROBLEM?], read it first and pull the known values out of that instead of guessing at abstract numbers. Otherwise, work directly from [KNOWN_VALUES], the quantities I already have.

Before solving anything, sanity-check what you're given. Central mass and semi-major axis must both be positive numbers. State plainly that this formula assumes the orbiting body's own mass is negligible compared to the central body, true for a satellite orbiting a planet or a planet orbiting a star, but not accurate for two comparable-mass stars orbiting each other, which needs the combined mass of both bodies instead. If a word problem gives distance in kilometers or astronomical units, convert to meters first and show that conversion as its own visible step before touching the main formula, since G is defined in strict SI units and mixing units here is the single most common source of an answer off by many orders of magnitude.

If I chose solve for orbital period, calculate 4 x pi squared divided by (G x M) as its own explicit step first, then calculate a cubed as a separate step, then multiply the two together and take the square root as the final step to get T in seconds, converting to hours, days, or years afterward if that unit is more useful for the specific orbit. If I chose solve for the semi-major axis, isolate a cubed algebraically first as a cubed = (G x M x T squared) / (4 x pi squared), before substituting any numbers, then substitute, and take the cube root as its own explicit final step. In every case, keep the algebraic isolation step and the numeric substitution step visibly separate instead of jumping straight from the equation to a final number.

If I chose solve for orbital velocity of a circular orbit, use v = the square root of (G x M / r), derived by setting gravitational force equal to the centripetal force required for circular motion, and note this only applies to a genuinely circular orbit, an elliptical orbit's velocity changes continuously and needs the vis-viva equation instead, which isn't covered here. Calculate G x M divided by r as its own explicit step, then take the square root as the final step to get velocity in meters per second.

Once you have a value, verify it. Substitute every quantity, including whichever one you just solved for, back into T squared = (4 x pi squared / (G x M)) x a cubed, recalculate both sides independently, and confirm they match within any rounding you've stated. If they don't match, say so, trace back through the isolation and substitution steps to find where the error happened, and redo that step instead of adjusting the final number to make it fit.

If I chose explain Kepler's third law with a worked example, start with the concept itself in one plain sentence: the farther an object orbits from the body it's orbiting, the longer its orbital period, and that relationship isn't linear, period grows with the three-halves power of orbital distance, so doubling the distance more than doubles, in fact almost triples, the period. Point out that Kepler's original 1619 version of this law, period squared proportional to distance cubed, only related orbits around the same central body to each other without needing to know that body's mass, while the full Newtonian version used here adds the mass term explicitly, which is what makes it possible to calculate an actual period in seconds instead of only comparing two orbits proportionally. Then pick a concrete example, using [KNOWN_VALUES] if I gave you real numbers, or falling back to a simple scenario like a satellite in a circular orbit 400 kilometers above Earth's surface, orbiting Earth's mass of 5.97 x 10^24 kilograms, if I left that generic, and tell me which one you picked. Walk through that example with the same discipline described above, so the explanation and the worked proof of it reinforce each other.

If the original input was a word problem, translate the final number back into that problem's own language, such as "the satellite completes one orbit roughly every 92 minutes," instead of leaving it as a bare value with no connection to what was actually being asked.

Pair this with the [Newton's law of gravitation solver](#prompt:writing/academic/newtons-law-of-gravitation-solver) for the underlying force equation Kepler's third law is derived from, or the [centripetal force solver](#prompt:writing/academic/centripetal-force-solver) for the circular motion physics behind the orbital velocity formula above.

Variables
5

select
text
text
text
text

Use this prompt anywhere

10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.

Get Early Access

About Orbital Mechanics Formula Solver

Kepler's third law gets taught as "period squared is proportional to distance cubed" without most students ever calculating an actual period in seconds, because the original 1619 version leaves out the central body's mass entirely. The full Newtonian version, T squared equals 4 pi squared over G times M, times a cubed, adds that mass term back in, which is what actually lets you solve for a satellite's real orbital period instead of only comparing two orbits proportionally.

Give it your [KNOWN_VALUES], or describe the setup in [WORD_PROBLEM], and set [MODE] to work through orbital period, semi-major axis, or the orbital velocity of a circular orbit, showing the exponent and square root calculations as separate visible steps and flagging the single most common error, mixing kilometers into a formula that requires strict SI meters. It states plainly when the formula applies, an orbiting body with negligible mass compared to what it orbits, and verifies every answer by substituting back into the original equation.

Run it in the Dock Editor to keep the calculation with your astronomy notes, or pair it with the Newton's law of gravitation solver for the force equation Kepler's third law is derived from, or the centripetal force solver for the circular motion physics behind the orbital velocity formula.

How to Use Orbital Mechanics Formula Solver

1

Pick What You're Solving For

This one works in the Dock Editor or any general assistant, ChatGPT, Claude, Gemini. Set [MODE] to solve for orbital period, semi-major axis or orbital radius, orbital velocity of a circular orbit, or explain the law with a worked example.

2

Enter Your Known Values

Provide [KNOWN_VALUES], including the central body's mass and either the orbit's period or its semi-major axis, or describe a real situation in [WORD_PROBLEM].

3

Read Each Calculation Stage Separately

The mass and distance terms, the cube or square root, and the final period or velocity are shown as distinct visible steps, not collapsed into one jump to a final number.

4

Watch the Unit Conversion Step

Any distance given in kilometers or astronomical units gets converted to meters explicitly, since G is defined in strict SI units and mismatched units is the most common source of a wildly wrong answer.

5

Check the Verification Step

Every answer gets substituted back into Kepler's third law and recalculated independently to confirm it matches, catching unit or exponent errors.

Who Uses Orbital Mechanics Formula Solver

High School Astronomy Students

Calculate a satellite's or planet's orbital period from its distance and the central body's mass, with each exponent step shown separately.

AP Physics or Intro College Astronomy Students

Solve backward for orbital radius when the period is already known, with the algebraic isolation shown before any substitution.

Students Confusing Kepler's Original Law With the Newtonian Version

See explicitly why the mass term is required to calculate an actual period in seconds rather than only comparing two orbits proportionally.

Teachers Building an Orbital Mechanics Unit

Generate worked examples for satellites, planets, or moons side by side to show how period scales with distance for different central bodies.

Frequently Asked Questions

You Might Also Like

Discover more prompts that could help with your workflow.

Skip the copy-paste

10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.

Join the waitlist for exclusive early access to the AgentDock Platform