// Numbas version: exam_results_page_options {"name": "Impulse: Find initial speeds of colliding players", "extensions": [], "custom_part_types": [], "resources": [["question-resources/collision.png", "/srv/numbas/media/question-resources/collision.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Impulse: Find initial speeds of colliding players", "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"js": "", "css": ""}, "advice": "

We can draw a diagram.

\n

\n

The impulse applied to both players is $I = \\var{impulse} \\, \\mathrm{Ns}$, and the speeds after the collision are $v_1 = \\var{A_speed} \\, \\mathrm{ms^{-1}}$ and $v_2 = \\var{B_speed} \\, \\mathrm{ms^{-1}}$ for the players $A$ and $B$ respectively.

\n

a)

\n

To calculate $u_1$, the speed of player $A$ before the collision, we use the equation $I = m_1v_1 - m_1u_1$, where $m_1$ is the mass of player $A$, which is $\\var{A_mass} \\, \\mathrm{kg}$. We resolve in the direction of the impulse, therefore the signs of $v_1$ and $u_1$ will be reversed.

\n

\\begin{align}
I & = m_1v_1 - m_1u_1, \\\\
\\var{impulse} & = \\var{A_mass} (v_1 - u_1), \\\\
\\frac{\\var{impulse}}{\\var{A_mass}} & = - \\var{A_speed} - (- u_1), \\\\
u_1 & = \\frac{\\var{impulse}}{\\var{A_mass}} + \\var{A_speed}, \\\\
& = \\var{siground( impulse/A_mass + A_speed,3)} \\, \\mathrm{ms^{-1}}.
\\end{align}

\n

The magnitude of the speed of $A$ before the collision is $\\var{siground( impulse/A_mass + A_speed,3)} \\, \\mathrm{ms^{-1}}$.

\n

b) 

\n

To calculate $u_2$, the speed of player $B$ before the collision we use the equation $I = m_2v_2 - m_2u_2$, where $m_2$ is the mass of player $B$, which is $\\var{B_mass} \\, \\mathrm{kg}$. We resolve in the direction of the impulse shown in the diagram, which is the same as the direction of the speeds.

\n

\\begin{align}
I & = m_2v_2 - m_2u_2, \\\\
\\var{impulse} & = \\var{B_mass} ( \\var{B_speed} - u_2), \\\\
\\frac{\\var{impulse} }{ \\var{B_mass}} & = \\var{B_speed} - u_2, \\\\
u_2 & = \\var{B_speed} -  \\frac{\\var{impulse} }{ \\var{B_mass}}, \\\\
& = \\var{siground( B_speed - (impulse/B_mass),3)} \\, \\mathrm{ms^{-1}}.
\\end{align}

\n

If this is positive it means the direction of player $B$ we assumed is correct; if it is negative it means the player was originally travelling in the other direction. However we were asked to find the magnitude of the speed so we take our answer as $\\var{B_before_speed} \\, \\mathrm{ms^{-1}}$.

", "metadata": {"description": "

Two players collide. Given the masses, final speeds and impulse imparted on each, find their initial speeds.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Two American football players $A$ and $B$ of mass $\\var{A_mass} \\mathrm{kg}$ and $\\var{B_mass} \\mathrm{kg}$ respectively are moving in the same straight line on a smooth horizontal surface. The players collide. After the collision both of the players are moving in the same direction. 

\n

After the collision, player $A$ travels at $\\var{A_speed} \\mathrm{ms^{-1}}$ and player $B$ travels at $\\var{B_speed} \\mathrm{ms^{-1}}$. The magnitude of the impulse of $A$ on $B$ is $\\var{impulse} \\mathrm{Ns}$.

", "functions": {}, "variable_groups": [], "extensions": [], "rulesets": {}, "ungrouped_variables": ["A_mass", "B_mass", "A_speed", "B_speed", "impulse", "A_before_speed", "B_before_speed"], "parts": [{"minValue": "A_before_speed", "maxValue": "A_before_speed", "precisionType": "sigfig", "marks": 1, "scripts": {}, "variableReplacements": [], "allowFractions": false, "precision": "3", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "prompt": "

Find the magnitude of the speed of player $A$ before the collision, in $\\mathrm{ms^{-1}}$ to 3 s.f.

", "showPrecisionHint": false, "precisionPartialCredit": 0, "type": "numberentry", "showCorrectAnswer": true}, {"minValue": "B_before_speed", "maxValue": "B_before_speed", "precisionType": "sigfig", "marks": 1, "scripts": {}, "variableReplacements": [], "allowFractions": false, "precision": "3", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "prompt": "

Find the magnitude of the speed of player $B$ before the collision, in $\\mathrm{ms^{-1}}$ to 3 s.f.

", "showPrecisionHint": false, "precisionPartialCredit": 0, "type": "numberentry", "showCorrectAnswer": true}], "variables": {"impulse": {"definition": "random(100..150#1)", "name": "impulse", "description": "", "templateType": "randrange", "group": "Ungrouped variables"}, "A_mass": {"definition": "random(50..80#1)", "name": "A_mass", "description": "", "templateType": "randrange", "group": "Ungrouped variables"}, "B_speed": {"definition": "random(3.1..5#0.1)", "name": "B_speed", "description": "", "templateType": "randrange", "group": "Ungrouped variables"}, "A_speed": {"definition": "random(0.5..3#0.1)", "name": "A_speed", "description": "", "templateType": "randrange", "group": "Ungrouped variables"}, "A_before_speed": {"definition": "(impulse/A_mass)+A_speed", "name": "A_before_speed", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "B_before_speed": {"definition": "sqrt((B_speed-(impulse/B_mass))^2)", "name": "B_before_speed", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "B_mass": {"definition": "random(50..80#1)", "name": "B_mass", "description": "", "templateType": "randrange", "group": "Ungrouped variables"}}, "tags": [], "type": "question", "contributors": [{"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}]}]}], "contributors": [{"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}]}