// Numbas version: exam_results_page_options {"name": "Mock exam Simultaneous Equations with integers as solutions.", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "gcd(a,b)=1 and gcd(c,d)=1 and det(matrix([a,b],[c,d]))<>0", "maxRuns": 100}, "advice": "", "ungrouped_variables": ["a", "b", "c", "d", "x", "y", "f", "g"], "tags": [], "variable_groups": [], "statement": "

\n

Solve these simultaneous equations

", "functions": {}, "parts": [{"gaps": [{"checkvariablenames": false, "variableReplacements": [], "expectedvariablenames": [], "vsetrange": [0, 1], "showpreview": true, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "answer": "{x}", "scripts": {}, "vsetrangepoints": 5, "type": "jme", "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 1, "variableReplacementStrategy": "originalfirst"}, {"checkvariablenames": false, "variableReplacements": [], "expectedvariablenames": [], "vsetrange": [0, 1], "showpreview": true, "checkingaccuracy": 0.001, "checkingtype": "absdiff", "answer": "{y}", "scripts": {}, "vsetrangepoints": 5, "type": "jme", "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 1, "variableReplacementStrategy": "originalfirst"}], "prompt": "

Solve the simultaneous equations:

\n

$\\simplify[all,!noLeadingMinus]{{a}x+{b}y = {f}}$

\n

$\\simplify[all,!noLeadingMinus]{{c}x+{d}y = {g}}$

\n

$x=\\;$[[0]]

\n

$y=\\;$[[1]]

", "type": "gapfill", "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "marks": 0, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "variables": {"d": {"definition": "random(-10..10 except 0)", "description": "", "name": "d", "group": "Ungrouped variables", "templateType": "anything"}, "x": {"definition": "random(-5..5 except 0)", "description": "", "name": "x", "group": "Ungrouped variables", "templateType": "anything"}, "b": {"definition": "random(-10..10 except 0)", "description": "", "name": "b", "group": "Ungrouped variables", "templateType": "anything"}, "g": {"definition": "c*x+d*y", "description": "", "name": "g", "group": "Ungrouped variables", "templateType": "anything"}, "f": {"definition": "a*x+b*y", "description": "", "name": "f", "group": "Ungrouped variables", "templateType": "anything"}, "a": {"definition": "random(-10..10 except 0)", "description": "", "name": "a", "group": "Ungrouped variables", "templateType": "anything"}, "c": {"definition": "random(-10..10 except 0)", "description": "", "name": "c", "group": "Ungrouped variables", "templateType": "anything"}, "y": {"definition": "random(-5..5 except 0)", "description": "", "name": "y", "group": "Ungrouped variables", "templateType": "anything"}}, "rulesets": {}, "metadata": {"description": "

A simultaneous equations question with integers only

", "licence": "Creative Commons Attribution 4.0 International"}, "name": "Mock exam Simultaneous Equations with integers as solutions.", "preamble": {"js": "", "css": ""}, "extensions": [], "type": "question", "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}]}], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}