// Numbas version: finer_feedback_settings {"name": "Ulikheter quiz", "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "duration": 0, "percentPass": "80", "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], []], "questions": [{"name": "Ulikheter: Navn og symboler", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Torris Bakke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/942/"}], "tags": ["inequalities", "inequality", "inequations"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Koble symbol til riktig mening.

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Uttrykket $x<3$ leses som '$x$ er mindre enn 3'. Vi kan tenke oss at symbolet $<$ har en spiss i ene enden og en åpning i andre, der spissen peker mot det minste tallet og åpningen mot det største tallet. 

\n

Det gjelder også hvis symbolet snus andre veien. For eksempel, i uttrykket $y>2$ peker spissen mot 2 mens åpningen er mot $y$. Det leser vi som '$y$ er større enn 2'.

\n

Når det er en strek under symbolet, f.eks $\\ge$, kan vi tenke oss at det er tilført et likhetstegn, f.eks. betyr $w\\ge 5$ at '$w$ er større enn eller lik 5'. På samme måte betyr $z\\le 0$ at '$z$ er mindre eller lik 0'.

"}], "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": true, "shuffleAnswers": true, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["

mindre enn

", "

mindre eller lik

", "

større enn

", "

større eller lik

"], "matrix": [["1", 0, 0, 0], [0, "1", 0, 0], [0, 0, "1", 0], [0, 0, 0, "1"]], "layout": {"type": "all", "expression": ""}, "answers": ["

$<$

", "

$\\leq$

", "

$>$

", "

$\\ge$

