// Numbas version: exam_results_page_options {"name": "Straight-line graph values", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["m", "c", "x1", "y1", "x2", "y2", "x3", "y3", "x4", "y4"], "name": "Straight-line graph values", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Input your value of x into the equation given.

\n

E.g., for the equation $y = \\var{m}x + \\var{c}$ and  $x = \\var{x1}$:
$y = (\\var{m}$ x $\\var{x1}) + \\var{c}$

", "rulesets": {}, "parts": [{"integerPartialCredit": 0, "prompt": "

$x = \\var{x1}$

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "y1", "minValue": "y1", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"integerPartialCredit": 0, "prompt": "

$x = \\var{x2}$

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "y2", "minValue": "y2", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"integerPartialCredit": 0, "prompt": "

$x = \\var{x3}$

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "y3", "minValue": "y3", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"integerPartialCredit": 0, "prompt": "

$x = \\var{x4}$

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "y4", "minValue": "y4", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}], "extensions": [], "statement": "

For the line $y = \\var{m}x + \\var{c}$, what is y if:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"c": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "y2": {"definition": "(m*x2)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y2", "description": ""}, "m": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "x2": {"definition": "random(-5..5 except x1)", "templateType": "anything", "group": "Ungrouped variables", "name": "x2", "description": ""}, "y1": {"definition": "(m*x1)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y1", "description": ""}, "x3": {"definition": "random(-5..5 except [x1,x2])", "templateType": "anything", "group": "Ungrouped variables", "name": "x3", "description": ""}, "y3": {"definition": "(m*x3)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y3", "description": ""}, "x1": {"definition": "random(-5..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "x1", "description": ""}, "y4": {"definition": "(m*x4)+c", "templateType": "anything", "group": "Ungrouped variables", "name": "y4", "description": ""}, "x4": {"definition": "random(-5..5 except [x1,x2,x3])", "templateType": "anything", "group": "Ungrouped variables", "name": "x4", "description": ""}}, "metadata": {"description": "

Finding x and y values for straight line graphs

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