Imagine you have two homogeneous spheres with the same diameter of $d=0.1 m$. They have the same mass $m = 1 kg$. The distance between the centers of mass is $r= 1 m$. Their electrical charge shall be disregarded. At $t=0$ the spheres do not have any relative motion to each other. Due to gravitation they will accelerate and start moving towards each other. After some time they will touch each other.
How to calculate analytically the time it takes the two spheres to meet each other. I'm not interested in a numerical solution.
I have already tried several ways but I don't get to a solution.
Imagine that the 2 spheres have different masses and diameters. $m_{1}=2 kg$, $m_{2}=5 kg$, $d_{1}=0.03 m$, and $d_{2}=0.3m$. How to calculate analytically when and where the 2 spheres are going to meet?
How do you calculate the second problem taking the theory of relativity into account? I know that it will not change the result that much but I am interested in the mathematical solution.