// 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": [{"metadata": {"description": "

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

", "licence": "Creative Commons Attribution 4.0 International"}, "functions": {}, "rulesets": {}, "variable_groups": [], "name": "Ioannis's copy of Linear Inequality : direct input (Bill)", "ungrouped_variables": ["inequal", "ansinequal", "sum", "q", "p", "diff"], "extensions": ["difference"], "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "variables": {"q": {"name": "q", "group": "Ungrouped variables", "definition": "random(16..25)", "templateType": "anything", "description": ""}, "inequal": {"name": "inequal", "group": "Ungrouped variables", "definition": "random ('$>$', '$<$')", "templateType": "anything", "description": ""}, "ansinequal": {"name": "ansinequal", "group": "Ungrouped variables", "definition": "switch( inequal = '$>$', '<', '>' )", "templateType": "anything", "description": ""}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(8..15)", "templateType": "anything", "description": ""}, "sum": {"name": "sum", "group": "Ungrouped variables", "definition": "p + q", "templateType": "anything", "description": ""}, "diff": {"name": "diff", "group": "Ungrouped variables", "definition": "p-q", "templateType": "anything", "description": ""}}, "parts": [{"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

", "gaps": [{"answer": "{ansinequal}", "variableReplacements": [], "type": "patternmatch", "marks": "1", "showCorrectAnswer": true, "scripts": {}, "variableReplacementStrategy": "originalfirst", "displayAnswer": "{ansinequal}"}, {"minValue": "diff", "variableReplacements": [], "maxValue": "diff", "allowFractions": false, "marks": "1", "showCorrectAnswer": true, "type": "numberentry", "showPrecisionHint": false, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "marks": 0, "showCorrectAnswer": true, "type": "gapfill", "scripts": {}, "variableReplacementStrategy": "originalfirst"}], "preamble": {"css": "", "js": ""}, "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

", "type": "question", "statement": "

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

", "variablesTest": {"condition": "", "maxRuns": 100}, "tags": ["inequality", "linear inequality", "simple inequality", "solving inequalities"], "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/"}]}