// Numbas version: exam_results_page_options {"name": "Units : Convert between m/s and km/h", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Units : Convert between m/s and km/h", "tags": [], "metadata": {"description": "

Convert speeds from m/s to km/h

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

The table below gives the average speed of a variety of moving objects in metres per second (m/s).

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Moving objectSpeed (m/s)
snail gliding0.01
tortoise walking0.12
person jogging3.2
horse galloping13.7
car cruising26.4
cheetah running28.3
aeroplane cruising220
\n











", "advice": "

The {thing} is {moving} at a speed of {speed} m/s.

\n

This means that {pronoun} {speed} metres in one second.

\n

In one minute, the {thing} would travel 60 x {speed} metres = {formatnumber(60*speed,\"si-en\")} metres.

\n

In one hour, the {thing} would travel 60 x {formatnumber(60*speed,\"si-en\")} metres = {formatnumber(3600*speed,\"si-en\")} metres, so {pronoun2} speed is {formatnumber(3600*speed,\"si-en\")} m/h.

\n

Now we need to convert the metres to kilometres. There are 1000 metres in one kilometre, so we divide by 1000.

\n

{formatnumber(3600*speed,\"si-en\")} m/h ÷ 1000 = {formatnumber(3.6*speed,\"si-en\")} km/h.

\n
\n

This speed does not need to be rounded, so the {thing}'s speed is {formatnumber(3.6*speed,\"si-en\")} km/h.

\n
\n
\n

This speed when rounded to one decimal place is zero.

\n

The {thing}'s speed is 0 km/h.

\n
\n
\n

This speed needs to be rounded to one decimal place.

\n

The {thing}'s speed is {trim(dpformat(precround({3.6*speed},1),1,\"si-en\"))} km/h.

\n
\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"Scenarios": {"name": "Scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\\"object\\\":\\\"snail\\\", \\\"motion\\\":\\\"gliding\\\", \\\"mps\\\":0.01,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"horse\\\",\\\"motion\\\":\\\"galloping\\\", \\\"mps\\\":13.7,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"car\\\",\\\"motion\\\":\\\"cruising\\\",\\\"mps\\\":26.4,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"cheetah\\\",\\\"motion\\\":\\\"running\\\",\\\"mps\\\":28.3,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"person\\\",\\\"motion\\\":\\\"jogging\\\",\\\"mps\\\":3.2,\\\"pron\\\":\\\"they travel\\\",\\\"pron1\\\":\\\"their\\\"},\\n{\\\"object\\\":\\\"tortoise\\\",\\\"motion\\\":\\\"walking\\\",\\\"mps\\\":0.12,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"aeroplane\\\",\\\"motion\\\":\\\"cruising\\\",\\\"mps\\\":220,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"}\\n]\"))", "description": "

The list of all possible scenarios. It includes the data in the table and the gramatically correct pronoun/verb combination.

", "templateType": "json", "can_override": false}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "

The randomly selected scenario.

", "templateType": "anything", "can_override": false}, "thing": {"name": "thing", "group": "Ungrouped variables", "definition": "scenario[\"object\"]", "description": "

The selected item from the table.

", "templateType": "anything", "can_override": false}, "speed": {"name": "speed", "group": "Ungrouped variables", "definition": "scenario[\"mps\"]", "description": "

The speed of the selected item from the table.

", "templateType": "anything", "can_override": false}, "pronoun": {"name": "pronoun", "group": "Ungrouped variables", "definition": "scenario[\"pron\"]", "description": "

The correct pronoun/verb combination for the selected item from the table.

", "templateType": "anything", "can_override": false}, "moving": {"name": "moving", "group": "Ungrouped variables", "definition": "scenario[\"motion\"]", "description": "

The correct term for the motion, relative to the selected object.

", "templateType": "anything", "can_override": false}, "pronoun2": {"name": "pronoun2", "group": "Ungrouped variables", "definition": "scenario[\"pron1\"]", "description": "

'its' for animals and 'their' for the person. Used in Advice.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["Scenarios", "scenario", "thing", "speed", "pronoun", "moving", "pronoun2"], "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": "

What is the average speed of the {thing}, in kilometres per hour (km/h)?

\n

Give your answer rounded to one decimal place. Do not enter the units.

", "minValue": "3.6*speed", "maxValue": "3.6*speed", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "1", "precisionPartialCredit": "100", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}