// Numbas version: exam_results_page_options {"name": "Simon's copy of Gradient", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "tags": [], "extensions": [], "statement": "

You are given the following straight-line graph equation:

\n

$y = \\simplify{{a}x + {b}}$

", "parts": [{"showCellAnswerState": true, "displayType": "radiogroup", "unitTests": [], "matrix": ["1", 0, 0, 0], "showFeedbackIcon": true, "distractors": ["", "", "", ""], "marks": 0, "scripts": {}, "useCustomName": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "maxMarks": 0, "prompt": "

What is the gradient?

", "customMarkingAlgorithm": "", "customName": "", "minMarks": 0, "variableReplacements": [], "displayColumns": "1", "type": "1_n_2", "shuffleChoices": true, "choices": ["

$\\var{a}$

", "

$\\var{b}$

", "

$x$

", "

$y$

"], "extendBaseMarkingAlgorithm": true}, {"showCellAnswerState": true, "displayType": "radiogroup", "unitTests": [], "matrix": ["0", "1", 0, 0], "showFeedbackIcon": true, "distractors": ["", "", "", ""], "marks": 0, "scripts": {}, "useCustomName": false, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "maxMarks": 0, "prompt": "

What is the y-intercept?

", "customMarkingAlgorithm": "", "customName": "", "minMarks": 0, "variableReplacements": [], "displayColumns": "1", "type": "1_n_2", "shuffleChoices": true, "choices": ["

$\\var{a}$

", "

$\\var{b}$

", "

$x$

", "

$y$

"], "extendBaseMarkingAlgorithm": true}], "advice": "

In a straight-line graph the general equation is $y = mx + c$ where $c$ is the $y$-intercept and $m$ is the gradient.

\n

\n

In our example we have $y = \\simplify{{a}x + {b}}$. Therefore:

\n", "functions": {}, "variables": {"b": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(-10..10 except a)", "name": "b"}, "a": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(-10..10)", "name": "a"}}, "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "b"], "variablesTest": {"maxRuns": 100, "condition": ""}, "variable_groups": [], "metadata": {"description": "

Identifying the gradient from a straight-line graph equation y=mx+c

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "name": "Simon's copy of Gradient", "type": "question", "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}