This is a classic introductory physics problem. Basically, you have a cart on a frictionless track (call this m 1) with a string that runs over a pulley to another mass hanging below (call this m 2).
Physics and Python stuff. Most of the videos here are either adapted from class lectures or solving physics problems. I really like to use numerical calculations without all the fancy programming ...
Either there is far more Universe to the Universe than we ever expected or the frontiers of physics may be wandering into a mathematically beautiful but ultimately sterile aether of dubious substance.