Problem 1280. Elastic Collision 001: 1-D
Solution Stats
Problem Comments
-
3 Comments
William
on 29 Dec 2018
The abs() needs to be included in all of the test suite checks, not just the first one.
Nikolaos Nikolaou
on 5 Feb 2020
Test suite is broken again , plz fix :)
goc3
on 28 Sep 2020
Each test case now includes abs().
Solution Comments
-
1 Comment
Richard Zapor
on 19 Feb 2013
Test Suite check will be fixed. Thank you for pointing out my omission of abs.
Problem Recent Solvers39
Suggested Problems
-
3536 Solvers
-
Increment a number, given its digits
596 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
318 Solvers
-
Compute a dot product of two vectors x and y
849 Solvers
-
268 Solvers
More from this Author255
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!