// Numbas version: finer_feedback_settings {"name": "SDT 3", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Picture1_BJVWsgU.png", "/srv/numbas/media/question-resources/Picture1_BJVWsgU.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "SDT 3", "tags": [], "metadata": {"description": "

Given speed and distance, find time. convert time units.

", "licence": "None specified"}, "statement": "", "advice": "

Use the formula triangle: \"A     $D$ is distance, $T$ is time, $S$ is speed.

\n


Check the units before you do the calculation.  $D$ is in km, $T$ in minutes and $S$ in km/h, which are not consistent with each other.

We will change hours into minutes at the end of the calculation.

\n

We are asked to find the time taken, this is $T$ in the triangle.  Cover $T$ with your finger and the remaining part of the triangle gives the formula we need, i.e.

\n

\\[T = \\frac{D}{S}\\]

\n

The values we have are $D = \\var{s}$ and $S=\\var{u}$ km/h.

\n


Therefore

\n

\\[T = \\frac{\\var{s}}{\\var{u}}\\]

\n

\\[T = \\var{s/u} \\text{ hours} \\]

\n

Now change hours into minutes:

\n

\\[\\text{minutes} = \\text{hours} \\times 60\\]

\n

\\[ \\var{s/u} \\text{ hours} = \\var{s*60/u} \\text{ minutes}\\]

\n

\\[T = \\var{precround(s*60/u,0)} \\text{mins, to the nearest minute}\\]

\n

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"t": {"name": "t", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "u2": {"name": "u2", "group": "Ungrouped variables", "definition": "random(10..100)", "description": "", "templateType": "anything", "can_override": false}, "t2": {"name": "t2", "group": "Ungrouped variables", "definition": "random(20..300)", "description": "", "templateType": "anything", "can_override": false}, "s": {"name": "s", "group": "Ungrouped variables", "definition": "random(10 .. 100#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "u": {"name": "u", "group": "Ungrouped variables", "definition": "random(10..100)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["s", "t", "u", "t2", "u2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

A car is travelling at an average speed of $\\var{u}$ km/h over a distance of $\\var{s}$ km.
How long does the car take to travel this distance?  Give your answer to the nearest minute.

", "minValue": "floor(s*60/u)", "maxValue": "floor(s*60/u)+1", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}]}], "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}