// Numbas version: exam_results_page_options {"name": "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": [{"functions": {}, "ungrouped_variables": ["inequal", "ansinequal", "sum", "q", "p", "diff"], "name": "Linear Inequality : direct input ", "tags": [], "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

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

", "rulesets": {}, "parts": [{"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

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "displayAnswer": "{ansinequal}", "scripts": {}, "answer": "{ansinequal}", "marks": "1", "type": "patternmatch"}, {"allowFractions": false, "variableReplacements": [], "maxValue": "diff", "minValue": "diff", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "1", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": ["difference"], "statement": "

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

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

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

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