2
votes
0answers
83 views

Do doomsday arguments influence doomsday hypotheses?

The doomsday argument supposes that in the absence of any other knowledge, if we know the age of something now, we may assume that we are seeing it in the middle of its lifetime and then calculate our ...
2
votes
1answer
54 views

Unexpected eccentricity in moon orbit simulation

I've used Mathematica's NDSolve function to calculate the orbit of the Moon around the Earth. I used the following initial positions (perigee): ...
1
vote
1answer
86 views

My orbiting body is orbiting about the wrong focus of it's elliptical orbit… why?

I am coding in c++ and am computing the position of an orbiting body as a function of time. Everything is almost working. I have a nice elliptical orbit. Except, my orbiting body speeds up as it ...
0
votes
0answers
100 views

Calculate trajectory of projectile with gravity from disk planets in 2D?

I'm making a 2D game where you control a spaceship and fly between disk-formed planets of differing size (mass/pull). The planets are small and you can fly near several at once. I need to calculate ...
0
votes
0answers
94 views

Simulating orbits using Newton's Law of Universal Gravitation

I've been having a go at programming an orbital simulator from scratch (without using any existing libraries) using the formula below to find the acceleration first for particle A and then for ...
4
votes
3answers
202 views

Using 2D position, velocity, and mass to determine the parametric position equations for an orbiting body

I have a gravity-related question. I am programming an orbit simulator. I have everything up and running, but I would like to render the smaller body's orbital path (the larger body is fixed). To do ...
0
votes
2answers
42 views

Why turning velocity of star towards point “A” makes it's satelites, change their apoapsis to side opposite of velocity vector?

Why turning velocity of star towards point "A" makes it's satelites, change their apoapsis to side opposite of velocity vector? Sentence above turned a bit crazy or not understandable (possible ...
0
votes
2answers
136 views

Determinstic implementation Sphere of Influence change using Patched conic approximation

wasn't 100% sure which StackExchange to ask this on, as it could be related to Gamedev (as it's for a game), maths (as it's a approximation model rather than a physical description) or StackOverflow ...
1
vote
1answer
174 views

Determine if an object is in orbit

I am planning on doing a space simulation program with full physics and as part of a hack to avoid too many issues with number precision I was going to switch orbiting objects to a calculated orbit ...
2
votes
0answers
246 views

For two planets in a 2:1 mean motion resonance , where will their periastron and apastron points be?

I want to animate the changing orbits of planets when they enter a mean motion resonance. Using a 2:1 resonance, I want to show a low-mass inner planet and a low-mass outer planet being tugged by a ...
4
votes
1answer
1k views

Calculating specific orbital energy, semi-major axis, and orbital period of an orbiting body

Is it possible to calculate the specific orbital energy $ϵ$, the semi-major axis $a$, and the orbital period $T$ (or $P$) without any of them being available to you? The values I do have available to ...
3
votes
2answers
167 views

Can the axis of rotation of a celestial body point in any arbitrary direction?

I am developing a small computer program that involves moderately simple simulation of elliptical Kepler orbits for fictional, generated star systems. I'm doing this without much prior knowledge of ...
1
vote
1answer
103 views

Simulating an orbit, primary is not at focus

I've been toying around with some -very- simple orbital simulators, mostly using preexisting physics libraries (I took a layman's stab at doing it with vectors too). The thing that is confusing me is ...
4
votes
2answers
1k views

How to calculate linar velocity of planet orbit?

I try to simulate a solar system with planets (with random mass) placed randomly around a sun with a mass $X \times \text{solar mass}$. The simulation is going well when I use real data ...
0
votes
2answers
187 views

Planet's Moon attrated by sun [closed]

I'm currently writing a code to generate solar system and $N$ number of planets / moons. I use real data to test (earth / sun / moon data). I succeeded in placing the earth and make it orbit around ...
5
votes
1answer
202 views

Convert latitude of lowest altitude to argument of perigee?

I am designing an orbit around Mercury. I know the values I want for the semi-major axis, eccentricity, inclination, and RAAN. I want the altitude of closest approach (periapse) to occur at ...