// 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": [{"ungrouped_variables": ["m", "c", "x1", "y1", "x2", "y2", "x3", "y3", "x4", "y4"], "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "
Input your value of x into the equation given.
\nE.g., for the equation $y = \\var{m}x + \\var{c}$ and $x = \\var{x1}$:
$y = (\\var{m}$ x $\\var{x1}) + \\var{c}$
Finding x and y values for straight line graphs
"}, "rulesets": {}, "extensions": [], "preamble": {"css": "", "js": ""}, "variable_groups": [], "name": "Straight-line graph values", "statement": "For the line $y = \\var{m}x + \\var{c}$, what is y if:
", "parts": [{"integerPartialCredit": 0, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "prompt": "$x = \\var{x1}$
", "minValue": "y1", "maxValue": "y1", "scripts": {}, "marks": 1, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "showCorrectAnswer": true, "type": "numberentry"}, {"integerPartialCredit": 0, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "prompt": "$x = \\var{x2}$
", "minValue": "y2", "maxValue": "y2", "scripts": {}, "marks": 1, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "showCorrectAnswer": true, "type": "numberentry"}, {"integerPartialCredit": 0, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "prompt": "$x = \\var{x3}$
", "minValue": "y3", "maxValue": "y3", "scripts": {}, "marks": 1, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "showCorrectAnswer": true, "type": "numberentry"}, {"integerPartialCredit": 0, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "prompt": "$x = \\var{x4}$
", "minValue": "y4", "maxValue": "y4", "scripts": {}, "marks": 1, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "showCorrectAnswer": true, "type": "numberentry"}], "variables": {"m": {"templateType": "anything", "definition": "random(-10..10)", "name": "m", "group": "Ungrouped variables", "description": ""}, "y2": {"templateType": "anything", "definition": "(m*x2)+c", "name": "y2", "group": "Ungrouped variables", "description": ""}, "y4": {"templateType": "anything", "definition": "(m*x4)+c", "name": "y4", "group": "Ungrouped variables", "description": ""}, "x4": {"templateType": "anything", "definition": "random(-5..5 except [x1,x2,x3])", "name": "x4", "group": "Ungrouped variables", "description": ""}, "x1": {"templateType": "anything", "definition": "random(-5..5)", "name": "x1", "group": "Ungrouped variables", "description": ""}, "x3": {"templateType": "anything", "definition": "random(-5..5 except [x1,x2])", "name": "x3", "group": "Ungrouped variables", "description": ""}, "x2": {"templateType": "anything", "definition": "random(-5..5 except x1)", "name": "x2", "group": "Ungrouped variables", "description": ""}, "y1": {"templateType": "anything", "definition": "(m*x1)+c", "name": "y1", "group": "Ungrouped variables", "description": ""}, "y3": {"templateType": "anything", "definition": "(m*x3)+c", "name": "y3", "group": "Ungrouped variables", "description": ""}, "c": {"templateType": "anything", "definition": "random(-10..10)", "name": "c", "group": "Ungrouped variables", "description": ""}}, "type": "question", "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}]}], "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}