astronomy

Python implementation of n-body problem issue

Python implementation of n-body problem issue Question: I am currently trying to implement the N-body problem using Euler’s method for solving differential equations. However, the graphical outputs do not seem correct, and I’m not sure where the issue in my code is after a while of testing. I’m currently using approximate values for Alpha Centauri …

Total answers: 1

Moon / Lunar Phase Algorithm

Moon / Lunar Phase Algorithm Question: Does anyone know an algorithm to either calculate the moon phase or age on a given date or find the dates for new/full moons in a given year? Googling tells me the answer is in some Astronomy book, but I don’t really want to buy a whole book when …

Total answers: 8