I am a total beginner to doing this kind of math, so there is a mean learning curve.
There is need to calculate the number of seconds from when mercury is direct to the next direct phase. My thoughts about doing this:
speed of mercury = 170496, speed of earth = 107226
days for mercury to complete 87.9691, days for earth to complete 365.25
distance mercury travels = speed * days, distance earth travels = speed * days
Since mercury completes in 87 days and earth completes in 365 days, need to calculate the difference of earths travel.
offset distance = earth speed * days for mercury.
difference + offset distance
since the two circles (earths orbit & mercury orbit) are different sizes, need to calculate the difference between the two circles.
Would I want to multiply the distance mercury travels with the difference of the two orbits?
and here is where I get lost. My formula comes out with a wrong offset of six days.
Is there a better way to calculate what I want?
If you could be clear about how to solve the problem, that would be great.