// Numbas version: exam_results_page_options {"name": "Write a linear equation and graph it from a word problem.", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Write a linear equation and graph it from a word problem.", "tags": [], "metadata": {"description": "

Students are given a word problem with the distance travelled and the time taken by a cyclist. They need to choose the correct form for the linear equation, compute the gradient, and plot the line.

\n

The distance travelled and time taken are randomised.

\n

Speed, distance and time are all integer values.

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

A cyclist is pedalling at a constant speed along the Nullabor Highway. {gender} travels {km} kilometres in {hours} hours.

", "advice": "

\n

Your graph should look similar to this {geogebra_applet('https://www.geogebra.org/m/wxv4ykqj',defs)}

\n

Your graph needs:

\n\n

You may have chosen different scales for your axes. This is fine.

", "rulesets": {}, "extensions": ["geogebra"], "variables": {"gender": {"name": "gender", "group": "Ungrouped variables", "definition": "random(\"He\",\"She\")", "description": "", "templateType": "anything"}, "hours": {"name": "hours", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything"}, "speed": {"name": "speed", "group": "Ungrouped variables", "definition": "random(15..40)", "description": "", "templateType": "anything"}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "speed", "description": "

gradient

", "templateType": "anything"}, "km": {"name": "km", "group": "Ungrouped variables", "definition": "speed * hours", "description": "", "templateType": "anything"}, "xmax": {"name": "xmax", "group": "Ungrouped variables", "definition": "hours*1.5", "description": "", "templateType": "anything"}, "ymax": {"name": "ymax", "group": "Ungrouped variables", "definition": "hours*1.5*m", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "0", "description": "

y-intercept

", "templateType": "anything"}, "defs": {"name": "defs", "group": "Ungrouped variables", "definition": "[\n ['a',m],['b',b],['xmin',0],['xmax',xmax],['ymin',0],['ymax',ymax]\n ]", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["gender", "hours", "speed", "m", "km", "xmax", "ymax", "b", "defs"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Let $d$ represent the distance travelled in km.

\n

Let $t$ represent the time taken in hours.

\n

Let $s$ represent the cyclist's speed.

"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Which of the following equations can be used to represent the cyclist's travels?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$d=st$", "$t=sd$", "$s=dt$", "$s = t + d$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"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": "

Calculate the value of $s$ for this equation.

", "minValue": "m", "maxValue": "m", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Construct a table of values for the equation, and graph it.

\n

Once you are done, click on \"Reveal answers\" to check your graph.

"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}