[Community Puzzle] Snooker Ball Collision

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Louis700,validated by @WildSmilodon and @Pukunya.
If you have any issues, feel free to ping them.

Great idea, very interesting to (re-)learn about physics and collisions.

There are two big issues though, which are making this problem not as enjoyable as it could be: trailing zeros (use formatted strings, not rounding) and the approximate stopping position (rather than the exact one – for testcase #2, your code does not give the correct answer).
These have already been raised in the contribution page (in particular, see comments from Niako, Lanfeust and GeekNbOne). Could you please address them, as it would make the puzzle much better/more enjoyable for people to solve?