Three Body Resonance locator for Android

This is an application that calculates the semimajor axis a0 in astronomical units of a planet P0 of mass m0 (in solar masses) which is in a TBR with two planets P1 and P2 with masses m1 and m2 in solar masses and semimajor axes a1 and a2 in astronomical units. The system is orbiting around a star with mass M (in solar masses). The resonance is given by 3 integers k0, k1 and k2 that define the resonance
k0*n0 + k1*n1 + k2*n2 = 0
where the n are the mean motions. Obviously, the integers must have different sign otherwise the relationship can not be satisfied. Also, not all possible combinations of the k are allowed (those that give n0<0 do not have physical meaning).

Here is the apk, download it in your Android dispositive and enjoy! (credits: Mateo Gallardo).

Example:

M = 1
m0 = 0.0001
m1 = 0.001
m2 = 0.0005
a1 = 5.2
a2 = 9.58
k0 = 2
k1 = -5
k2 = 2

result: a0=3.1698 au


The same application but web based is here.


If you are looking for the complete mean motion resonances artillery follow this other link.