// Numbas version: exam_results_page_options {"name": "Ioannis's copy of Linear Inequality : direct input", "extensions": ["difference"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Ioannis's copy of Linear Inequality : direct input", "parts": [{"showCorrectAnswer": true, "gaps": [{"showCorrectAnswer": true, "marks": "1", "answer": "{ansinequal}", "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "patternmatch", "variableReplacements": [], "displayAnswer": "{ansinequal}"}, {"showCorrectAnswer": true, "scripts": {}, "marks": "1", "correctAnswerFraction": false, "minValue": "diff", "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "allowFractions": false, "type": "numberentry", "variableReplacements": [], "maxValue": "diff"}], "marks": 0, "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "gapfill", "variableReplacements": [], "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

"}], "tags": [], "variables": {"q": {"templateType": "anything", "definition": "random(16..25)", "description": "", "group": "Ungrouped variables", "name": "q"}, "inequal": {"templateType": "anything", "definition": "random ('$>$', '$<$')", "description": "", "group": "Ungrouped variables", "name": "inequal"}, "p": {"templateType": "anything", "definition": "random(8..15)", "description": "", "group": "Ungrouped variables", "name": "p"}, "sum": {"templateType": "anything", "definition": "p + q", "description": "", "group": "Ungrouped variables", "name": "sum"}, "ansinequal": {"templateType": "anything", "definition": "switch( inequal = '$>$', '<', '>' )", "description": "", "group": "Ungrouped variables", "name": "ansinequal"}, "diff": {"templateType": "anything", "definition": "p-q", "description": "", "group": "Ungrouped variables", "name": "diff"}}, "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "type": "question", "rulesets": {}, "statement": "

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

", "metadata": {"description": "

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

", "licence": "Creative Commons Attribution 4.0 International"}, "extensions": ["difference"], "showQuestionGroupNames": false, "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

These online resources might help you revise this topic.

\n

http://www.mathsisfun.com/algebra/inequality-solving.html

\n

\n

\n

http://www.sosmath.com/algebra/inequalities/ineq01/ineq01.html

", "functions": {}, "preamble": {"css": "", "js": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "ungrouped_variables": ["inequal", "ansinequal", "sum", "q", "p", "diff"], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}]}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}