// Numbas version: exam_results_page_options {"name": "Rational Equation..becomes Linear", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["posb", "neg", "ans51"], "name": "Rational Equation..becomes Linear", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {"std": ["all", "basic", "simplifyFractions"], "ruleset1": []}, "parts": [{"prompt": "

You must enter your answer as a fraction NOT as a decimal.

\n

$x = $  [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": false, "scripts": {}, "answer": "{ans51}", "marks": "3", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

\n

Solve the equation below for $x$:

\n

\\[\\dfrac{\\var{posb[1]}}{\\var{posb[2]}x\\var{neg[4]}}= \\dfrac{\\var{posb[3]}}{\\var{posb[4]}x+\\var{posb[5]}}\\]

\n

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"neg": {"definition": "shuffle(-9..-2)[0..9]", "templateType": "anything", "group": "Ungrouped variables", "name": "neg", "description": ""}, "posb": {"definition": "shuffle(2..10)[0..9]", "templateType": "anything", "group": "Ungrouped variables", "name": "posb", "description": ""}, "ans51": {"definition": "((posb[3] * neg[4]) - (posb[1] * posb[5]))/((posb[1] * posb[4]) - (posb[3] * posb[2]))", "templateType": "anything", "group": "Ungrouped variables", "name": "ans51", "description": ""}}, "metadata": {"description": "

Simple Linear Equations involving Basic Transposition

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