"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Ulikheter: Enkel ulikhet, tester verdier", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Torris Bakke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/942/"}], "tags": ["inequalities", "inequality", "inequations"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "num+random(0.01..0.5#0.01)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "num+random(2..8)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "num-random(0.01..0.5#0.01)", "description": "", "templateType": "anything", "can_override": false}, "numtex": {"name": "numtex", "group": "Ungrouped variables", "definition": "'\\$\\\\var{num}\\$'", "description": "", "templateType": "anything", "can_override": false}, "question": {"name": "question", "group": "Ungrouped variables", "definition": "variable+ineq+numtex", "description": "", "templateType": "anything", "can_override": false}, "possible_values": {"name": "possible_values", "group": "Ungrouped variables", "definition": "[num,a,b,c,d]", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "num-random(2..8)", "description": "", "templateType": "anything", "can_override": false}, "variable": {"name": "variable", "group": "Ungrouped variables", "definition": "random('\\$x\\$','\\$y\\$','\\$z\\$','\\$n\\$','\\$m\\$','\\$a\\$','\\$b\\$')", "description": "", "templateType": "anything", "can_override": false}, "num": {"name": "num", "group": "Ungrouped variables", "definition": "random(-12..12)", "description": "", "templateType": "anything", "can_override": false}, "words": {"name": "words", "group": "Ungrouped variables", "definition": "if(ineq='\\$\\\\,<\\\\,\\$','er mindre enn',\n if(ineq='\\$\\\\,\\\\le\\\\,\\$','er mindre eller lik',\n if(ineq='\\$\\\\,>\\\\,\\$','er st\u00f8rre enn',\n if(ineq='\\$\\\\,\\\\ge\\\\,\\$','er st\u00f8rre eller lik',\"error\"))))", "description": "", "templateType": "anything", "can_override": false}, "test": {"name": "test", "group": "Ungrouped variables", "definition": "if(ineq='\\$\\\\,<\\\\,\\$','ok', 'nei')", "description": "", "templateType": "anything", "can_override": false}, "ineq": {"name": "ineq", "group": "Ungrouped variables", "definition": "random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$','\\$\\\\,>\\\\,\\$','\\$\\\\,\\\\ge\\\\,\\$')", "description": "", "templateType": "anything", "can_override": false}, "marking": {"name": "marking", "group": "Ungrouped variables", "definition": "if(ineq='\\$\\\\,<\\\\,\\$',[0,0,1,0,1],\n if(ineq='\\$\\\\,\\\\le\\\\,\\$',[1,0,1,0,1],\n if(ineq='\\$\\\\,>\\\\,\\$',[0,1,0,1,0],\n if(ineq='\\$\\\\,\\\\ge\\\\,\\$',[1,1,0,1,0],\"error\"))))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["variable", "ineq", "num", "numtex", "question", "test", "possible_values", "a", "b", "c", "d", "marking", "words"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Hvilke verdier av {variable} tilfredsstiller ulikheten {question}?

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Uttrykket {question} betyr at {variable} {words} {numtex}.

\n

\n

Når vi har negative tall, må vi huske på at 'mindre' betyr lenger til venstre på tallinjen mens 'større' betyr lenger til høyre. Så $-10$ er mindre enn $-5$, siden $-10$ er fem plasser til venstre for $-5$ på tallinjen..

\n

\n

"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "checkbox", "displayColumns": "0", "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["


{num}

", "


{a}

", "


{b}

", "


{c}

", "


{d}

"], "matrix": "marking"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Ulikheter: Doble ulikheter (OG), tester verdier", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Torris Bakke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/942/"}], "tags": ["inequalities", "inequality", "inequations"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"num4": {"name": "num4", "group": "partb", "definition": "num3+random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "num1": {"name": "num1", "group": "Ungrouped variables", "definition": "random(-12..12)", "description": "", "templateType": "anything", "can_override": false}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "num1+random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "num3": {"name": "num3", "group": "partb", "definition": "random(-12..12 except num1)", "description": "", "templateType": "anything", "can_override": false}, "ineqs": {"name": "ineqs", "group": "partb", "definition": "random(\n [random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$'),random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$'),'l'],\n [random('\\$\\\\,>\\\\,\\$','\\$\\\\,\\\\ge\\\\,\\$'),random('\\$\\\\,>\\\\,\\$','\\$\\\\,\\\\ge\\\\,\\$'),'g'])", "description": "", "templateType": "anything", "can_override": false}, "words2": {"name": "words2", "group": "Ungrouped variables", "definition": "if(ineq2='\\$\\\\,<\\\\,\\$',['er \\$\\\\textbf{mindre enn}\\$','\\$\\\\textbf{til}\\$','\\$\\\\textbf{ikke}\\$ er inkludert'],\n if(ineq2='\\$\\\\,\\\\le\\\\,\\$',['er \\$\\\\textbf{mindre eller lik}\\$','\\$\\\\textbf{til og med}\\$','er inkludert'],\n if(ineq2='\\$\\\\,>\\\\,\\$',['er \\$\\\\textbf{st\u00f8rre enn}\\$','\\$\\\\textbf{fra}\\$','\\$\\\\textbf{ikke}\\$ er inkludert'],\n if(ineq2='\\$\\\\,\\\\ge\\\\,\\$',['\\$\\\\textbf{st\u00f8rre eller lik}\\$','\\$\\\\textbf{fra og med}\\$','er inkludert'],[\"error\",\"error\"]))))", "description": "", "templateType": "anything", "can_override": false}, "words1": {"name": "words1", "group": "Ungrouped variables", "definition": "if(ineq1='\\$\\\\,<\\\\,\\$',['er \\$\\\\textbf{mindre enn}\\$','\\$\\\\textbf{fra}\\$','\\$\\\\textbf{ikke}\\$ er inkludert'],\n if(ineq1='\\$\\\\,\\\\le\\\\,\\$',['er \\$\\\\textbf{mindre eller lik}\\$','\\$\\\\textbf{fra og med}\\$','er inkludert'],\n if(ineq1='\\$\\\\,>\\\\,\\$',['er \\$\\\\textbf{st\u00f8rre enn}\\$','\\$\\\\textbf{til}\\$','\\$\\\\textbf{ikke}\\$ er inkludert'],\n if(ineq1='\\$\\\\,\\\\ge\\\\,\\$',['\\$\\\\textbf{st\u00f8rre eller lik}\\$','\\$\\\\textbf{til og med}\\$','er inkludert'],[\"error\",\"error\"]))))", "description": "", "templateType": "anything", "can_override": false}, "middle": {"name": "middle", "group": "Ungrouped variables", "definition": "(num1+num2)/2+random(-0.1..0.1#0.01)", "description": "", "templateType": "anything", "can_override": false}, "marking2": {"name": "marking2", "group": "partb", "definition": "if(ineqs[2]='l',[1,0],if(ineqs[2]='g',[0,1],\"error\"))", "description": "", "templateType": "anything", "can_override": false}, "marking": {"name": "marking", "group": "Ungrouped variables", "definition": "if(ineq1='\\$\\\\,<\\\\,\\$' and ineq2='\\$\\\\,<\\\\,\\$',[0,0,1,0,0],\nif(ineq1='\\$\\\\,<\\\\,\\$' and ineq2='\\$\\\\,\\\\le\\\\,\\$',[0,0,1,1,0],\nif(ineq1='\\$\\\\,\\\\le\\\\,\\$' and ineq2='\\$\\\\,\\\\le\\\\,\\$',[0,1,1,1,0],\nif(ineq1='\\$\\\\,\\\\le\\\\,\\$' and ineq2='\\$\\\\,<\\\\,\\$',[0,1,1,0,0],\"error\"))))", "description": "

[less, num1, middle, num2, more]

", "templateType": "anything", "can_override": false}, "num2tex": {"name": "num2tex", "group": "Ungrouped variables", "definition": "'\\$\\\\var{num2}\\$'", "description": "", "templateType": "anything", "can_override": false}, "less": {"name": "less", "group": "Ungrouped variables", "definition": "num1-random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "question": {"name": "question", "group": "Ungrouped variables", "definition": "num1tex+ineq1+variable+ineq2+num2tex", "description": "", "templateType": "anything", "can_override": false}, "more": {"name": "more", "group": "Ungrouped variables", "definition": "num2+random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "ineq1": {"name": "ineq1", "group": "Ungrouped variables", "definition": "random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$')", "description": "", "templateType": "anything", "can_override": false}, "ineq2": {"name": "ineq2", "group": "Ungrouped variables", "definition": "random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$')", "description": "", "templateType": "anything", "can_override": false}, "variable2": {"name": "variable2", "group": "partb", "definition": "random(['\\$x\\$','\\$y\\$','\\$z\\$','\\$n\\$','\\$m\\$','\\$a\\$','\\$b\\$'] except variable)", "description": "", "templateType": "anything", "can_override": false}, "question2": {"name": "question2", "group": "partb", "definition": "variable2+ineqs[0]+num3+' \\$\\\\textbf{og}\\$ '+variable2+ineqs[1]+num4", "description": "", "templateType": "anything", "can_override": false}, "variable": {"name": "variable", "group": "Ungrouped variables", "definition": "random('\\$x\\$','\\$y\\$','\\$z\\$','\\$n\\$','\\$m\\$','\\$a\\$','\\$b\\$')", "description": "", "templateType": "anything", "can_override": false}, "solution": {"name": "solution", "group": "partb", "definition": "if(ineqs[2]='l',variable2+ineqs[0]+num3+' fordi '+num3+'\\$\\\\,<\\\\,\\$'+num4,if(ineqs[2]='g',variable2+ineqs[1]+num4+' fordi '+num4+'\\$\\\\,>\\\\,\\$'+num3,\"error\"))", "description": "", "templateType": "anything", "can_override": false}, "choices": {"name": "choices", "group": "Ungrouped variables", "definition": "[less, num1, middle, num2, more]", "description": "", "templateType": "anything", "can_override": false}, "num1tex": {"name": "num1tex", "group": "Ungrouped variables", "definition": "'\\$\\\\var{num1}\\$'", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "\n", "maxRuns": 100}, "ungrouped_variables": ["variable", "ineq1", "ineq2", "num1", "num2", "num1tex", "num2tex", "question", "less", "more", "middle", "choices", "marking", "words1", "words2"], "variable_groups": [{"name": "partb", "variables": ["variable2", "ineqs", "num3", "num4", "question2", "marking2", "solution"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Hvilke av følgende verdier for {variable} tilfredsstiller ulikheten {question}?

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Uttrykket {question} betyr at {num1tex} {words1[0]} {variable} og {variable} {words2[0]} {num2tex}. En annen måte å si dette på er at {variable} er {words1[1]} {num1tex} {words2[1]} {num2tex}, dvs at {num1tex} {words1[2]} og {num2tex} {words2[2]} i løsningen.

"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["


{less}

", "


{num1}

", "


{middle}

", "


{num2}

", "


{more}

"], "matrix": "marking"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Hvilken av følgende ulikheter er ekvivalent (ensbetydende) med betingelsen {question2}?  

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

'{question2}' krever at begge ulikhetene er tilfredsstilt. Begge er tilfredsstilt når {solution}.

"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

{variable2+ineqs[0]+num3}

", "

{variable2+ineqs[1]+num4}

"], "matrix": "marking2"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Ulikheter: Doble ulikheter (ELLER), tester verdier", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Torris Bakke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/942/"}], "tags": ["inequalities", "inequality", "inequations"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"num4": {"name": "num4", "group": "partb", "definition": "num3+random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "num1": {"name": "num1", "group": "Ungrouped variables", "definition": "random(-12..12)", "description": "", "templateType": "anything", "can_override": false}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "num1+random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "num3": {"name": "num3", "group": "partb", "definition": "random(-12..12 except num1)", "description": "", "templateType": "anything", "can_override": false}, "ineqs": {"name": "ineqs", "group": "partb", "definition": "random(\n [random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$'),random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$'),'l'],\n [random('\\$\\\\,>\\\\,\\$','\\$\\\\,\\\\ge\\\\,\\$'),random('\\$\\\\,>\\\\,\\$','\\$\\\\,\\\\ge\\\\,\\$'),'g'])", "description": "", "templateType": "anything", "can_override": false}, "words2": {"name": "words2", "group": "Ungrouped variables", "definition": "if(ineq2='\\$\\\\,<\\\\,\\$',['er mindre enn','\\$\\\\textbf{ikke}\\$ inkludert'],\n if(ineq2='\\$\\\\,\\\\le\\\\,\\$',['er mindre eller lik','inkludert'],\n if(ineq2='\\$\\\\,>\\\\,\\$',['er st\u00f8rre enn','\\$\\\\textbf{ikke}\\$ inkludert'],\n if(ineq2='\\$\\\\,\\\\ge\\\\,\\$',['er st\u00f8rre eller lik','inkludert'],[\"error\",\"error\"]))))", "description": "", "templateType": "anything", "can_override": false}, "words1": {"name": "words1", "group": "Ungrouped variables", "definition": "if(ineq1='\\$\\\\,<\\\\,\\$',['er mindre enn','\\$\\\\textbf{ikke}\\$ inkludert'],\n if(ineq1='\\$\\\\,\\\\le\\\\,\\$',['er mindre eller lik','inkludert'],\n if(ineq1='\\$\\\\,>\\\\,\\$',['er st\u00f8rre enn','\\$\\\\textbf{ikke}\\$ inkludert'],\n if(ineq1='\\$\\\\,\\\\ge\\\\,\\$',['er st\u00f8rre eller lik','inkludert'],[\"error\",\"error\"]))))", "description": "", "templateType": "anything", "can_override": false}, "middle": {"name": "middle", "group": "Ungrouped variables", "definition": "(num1+num2)/2+random(-0.1..0.1#0.01)", "description": "", "templateType": "anything", "can_override": false}, "marking2": {"name": "marking2", "group": "partb", "definition": "if(ineqs[2]='l',[0,1],if(ineqs[2]='g',[1,0],\"error\"))", "description": "", "templateType": "anything", "can_override": false}, "marking": {"name": "marking", "group": "Ungrouped variables", "definition": "if(ineq1='\\$\\\\,<\\\\,\\$' and ineq2='\\$\\\\,>\\\\,\\$',[1,0,0,0,1],\nif(ineq1='\\$\\\\,<\\\\,\\$' and ineq2='\\$\\\\,\\\\ge\\\\,\\$',[1,0,0,1,1],\nif(ineq1='\\$\\\\,\\\\le\\\\,\\$' and ineq2='\\$\\\\,\\\\ge\\\\,\\$',[1,1,0,1,1],\nif(ineq1='\\$\\\\,\\\\le\\\\,\\$' and ineq2='\\$\\\\,>\\\\,\\$',[1,1,0,0,1],\"error\"))))", "description": "

[less, num1, middle, num2, more]

", "templateType": "anything", "can_override": false}, "num2tex": {"name": "num2tex", "group": "Ungrouped variables", "definition": "'\\$\\\\var{num2}\\$'", "description": "", "templateType": "anything", "can_override": false}, "less": {"name": "less", "group": "Ungrouped variables", "definition": "num1-random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "question": {"name": "question", "group": "Ungrouped variables", "definition": "variable+ineq1+num1tex+' eller '+variable+ineq2+num2tex", "description": "", "templateType": "anything", "can_override": false}, "more": {"name": "more", "group": "Ungrouped variables", "definition": "num2+random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "ineq1": {"name": "ineq1", "group": "Ungrouped variables", "definition": "random('\\$\\\\,<\\\\,\\$','\\$\\\\,\\\\le\\\\,\\$')", "description": "", "templateType": "anything", "can_override": false}, "ineq2": {"name": "ineq2", "group": "Ungrouped variables", "definition": "random('\\$\\\\,>\\\\,\\$','\\$\\\\,\\\\ge\\\\,\\$')", "description": "", "templateType": "anything", "can_override": false}, "variable2": {"name": "variable2", "group": "partb", "definition": "random(['\\$x\\$','\\$y\\$','\\$z\\$','\\$n\\$','\\$m\\$','\\$a\\$','\\$b\\$'] except variable)", "description": "", "templateType": "anything", "can_override": false}, "question2": {"name": "question2", "group": "partb", "definition": "variable2+ineqs[0]+num3+' eller '+variable2+ineqs[1]+num4", "description": "", "templateType": "anything", "can_override": false}, "variable": {"name": "variable", "group": "Ungrouped variables", "definition": "random('\\$x\\$','\\$y\\$','\\$z\\$','\\$n\\$','\\$m\\$','\\$a\\$','\\$b\\$')", "description": "", "templateType": "anything", "can_override": false}, "solution": {"name": "solution", "group": "partb", "definition": "if(ineqs[2]='l',variable2+ineqs[0]+num4+' fordi '+num3+'\\$\\\\,<\\\\,\\$'+num4,if(ineqs[2]='g',variable2+ineqs[1]+num3+' fordi '+num4+'\\$\\\\,>\\\\,\\$'+num3,\"error\"))", "description": "", "templateType": "anything", "can_override": false}, "choices": {"name": "choices", "group": "Ungrouped variables", "definition": "[less, num1, middle, num2, more]", "description": "", "templateType": "anything", "can_override": false}, "num1tex": {"name": "num1tex", "group": "Ungrouped variables", "definition": "'\\$\\\\var{num1}\\$'", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["variable", "ineq1", "ineq2", "num1", "num2", "num1tex", "num2tex", "question", "less", "more", "middle", "choices", "marking", "words1", "words2"], "variable_groups": [{"name": "partb", "variables": ["variable2", "ineqs", "num3", "num4", "question2", "marking2", "solution"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Hvilke verdier for {variable} tilfredsstiller ulikhetene {question}?

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Uttrykket {question} betyr '{variable} {words1[0]} {num1tex} eller {variable} {words2[0]} {num2tex}'.

"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["


{less}

", "


{num1}

", "


{middle}

", "


{num2}

", "


{more}

"], "matrix": "marking"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Hvilke av de følgende uttrykkene er ekvivalent med (betyr det samme som) {question2}?  

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

'{question2}' krever bare at en av ulikhetene er tilfredsstilt (men begge kan være det). Betingelsen er tilfredsstilt når {solution}.

"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

{variable2+ineqs[0]+num3}

", "

{variable2+ineqs[1]+num4}

"], "matrix": "marking2"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Ulikheter: Line\u00e6re", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Torris Bakke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/942/"}], "tags": ["algebra", "Algebra", "balancing equations", "inequalities", "inequality", "inequation", "inequations", "Linear equations", "linear equations", "rearranging equations", "solving equations", "Solving equations", "two step equations"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Løs ulikhetene.

\n

Der svaret ikke er et helt tall skal du svare med brøk. Eksempel: Bruk 1/2 i stedet for 0,5, 3/2 i stedet for 1,5 osv.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"ans1": {"name": "ans1", "group": "Ungrouped variables", "definition": "(c-b)/a", "description": "", "templateType": "anything", "can_override": false}, "ans2": {"name": "ans2", "group": "Ungrouped variables", "definition": "(g-d)/(-f)", "description": "", "templateType": "anything", "can_override": false}, "ans3": {"name": "ans3", "group": "Ungrouped variables", "definition": "-(k+j)*h", "description": "", "templateType": "anything", "can_override": false}, "ans4": {"name": "ans4", "group": "Ungrouped variables", "definition": "n*m+l", "description": "", "templateType": "anything", "can_override": false}, "ans5": {"name": "ans5", "group": "Ungrouped variables", "definition": "p/q-r", "description": "", "templateType": "anything", "can_override": false}, "ans6": {"name": "ans6", "group": "Ungrouped variables", "definition": "u*t/s", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-12..12 except [0,b])", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..12 except a)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..12 except [f,g])", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(-12..12 except [0])", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(list(2..12)+[100])", "description": "", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(list(2..12)+[20,50,100,200])", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(-13..0 except -j)", "description": "", "templateType": "anything", "can_override": false}, "j": {"name": "j", "group": "Ungrouped variables", "definition": "random(2..12 except [h])", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..12 except l)", "description": "", "templateType": "anything", "can_override": false}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(-12..12)", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(-12..-2)", "description": "", "templateType": "anything", "can_override": false}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(-12..12 except[0,q])", "description": "", "templateType": "anything", "can_override": false}, "s": {"name": "s", "group": "Ungrouped variables", "definition": "random([-13,-11,-7,-5,-3,-2])", "description": "", "templateType": "anything", "can_override": false}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "random(1..12)", "description": "", "templateType": "anything", "can_override": false}, "u": {"name": "u", "group": "Ungrouped variables", "definition": "random(-12..12 except 0)", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "random([13,11,7,5,3,2])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["a", "b", "c", "ans1", "d", "f", "g", "ans2", "h", "j", "k", "ans3", "l", "m", "n", "ans4", "p", "q", "r", "ans5", "s", "t", "u", "ans6"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{a}x+\\var{b}<\\var{c}$,
$x<$ [[0]].

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Løses som en likning, bortsett fra at du må snu ulikhetstegnet om du multipliserer eller dividerer med et negativt tall. 

\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{a}x+\\var{b}$$<$$\\var{c}$ 
 
$\\var{a}x+\\var{b}-\\var{b}$$<$$\\var{c}-\\var{b}$
 
$\\var{a}x$$<$$\\var{c-b}$
 
$\\displaystyle{\\frac{\\var{a}x}{\\var{a}}}$ $<$$\\displaystyle{\\frac{\\var{c-b}}{\\var{a}}}$
 
$x$$<$$\\displaystyle{\\simplify{{c-b}/{a}}}$
"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{c-b}/{a}", "maxValue": "{c-b}/{a}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{d}-\\var{f}y\\le\\var{g}$,

\n

$y\\ge$ [[0]].

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Løses som en likning, bortsett fra at du må snu ulikhetstegnet om du multipliserer eller dividerer med et negativt tall. 

\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{d}-\\var{f}y$$\\le$$\\var{g}$ 
 
$\\var{d}-\\var{f}y-\\var{d}$$\\le$$\\var{g}-\\var{d}$
 
$-\\var{f}y$$\\le$$\\var{g-d}$
 
$\\displaystyle{\\frac{\\var{-f}y}{\\var{-f}}}$ $\\ge$$\\displaystyle{\\frac{\\var{g-d}}{\\var{-f}}}$
 
$y$$\\ge$$\\displaystyle{\\simplify{{g-d}/{-f}}}$
"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{d-g}/{f}", "maxValue": "{d-g}/{f}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\displaystyle{-\\frac{z}{\\var{h}}}-\\var{j}<\\var{k}$,

\n

$z>$ [[0]]

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Løses som en likning, bortsett fra at du må snu ulikhetstegnet om du multipliserer eller dividerer med et negativt tall. 

\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
$\\displaystyle{-\\frac{z}{\\var{h}}}-\\var{j}$$<$$\\var{k}$ 
 
$\\displaystyle{-\\frac{z}{\\var{h}}}-\\var{j}+\\var{j}$$<$$\\var{k}+\\var{j}$
 
$\\displaystyle{-\\frac{z}{\\var{h}}}$$<$$\\var{k+j}$
 
$\\displaystyle{-\\frac{z}{\\var{h}}\\times\\var{h}}$ $<$$\\var{k+j}\\times \\var{h}$
 
$-z$$<$$\\var{-ans3}$
 
$z$$>$$\\var{ans3}$
"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{ans3}", "maxValue": "{ans3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\displaystyle{\\frac{a-\\var{l}}{\\var{m}}}\\le\\var{n}$ ,

\n

$a\\le$ [[0]]

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Løses som en likning, bortsett fra at du må snu ulikhetstegnet om du multipliserer eller dividerer med et negativt tall. 

\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
$\\displaystyle{\\frac{a-\\var{l}}{\\var{m}}}$$\\le$$\\var{n}$ 
 
$\\displaystyle{\\frac{a-\\var{l}}{\\var{m}}}\\times \\var{m}$$\\le$$\\var{n}\\times\\var{m}$
 
$a-\\var{l}$$\\le$$\\var{n*m}$
 
$a-\\var{l}+\\var{l}$ $\\le$$\\var{n*m}+\\var{l}$
 
$a$$\\le$$\\var{ans4}$
"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{ans4}", "maxValue": "{ans4}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{p}>\\var{q}(\\var{r}+b)$.

\n

$b>$ [[0]]

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Løses som en likning, bortsett fra at du må snu ulikhetstegnet om du multipliserer eller dividerer med et negativt tall. 

\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{p}$$>$$\\var{q}(\\var{r}+b)$ 
 
$\\displaystyle{\\frac{\\var{p}}{\\var{q}}}$$<$$\\displaystyle{\\frac{\\var{q}(\\var{r}+b)}{\\var{q}}}$
 
$\\displaystyle{\\simplify{{p}/{q}}}$$<$$\\var{r}+b$
 
$\\displaystyle{\\simplify{{p}/{q}}}-\\var{r}$ $<$$\\var{r}+b-\\var{r}$
 
$\\displaystyle{\\simplify{{p-r*q}/{q}}}$$<$$b$
 
$b$$>$$\\displaystyle{\\simplify{{p-r*q}/{q}}}$
"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{p-r*q}/{q}", "maxValue": "{p-r*q}/{q}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\displaystyle{\\frac{\\var{s}w}{\\var{t}}}\\ge\\var{u}$.

\n

$w\\le$ [[0]]

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Løses som en likning, bortsett fra at du må snu ulikhetstegnet om du multipliserer eller dividerer med et negativt tall. 

\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
$\\displaystyle{\\frac{\\var{s}w}{\\var{t}}}$$\\ge$$\\var{u}$ 
 
$\\displaystyle{\\frac{\\var{s}w}{\\var{t}}}\\times\\var{t}$$\\ge$$\\var{u}\\times\\var{t}$
 
$\\var{s}w$$\\ge$$\\var{u*t}$
 
$\\displaystyle{\\frac{\\var{s}w}{\\var{s}}}$ $\\le$$\\displaystyle{\\frac{\\var{u*t}}{\\var{s}}}$
 
$w$$\\le$$\\displaystyle{\\simplify{{u*t}/{s}}}$
"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{u*t}/{s}", "maxValue": "{u*t}/{s}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Ulikheter: Doble line\u00e6re", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Torris Bakke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/942/"}], "tags": ["algebra", "Algebra", "balancing equations", "inequalities", "inequality", "inequation", "inequations", "Linear equations", "linear equations", "rearranging equations", "solving equations", "Solving equations", "two step equations"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Der svaret ikke er et helt tall skal du svare med brøk. Eksempel: Bruk 1/2 i stedet for 0,5, 3/2 i stedet for 1,5 osv.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-12..12 except [-1,0,1])", "description": "", "templateType": "anything", "can_override": false}, "right_bc": {"name": "right_bc", "group": "Ungrouped variables", "definition": "left_bc+random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "right_bb": {"name": "right_bb", "group": "Ungrouped variables", "definition": "left_bb+random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "right_ba": {"name": "right_ba", "group": "Ungrouped variables", "definition": "left_ba+random(2..10)", "description": "", "templateType": "anything", "can_override": false}, "bright": {"name": "bright", "group": "Ungrouped variables", "definition": "right_bb*c", "description": "", "templateType": "anything", "can_override": false}, "bleft": {"name": "bleft", "group": "Ungrouped variables", "definition": "left_bb*c", "description": "", "templateType": "anything", "can_override": false}, "left_bc": {"name": "left_bc", "group": "Ungrouped variables", "definition": "random(-12..2)", "description": "", "templateType": "anything", "can_override": false}, "left_bb": {"name": "left_bb", "group": "Ungrouped variables", "definition": "random(-12..2)", "description": "", "templateType": "anything", "can_override": false}, "left_ba": {"name": "left_ba", "group": "Ungrouped variables", "definition": "random(-12..2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["a", "b", "c", "left_ba", "right_ba", "left_bb", "right_bb", "left_bc", "right_bc", "bleft", "bright"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Gitt at $x>\\var{left_ba}$ og $x<\\var{right_ba}$. Det kan skrives som [[0]] $<x<$ [[1]].

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{left_ba} <x< \\var{right_ba}$ betyr at $\\var{left_ba} <x$ og $x< \\var{right_ba}$. Det kan leses som \"$x$ er mellom $\\var{left_ba}$ og $\\var{right_ba}$\".

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{left_ba}", "maxValue": "{left_ba}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{right_ba}", "maxValue": "{right_ba}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Gitt ulikheten $\\var{left_bb}<\\frac{x}{\\var{c}}<\\var{right_bb}$. Løser vi den for $x$ får vi [[0]]$<x<$ [[1]].

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Vi løser på samme måte som enkle ulikheter, men pass på å gjøre det samme på alle sider av ulikhetstegnene. Målet er å få $x$ alene i midten.

\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

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{bleft}", "maxValue": "{bleft}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{bright}", "maxValue": "{bright}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Gitt $\\var{left_bc}<\\frac{\\simplify{{a}x+{b}}}{\\var{c}}<\\var{right_bc}$. Løsning for $x$ gir [[0]]$<x<$ [[1]].

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Vi løser på samme måte som enkle ulikheter, men pass på å gjøre det samme på alle sider av ulikhetstegnene. Målet er å få $x$ alene i midten.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

"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{left_bc*c-b}/{a}", "maxValue": "{left_bc*c-b}/{a}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{right_bc*c-b}/{a}", "maxValue": "{right_bc*c-b}/{a}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": false, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": false, "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": false, "typeendtoleave": false, "startpassword": "", "autoSubmit": true, "allowAttemptDownload": false, "downloadEncryptionKey": "", "showresultspage": "oncompletion"}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"enterreviewmodeimmediately": true, "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview", "allowrevealanswer": false, "intro": "", "end_message": "", "results_options": {"printquestions": true, "printadvice": true}, "feedbackmessages": [], "reviewshowexpectedanswer": true, "showanswerstate": true, "reviewshowfeedback": true, "showactualmark": true, "showtotalmark": true, "reviewshowscore": true, "reviewshowadvice": true}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Torris Bakke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/942/"}], "extensions": [], "custom_part_types": [], "resources": []}