// Numbas version: exam_results_page_options {"name": "Ioannis's copy of Lois's copy of Simultaneous linear equations (variables)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "statement": "
Solve:
\n\\[\\begin{eqnarray*} \\simplify{{a}x+{b}y}&=&\\var{c}\\\\\\\\\\simplify{{a1}x+{b1}y}&=&\\var{c1}\\end{eqnarray*}\\]
", "functions": {}, "ungrouped_variables": ["a", "c", "b", "a1", "b1", "c1"], "rulesets": {"std": ["All", "fractionnumbers"]}, "extensions": [], "tags": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Shows how to define variables to stop degenerate examples.
"}, "name": "Ioannis's copy of Lois's copy of Simultaneous linear equations (variables)", "parts": [{"marks": 0, "scripts": {}, "variableReplacements": [], "gaps": [{"checkingType": "absdiff", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "showPreview": true, "vsetRangePoints": 5, "checkVariableNames": false, "answerSimplification": "Std", "answer": "{b1*c-b*c1}/{a*b1-a1*b}", "expectedVariableNames": [], "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "failureRate": 1, "type": "jme", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "marks": "3", "variableReplacementStrategy": "originalfirst", "notallowed": {"showStrings": false, "partialCredit": 0, "message": "Input your answer as a fraction and not a decimal.
", "strings": ["."]}, "unitTests": []}, {"checkingType": "absdiff", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "showPreview": true, "vsetRangePoints": 5, "checkVariableNames": false, "answerSimplification": "Std", "answer": "{-c*a1+c1*a}/{a*b1-a1*b}", "expectedVariableNames": [], "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "failureRate": 1, "type": "jme", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "marks": "3", "variableReplacementStrategy": "originalfirst", "notallowed": {"showStrings": false, "partialCredit": 0, "message": "Input your answer as a fraction and not as a decimal.
", "strings": ["."]}, "unitTests": []}], "showCorrectAnswer": true, "showFeedbackIcon": true, "type": "gapfill", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "prompt": "$x=$ [[0]]
\n$y=$ [[1]]
\nInput your answers as fractions (use the '/' key) and not as decimals.
", "variableReplacementStrategy": "originalfirst", "unitTests": []}], "advice": "A general method is to make the coefficients of either $x$ or $y$ equal by multiplying one or both equations by a constant.
\nYou can then add or subtract the resulting equations to get an equation in just $x$ or $y$, which you can solve.
\nThe value of the other variable can be found by substitution into one of the original equations.
\nFor more explanation, look for the relevant resource \"Simultaneous Linear Equations\" in the Algebra - Equations section of our Maths Study Skills page.
", "preamble": {"js": "", "css": ""}, "variables": {"b1": {"definition": "random(2..6 except[round(a1*b/a), -b, b])", "group": "Ungrouped variables", "name": "b1", "description": "", "templateType": "anything"}, "c1": {"definition": "random(1..5)", "group": "Ungrouped variables", "name": "c1", "description": "", "templateType": "anything"}, "a1": {"definition": "random(1..5 except a)", "group": "Ungrouped variables", "name": "a1", "description": "", "templateType": "anything"}, "b": {"definition": "random(-5..5 except [0,1,-1, a])", "group": "Ungrouped variables", "name": "b", "description": "", "templateType": "anything"}, "c": {"definition": "random(1..5)", "group": "Ungrouped variables", "name": "c", "description": "", "templateType": "anything"}, "a": {"definition": "random(1..5)", "group": "Ungrouped variables", "name": "a", "description": "", "templateType": "anything"}}, "type": "question", "contributors": [{"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}]}], "contributors": [{"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}