// Numbas version: finer_feedback_settings {"name": "Q4 Constant Acceleration", "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_1", "a1", "s_A", "alpha", "v1", "s_AB", "t_2", "t_delta", "t_AB"], "name": "Q4 Constant Acceleration", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

             

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

the acceleration of the train = [[0]] $ms^{-2}$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "sigfig", "precisionMessage": "

You have not given your answer to the correct precision.

", "allowFractions": false, "variableReplacements": [], "maxValue": "a1", "strictPrecision": false, "minValue": "a1", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "3", "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

the distance the train travels while accelerating = [[0]] metres

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "sigfig", "precisionMessage": "

You have not given your answer to the correct precision.

", "allowFractions": false, "variableReplacements": [], "maxValue": "s_A", "strictPrecision": false, "minValue": "s_A", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "3", "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

the total time for the train to travel from A to B = [[0]] seconds

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "sigfig", "precisionMessage": "

You have not given your answer to the correct precision.

", "allowFractions": false, "variableReplacements": [], "maxValue": "t_AB", "strictPrecision": false, "minValue": "t_AB", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "3", "scripts": {}, "marks": "6", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

A train travelling at $\\var{u_A}\\,\\mathrm{ms^{-1}}$ passes point A and starts to accelerate with constant acceleration.

\n

$\\var{t_1}\\,$ seconds later, its speed is $\\var{v1}\\,\\mathrm{ms^{-1}}$

\n

\n

Find

\n

(a) the acceleration of the train

\n

(b) the distance the train travels while accelerating (in metres)

\n

\n

The train continues to travel at a constant speed. The driver then applies the brakes, bringing the train to a stop at point B  with a constant deceleration of $\\var{alpha}\\,\\mathrm{ms^{-2}}$

\n

(c) if the total distance travelled by the train from A  to B  is $\\var{s_AB}\\,$ km, find the total time taken by the train to cover this distance

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a1": {"definition": "(v1-u_A)/t_1", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "u_A": {"definition": "random(10..15#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "u_A", "description": "

speed of the train at point A

"}, "t_delta": {"definition": "(s_AB*1000/v1)-(s_A/v1)-(v1/(2*alpha))", "templateType": "anything", "group": "Ungrouped variables", "name": "t_delta", "description": ""}, "s_A": {"definition": "((u_A+v1)/2)*t_1", "templateType": "anything", "group": "Ungrouped variables", "name": "s_A", "description": "

distance travelled in time t_1

"}, "v1": {"definition": "floor(u_A+alpha*u_A)", "templateType": "anything", "group": "Ungrouped variables", "name": "v1", "description": "

speed of train after t_1 seconds of acceleration

"}, "t_2": {"definition": "v1/alpha", "templateType": "anything", "group": "Ungrouped variables", "name": "t_2", "description": ""}, "alpha": {"definition": "random(1.2,1.25,1.3,1.35,1.4,1.45,1.5)", "templateType": "anything", "group": "Ungrouped variables", "name": "alpha", "description": ""}, "t_1": {"definition": "random(40..60#5)", "templateType": "randrange", "group": "Ungrouped variables", "name": "t_1", "description": "

acceleration time of train

"}, "t_AB": {"definition": "(t_1+t_delta+t_2)", "templateType": "anything", "group": "Ungrouped variables", "name": "t_AB", "description": ""}, "s_AB": {"definition": "random(10..20#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "s_AB", "description": ""}}, "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Stephen Bowlzer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/206/"}]}]}], "contributors": [{"name": "Stephen Bowlzer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/206/"}]}