MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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.

77 correct solutions
43 incorrect solutions

Last solution submitted on Feb 12, 2015

2 Comments

Chellammai C
on 2 Feb 2015

vm=[60 2; -30 4; 100 2]; velo is 200 not 25

Sylvain
on 12 Feb 2015

The momentum is 200, not the velocity.

1 Comment