// Numbas version: finer_feedback_settings {"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": [{"name": "Straight-line graph values", "ungrouped_variables": ["m", "c", "x1", "y1", "x2", "y2", "x3", "y3", "x4", "y4"], "variables": {"m": {"group": "Ungrouped variables", "definition": "random(-10..10)", "name": "m", "templateType": "anything", "description": ""}, "x3": {"group": "Ungrouped variables", "definition": "random(-5..5 except [x1,x2])", "name": "x3", "templateType": "anything", "description": ""}, "y2": {"group": "Ungrouped variables", "definition": "(m*x2)+c", "name": "y2", "templateType": "anything", "description": ""}, "x1": {"group": "Ungrouped variables", "definition": "random(-5..5)", "name": "x1", "templateType": "anything", "description": ""}, "x4": {"group": "Ungrouped variables", "definition": "random(-5..5 except [x1,x2,x3])", "name": "x4", "templateType": "anything", "description": ""}, "y1": {"group": "Ungrouped variables", "definition": "(m*x1)+c", "name": "y1", "templateType": "anything", "description": ""}, "x2": {"group": "Ungrouped variables", "definition": "random(-5..5 except x1)", "name": "x2", "templateType": "anything", "description": ""}, "y4": {"group": "Ungrouped variables", "definition": "(m*x4)+c", "name": "y4", "templateType": "anything", "description": ""}, "c": {"group": "Ungrouped variables", "definition": "random(-10..10)", "name": "c", "templateType": "anything", "description": ""}, "y3": {"group": "Ungrouped variables", "definition": "(m*x3)+c", "name": "y3", "templateType": "anything", "description": ""}}, "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}$

", "tags": [], "functions": {}, "rulesets": {}, "extensions": [], "preamble": {"css": "", "js": ""}, "variable_groups": [], "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Finding x and y values for straight line graphs

"}, "statement": "

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

", "parts": [{"correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "prompt": "

$x = \\var{x1}$

", "minValue": "y1", "mustBeReducedPC": 0, "maxValue": "y1", "variableReplacements": [], "marks": 1, "correctAnswerStyle": "plain", "allowFractions": false, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "type": "numberentry"}, {"correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "prompt": "

$x = \\var{x2}$

", "minValue": "y2", "mustBeReducedPC": 0, "maxValue": "y2", "variableReplacements": [], "marks": 1, "correctAnswerStyle": "plain", "allowFractions": false, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "type": "numberentry"}, {"correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "prompt": "

$x = \\var{x3}$

", "minValue": "y3", "mustBeReducedPC": 0, "maxValue": "y3", "variableReplacements": [], "marks": 1, "correctAnswerStyle": "plain", "allowFractions": false, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "type": "numberentry"}, {"correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "prompt": "

$x = \\var{x4}$

", "minValue": "y4", "mustBeReducedPC": 0, "maxValue": "y4", "variableReplacements": [], "marks": 1, "correctAnswerStyle": "plain", "allowFractions": false, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "type": "numberentry"}], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "resources": []}]}], "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}