I think the explanation or the problem is too complicated
Very nice and well-thought-out problem with lots of test cases with good coverage.
If the acceleration is initially zero, it will not move.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!