// Numbas version: finer_feedback_settings {"name": "Simultaneous Equations with Integer solutions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["x", "y", "a", "b", "c", "d", "const1", "const2"], "name": "Simultaneous Equations with Integer solutions", "tags": ["algebra", "equations", "simultaneous equations"], "preamble": {"css": "", "js": ""}, "advice": "

Remember that you are trying to find values for $x$ and $y$ that fit both equations.

\n

A useful way to start is to make the coefficients of $x$ or $y$ the same in both equations. You can do this by multiplying (or dividing) each term in an equation by the same factor.

\n

See http://www.mathcentre.ac.uk/resources/uploaded/mc-bus-simult-2009-1.pdf for some worked examples.

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

x = [[0]]

\n

y = [[1]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{x}", "minValue": "{x}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{y}", "minValue": "{y}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Solve the simultaneous equations:

\n

 $ \\simplify{{a}x+{b} y  =  {const1}} \\\\ \\simplify{{c}x + {d}y  =  {const2}}$

\n

\n

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random( 2..6 except a)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(2..6 except[0,a])\n", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(2..6 except[[a*b/c], -b,b])", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "const1": {"definition": "a*x+b*y", "templateType": "anything", "group": "Ungrouped variables", "name": "const1", "description": ""}, "const2": {"definition": "c*x + d*y", "templateType": "anything", "group": "Ungrouped variables", "name": "const2", "description": ""}, "y": {"definition": "random(-2..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "y", "description": ""}, "x": {"definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "x", "description": ""}}, "metadata": {"description": "

Solving simple simultaneous equations.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}]}]}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}]}