1

When researching a bit about elastic collisions, I've been confused about how many different ways there are to do this. I've seen multiple methods, some of which are extremely complex (using sine and cosine) and some which are more simple.

For example, this StackOverflow answer provides a simple solution, while this tutplus article uses a more complex solution.

I'm trying to make a simple simulation which there are balls that bouncing around borders and other balls. What formula should I use and what are the differences between them?

Sarah
  • 37
  • 2
    For frictionless elastic collision, all follows from energy and momentum conservation and the direction of the force ... – Hagen von Eitzen Mar 02 '19 at 09:16
  • 1
    There is more than one way to calculate anything. The tutplus site worked out the physics according to the knowledge of the programmer, and once they found a solution, they implemented it. The stack overflow answer was one where they went farther and simplified the answer as far as they could, looking in particular for something easy to program. I'd go with it myself. – Paul Sinclair Mar 02 '19 at 21:37

0 Answers0