// Numbas version: finer_feedback_settings {"name": "Calculate momentum given mass and speed", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["mass1", "kg1", "velocity1", "tonnes1", "kg2", "velocity2"], "name": "Calculate momentum given mass and speed", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Momentum $p \\ \\mathrm{Ns} = $ mass $\\mathrm{kg} \\ \\times $ velocity $\\mathrm{ms^{-1}}$.

\n

Remember that in the above formula, the mass is measured in $\\mathrm{kg}$.

\n

a)

\n

We have

\n

\\begin{align}
p & = \\frac{\\var{mass1}}{1000} \\times \\var{velocity1}, \\\\
&= \\var{precround(kg1*velocity1,3)} \\, \\mathrm{Ns}.
\\end{align}

\n

The magnitude of the momentum is $\\var{precround(kg1*velocity1,3)} \\, \\mathrm{Ns}.$

\n

b)

\n

We have

\n

\\begin{align}
p & = (\\var{tonnes1} \\times 1000) \\times \\var{velocity2}, \\\\
& = \\var{precround(tonnes1*1000*velocity2,3)} \\, \\mathrm{Ns}.
\\end{align}

\n

The magnitude of the momentum is $\\var{precround(tonnes1*1000*velocity2,3)} \\, \\mathrm{Ns}.$

", "rulesets": {}, "parts": [{"precisionType": "dp", "prompt": "

A particle of mass $\\var{mass1} \\mathrm{g}$ moving at $\\var{velocity1} \\mathrm{ms^{-1}}$.

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

A caravan of mass $\\var{tonnes1} \\ \\mathrm{tonnes}$ moving at $\\var{velocity2} \\mathrm{ms^{-1}}$.

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

Find the magnitude of the momentum, $p \\ \\mathrm{Ns}$, of the following objects. Give your answers to 3 decimal places.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"kg1": {"definition": "mass1/1000", "templateType": "anything", "group": "Ungrouped variables", "name": "kg1", "description": ""}, "kg2": {"definition": "tonnes1*1000", "templateType": "anything", "group": "Ungrouped variables", "name": "kg2", "description": ""}, "mass1": {"definition": "random(200..1000#10)", "templateType": "randrange", "group": "Ungrouped variables", "name": "mass1", "description": "

mass in grams

"}, "velocity2": {"definition": "random(0.2..1.6#0.05)", "templateType": "randrange", "group": "Ungrouped variables", "name": "velocity2", "description": ""}, "velocity1": {"definition": "random(2..20#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "velocity1", "description": ""}, "tonnes1": {"definition": "random(0.5..10#0.5)", "templateType": "randrange", "group": "Ungrouped variables", "name": "tonnes1", "description": ""}}, "metadata": {"description": "

Find the magnitude of the momentum of some objects, given mass and speed. Apply the formula $\\rho = mv$.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "contributors": [{"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}]}]}], "contributors": [{"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}]}