The exercise is to compare numerical and analytical solution. I have worked out the code from earlier exercise (see code under this text), but I don't understand how the analytical solution works. I have tried to use the equation r(theta) = a(1-e^2)/(1+e*cos(theta)), which is OK but I don't...
I have tried several things but I am a little uncertain if I’m thinking right so a little hint goes a long way. I think I have to use the law of conservation of momentum as the collision between the raindrops and the box is inelastic. But I am unsure how to set up the equation.