Two masses in 3d space attract each other with a potential relative to the distance between them. There is also an external force on each particle based on the distance from a origin. I want to find the equations of motion.
I thought about reducing it to the 1 body problem or use Lagrangian formalism to find the equation of motion, however, the external force kind of ruins that approach. Any ideas on how to approach this?