Cody

Problem 279. collision

several cars (n) were involved in this collision, the input matrix (vm) has n rows and two columns, first column for velocity and second column for mass of each car. assume momentum conservation, output final velocity. Example -- vm=[60 2; -30 4], first car velocity (+60) mph, mass 2 tons; second car velocity (-30) mph, mass 4 tons, final velocity is zero.

Solution Stats

62.8% Correct | 37.2% Incorrect
Last Solution submitted on Oct 30, 2019

Problem Comments

Solution Comments

Problem Recent Solvers108

Suggested Problems

More from this Author100

Problem Tags