Elastic Collision 001: 1-D - MATLAB Cody - MATLAB Central

Problem 1280. Elastic Collision 001: 1-D

Elastic Collision of two particles. wiki Elastic Collision
Solve Conservation of Momentum and Kinetic Energy Equations for a point elastic collision.
m1*u1+m2*u2=m1*v1+m2*v2
m1*u1^2+m2*u2^2=m1*v1^2+m2*v2^2
Elastic Collision Gifs from wikipedia. [used < < copy image location > >]
Given [m1,u1,m2,u2] solve for v1 and v2 under ideal elastic collision conditions.
Input: [10, 1, 10, 0]
Output: [0 1] v1 and v2
Future: 2-D Elastic equal masses, 2-D Elastic equal masses with find contact, Relativistic Elastic, and 3-D Elastic Equal Masses

Solution Stats

40.66% Correct | 59.34% Incorrect
Last Solution submitted on Jun 06, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
6

Problem Recent Solvers64

Suggested Problems

More from this Author308

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!