// Numbas version: exam_results_page_options {"name": "Substituting values 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["u", "a", "t", "s"], "name": "Substituting values 2", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Substitute in the values appropriately. For example, $s=\\var{u}\\times\\var{t}+\\frac{1}{2}\\var{a}\\times\\var{t}^2 = \\var{s}$

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

Find $s$ when 

\n

$u=\\var{u}$, $a=\\var{a}$, $t=\\var{t}$, giving your answer to 2 decimal places

\n

$s=$[[0]]m

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

The displacement $(s)$ of an object moving at constant acceleration can be modelled as $s=ut+\\frac{1}{2}at^2$ where:

\n

$u$ is the initial velocity, m/s

\n

$a$ is the constant acceleration, m/s2

\n

$t$ is the time, s

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(-2..2#0.1)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "s": {"definition": "u*t+(a*t^2)/2", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "u": {"definition": "random(0..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "u", "description": ""}, "t": {"definition": "random(5..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}]}]}], "contributors": [{"name": "joshua boddy", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/557/"}]}