collision simulations in python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 640B

3 years ago
123456789101112131415161718192021
  1. # Collisions
  2. Collision simulations in python.
  3. Usage:
  4. ```collision [cart | pol] [cart | pol] velocity_1 velocity_2```
  5. where
  6. - velocity_1 is the velocity of the first particle, in the form
  7. ```"r theta"``` if the input vector type is polar, or in the
  8. form ```"x y"``` if the input vector type is cartesian
  9. - velocity_2 is the velocity of the second particle, in the
  10. form ```"r theta"``` if the input vector type is polar, or in
  11. the form ```"x y"``` if the input vector type is cartesian
  12. The program outputs the velocities of the particles after the
  13. collision, in the form specified by the output vector type.