// Numbas version: exam_results_page_options {"name": "Solving linear inequalities/inequations: two inequalities", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "preamble": {"js": "", "css": ""}, "tags": ["algebra", "balancing equations", "inequalities", "inequality", "inequation", "inequations", "Linear equations", "linear equations", "rearranging equations", "solving equations", "Solving equations", "two step equations"], "ungrouped_variables": ["a", "b", "c", "left_ba", "right_ba", "left_bb", "right_bb", "left_bc", "right_bc", "bleft", "bright"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0, "name": ""}], "advice": "", "variable_groups": [], "variablesTest": {"maxRuns": "100", "condition": ""}, "parts": [{"scripts": {}, "variableReplacements": [], "prompt": "

Given that $x>\\var{left_ba}$ and $x<\\var{right_ba}$, we can write [[0]] $<x<$ [[1]].

", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "type": "numberentry", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "marks": 1, "showCorrectAnswer": true, "minValue": "{left_ba}", "scripts": {}, "showPrecisionHint": false, "maxValue": "{left_ba}"}, {"allowFractions": false, "variableReplacements": [], "type": "numberentry", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "marks": 1, "showCorrectAnswer": true, "minValue": "{right_ba}", "scripts": {}, "showPrecisionHint": false, "maxValue": "{right_ba}"}], "showCorrectAnswer": true, "marks": 0, "type": "gapfill", "steps": [{"scripts": {}, "variableReplacements": [], "prompt": "

$\\var{left_ba} <x< \\var{right_ba}$ means $\\var{left_ba} <x$ and $x< \\var{right_ba}$. You could read this as \"$x$ is between $\\var{left_ba}$ and $\\var{right_ba}$\".

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "type": "information"}]}, {"scripts": {}, "variableReplacements": [], "prompt": "

Given $\\var{left_bb}<\\frac{x}{\\var{c}}<\\var{right_bb}$, solving for $x$ gives [[0]]$<x<$ [[1]].

", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "type": "numberentry", "correctAnswerFraction": true, "variableReplacementStrategy": "originalfirst", "marks": 1, "showCorrectAnswer": true, "minValue": "{bleft}", "scripts": {}, "showPrecisionHint": false, "maxValue": "{bleft}"}, {"allowFractions": false, "variableReplacements": [], "type": "numberentry", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "marks": 1, "showCorrectAnswer": true, "minValue": "{bright}", "scripts": {}, "showPrecisionHint": false, "maxValue": "{bright}"}], "showCorrectAnswer": true, "marks": 0, "type": "gapfill", "steps": [{"scripts": {}, "variableReplacements": [], "prompt": "

Solving inequalities is similar to solving equations, ensure you do the same thing to all sides. Note that the operations we do are to get $x$ by itself.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{left_bb}$$<$$\\displaystyle \\frac{x}{\\var{c}}$$<$$\\var{right_bb}$
 
$\\var{left_bb}\\times \\var{c}$$<$$\\displaystyle \\frac{x}{\\var{c}}\\times \\var{c}$$<$$\\var{right_bb}\\times \\var{c}$
 
$\\var{bleft}$$<$$x$$<$$\\var{bright}$
\n

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "type": "information"}]}, {"scripts": {}, "variableReplacements": [], "prompt": "

Given $\\var{left_bc}<\\frac{\\simplify{{a}x+{b}}}{\\var{c}}<\\var{right_bc}$, solving for $x$ gives [[0]]$<x<$ [[1]].

", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "type": "numberentry", "correctAnswerFraction": true, "variableReplacementStrategy": "originalfirst", "marks": 1, "showCorrectAnswer": true, "minValue": "{left_bc*c-b}/{a}", "scripts": {}, "showPrecisionHint": false, "maxValue": "{left_bc*c-b}/{a}"}, {"allowFractions": true, "variableReplacements": [], "type": "numberentry", "correctAnswerFraction": true, "variableReplacementStrategy": "originalfirst", "marks": 1, "showCorrectAnswer": true, "minValue": "{right_bc*c-b}/{a}", "scripts": {}, "showPrecisionHint": false, "maxValue": "{right_bc*c-b}/{a}"}], "showCorrectAnswer": true, "marks": 0, "type": "gapfill", "steps": [{"scripts": {}, "variableReplacements": [], "prompt": "

Solving inequalities is similar to solving equations, ensure you do the same thing to all sides. Note that the operations we do are to get $x$ by itself.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{left_bc}$$<$$\\displaystyle \\frac{\\simplify{{a}x+{b}}}{\\var{c}}$$<$$\\var{right_bc}$
  
$\\var{left_bc}\\times \\var{c}$$<$$\\displaystyle \\frac{\\simplify{{a}x+{b}}}{\\var{c}}\\times \\var{c}$$<$$\\var{right_bc}\\times \\var{c}$
  
$\\var{left_bc*c}$$<$$\\simplify{{a}x+{b}}$$<$$\\var{right_bc*c}$
 
$\\simplify[basic]{{left_bc*c}-{b}}$$<$$\\simplify[basic]{{a}x+{b}-{b}}$ $<$$\\simplify[basic]{{right_bc*c}-{b}}$
 
$\\var{left_bc*c-b}$$<$$\\var{a}x$$<$$\\var{right_bc*c-b}$
 
$\\displaystyle\\frac{\\var{left_bc*c-b}}{\\var{a}}$$<$$\\displaystyle\\frac{\\var{a}x}{\\var{a}}$$<$$\\displaystyle\\frac{\\var{right_bc*c-b}}{\\var{a}}$
 
$\\displaystyle\\simplify{{left_bc*c-b}/{a}}$$<$$x$$<$$\\displaystyle\\simplify{{right_bc*c-b}/{a}}$
\n

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "type": "information"}]}], "showQuestionGroupNames": false, "statement": "", "variables": {"c": {"description": "", "group": "Ungrouped variables", "name": "c", "definition": "random(2..12)", "templateType": "anything"}, "left_ba": {"description": "", "group": "Ungrouped variables", "name": "left_ba", "definition": "random(-12..2)", "templateType": "anything"}, "a": {"description": "", "group": "Ungrouped variables", "name": "a", "definition": "random(2..12)", "templateType": "anything"}, "b": {"description": "", "group": "Ungrouped variables", "name": "b", "definition": "random(-12..12 except [-1,0,1])", "templateType": "anything"}, "left_bc": {"description": "", "group": "Ungrouped variables", "name": "left_bc", "definition": "random(-12..2)", "templateType": "anything"}, "right_ba": {"description": "", "group": "Ungrouped variables", "name": "right_ba", "definition": "left_ba+random(2..10)", "templateType": "anything"}, "bleft": {"description": "", "group": "Ungrouped variables", "name": "bleft", "definition": "left_bb*c", "templateType": "anything"}, "left_bb": {"description": "", "group": "Ungrouped variables", "name": "left_bb", "definition": "random(-12..2)", "templateType": "anything"}, "right_bb": {"description": "", "group": "Ungrouped variables", "name": "right_bb", "definition": "left_bb+random(2..10)", "templateType": "anything"}, "right_bc": {"description": "", "group": "Ungrouped variables", "name": "right_bc", "definition": "left_bc+random(2..10)", "templateType": "anything"}, "bright": {"description": "", "group": "Ungrouped variables", "name": "bright", "definition": "right_bb*c", "templateType": "anything"}}, "metadata": {"description": "", "notes": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "functions": {}, "name": "Solving linear inequalities/inequations: two inequalities", "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}