// 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: $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.
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}\\]
\nThe values we have are $D = \\var{s}$ and $S=\\var{u}$ km/h.
\n
Therefore
\\[T = \\frac{\\var{s}}{\\var{u}}\\]
\n\\[T = \\var{s/u} \\text{ hours} \\]
\nNow 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.