UrbanXrisis said:
For a...
v=\frac{m_1v_1+m_2v_2}{m_1+m_2}
this is right
for b...
x_m=\sqrt{\frac{m_1(v_1-v_2)^2}{k}}
show your work,
I got a different answer using conservation of energy, I'm assuming m1 and m2 are moving horizontally wrt the ground so gravity is not a factor (its hard to tell from the diagram)
Evaluating the energy before the collision and at the moment of the springs max compression, i get
\frac{1}{2}m_1{v_1}^2 \ + \ \frac{1}{2}m_2{v_2}^2 = \frac{1}{2}k{x_m}^2 \ + \ \frac{1}{2}(m_1 + m_2){v_f}^2
substituting the value calculated in (a) for v_f, this becomes
\frac{1}{2}m_1{v_1}^2 \ + \ \frac{1}{2}m_2{v_2}^2 = \frac{1}{2}k{x_m}^2 \ + \ \frac{1}{2}(m_1 + m_2) \frac{(m_1 v_1 + m_2 v_2)^2}{(m_1 + m_2)^2}
after all the algebra and simplifying my result is
x_m = \sqrt{ \frac{ m_1 m_2 (v_1 - v_2)^2}{k(m_1 + m_2)} }
I think this is right although I'm not %100 sure since I don't have my book with me
for c...
.5kx_m^2=.5m_1v^2
v=\sqrt{\frac{kx_m^2}{m_1}}
however the problem doesn't say in terms of x_m
I'm not sure what to do. If I plugged in b, it would give me v=v
It looks like you tried to use energy... The thing you have to keep in mind when using conservation of energy, is that you have to evaluate the whole system. In this case m1 and m2 as well as the spring are part of the system, so you can't break them up. Your equation says that all the energy from the spring goes into the kinetic energy of m1, but this isn't true. The spring pushes on m1, but by Newton's 3rd law, m1 pushes equally hard on the spring. m2 is connected to the spring, so its energy is affected too.
I treated this as another conservation of momentum problem although now starting from the point when both masses are stuck together
letting {v_1}_i & {v_1}_f be the velocity of m1 before and after the collision respectifully ( same notation goes for m2 ) and letting v_f indicate the velocity calculated in part a, I get
(m_1 + m_2)v_f = m_1 {v_1}_f + m_2 {v_2}_f
(m_1 + m_2)\frac{m_1 {v_1}_i + m_2 {v_2}_i}{m_1 + m_2} = m_1 {v_1}_f + m_2 {v_2}_f
solving for {v_1}_f i get
{v_1}_f = {v_1}_i + \frac{m_2({v_2}_i - {v_2}_f)}{m_1}
the same can be done for {v_2}_f
I think this is the answer, although I am not %100 sure