// Numbas version: exam_results_page_options {"name": "Ioannis's copy of Linear Inequality : direct input (Bill)", "extensions": ["difference"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "name": "Ioannis's copy of Linear Inequality : direct input (Bill)", "variables": {"inequal": {"group": "Ungrouped variables", "name": "inequal", "description": "", "definition": "random ('$>$', '$<$')", "templateType": "anything"}, "sum": {"group": "Ungrouped variables", "name": "sum", "description": "", "definition": "p + q", "templateType": "anything"}, "diff": {"group": "Ungrouped variables", "name": "diff", "description": "", "definition": "p-q", "templateType": "anything"}, "q": {"group": "Ungrouped variables", "name": "q", "description": "", "definition": "random(16..25)", "templateType": "anything"}, "p": {"group": "Ungrouped variables", "name": "p", "description": "", "definition": "random(8..15)", "templateType": "anything"}, "ansinequal": {"group": "Ungrouped variables", "name": "ansinequal", "description": "", "definition": "switch( inequal = '$>$', '<', '>' )", "templateType": "anything"}}, "parts": [{"customMarkingAlgorithm": "", "gaps": [{"customMarkingAlgorithm": "", "scripts": {}, "type": "patternmatch", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "displayAnswer": "{ansinequal}", "matchMode": "regex", "answer": "{ansinequal}", "unitTests": [], "showCorrectAnswer": true, "marks": "1.5"}, {"customMarkingAlgorithm": "", "scripts": {}, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "type": "numberentry", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "minValue": "diff", "maxValue": "diff", "unitTests": [], "allowFractions": false, "showCorrectAnswer": true, "marks": "2.5"}], "scripts": {}, "type": "gapfill", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "sortAnswers": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": true, "marks": 0, "prompt": "

$\\var{p}-t \\  \\var{inequal} \\ \\var{q}$

\n

Input the  appropriate  inequality sign, either < or >, in the first box and the correct range in the second.

\n

$t\\;\\;$ [[0]]$\\;\\;$ [[1]]

\n

\n

"}], "extensions": ["difference"], "statement": "

Find the range of values of $t$ which satisfy the following inequality.

", "preamble": {"css": "", "js": ""}, "advice": "

\n

For $\\var{p}-t \\  \\var{inequal} \\ \\var{q}$, the easiest way to start is to add $t$ to both sides of the inequality.

\n

This will give you $ \\var{p} \\ \\var{inequal} \\ t \\ + \\ \\var{q} $.

\n

Now subtracting $ \\var{q} $ from both sides gives $ t \\ \\var{ansinequal} \\var{diff} $

\n

\n

For more explanation, look for the relevant resource \"Linear Inequalities\" in the ALGEBRA - Equations section of our Maths Study Skills page.

", "functions": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Solve $p - t < \\text{or}> q$

"}, "rulesets": {}, "ungrouped_variables": ["inequal", "ansinequal", "sum", "q", "p", "diff"], "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "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/"}]}