// Numbas version: exam_results_page_options {"name": "Algebraiske uttrykk 2", "extensions": [], "custom_part_types": [], "resources": [["question-resources/intervaller_KhNBw2K.PNG", "/srv/numbas/media/question-resources/intervaller_KhNBw2K.PNG"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Algebraiske uttrykk 2", "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "", "advice": "

a) Løser likningen $\\var{a}x+\\var{b}=\\var{c}$ 

\n

$\\var{a}x=\\var{c}-\\var{b}$

\n

$\\var{a}x=\\var{c-b}$

\n

$\\frac{\\var{a}x}{\\var{a}}=\\frac{\\var{c-b}}{\\var{a}}$

\n

$x=\\simplify{{(c-b)/a}}$

\n

Løser likningen $x^2+\\var{a}x=0$

\n

$x(x+\\var{a})=0$  $\\Leftrightarrow$ $x=0$ $\\vee$ $\\simplify{x+{a}}=0$  $\\Leftrightarrow$ $x=0$ $\\vee$ $x=\\simplify{{{-a}}}$

\n

Løser linkningen $\\simplify{x^2+{m+n}x+{m*n}}=0$. 

\n

Bruker $abc$-formelen: $x=\\frac{-(\\var{m+n})\\pm\\sqrt{(\\var{m+n})^2-4\\cdot1\\cdot(\\var{m*n})}}{2\\cdot1}=\\frac{\\simplify{{-m-n}}\\pm\\sqrt{\\simplify{{(m+n)^2-4*m*n}}}}{2}=\\frac{\\simplify{{-m-n}}\\pm{\\simplify{{sqrt((m+n)^2-4*m*n)}}}}{2}$

\n

$x=\\simplify{{-m}}$ $\\vee$ $x=\\simplify{{-n}}$

\n

b) Nullpunkter til polynomet $\\simplify{x^2+{m+n}x+{m*n}}$ er  $x=\\simplify{{-m}}$ og $x=\\simplify{{-n}}$.   

\n

Da uttrykket kan faktoriseres som $\\simplify{x^2+{m+n}x+{m*n}}=\\simplify{(x+{m})(x+{n})}$

\n

c)$\\simplify{(x^2+{m+n}x+{m*n})/((x+{m})^2)}=\\frac{\\simplify{(x+{m})(x+{n})}}{\\simplify{(x+{m})(x+{m})}}=\\frac{\\simplify{x+{n}}}{\\simplify{x+{m}}}$

\n

", "rulesets": {}, "extensions": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2 .. 8#2)", "description": "", "templateType": "randrange"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(3 .. 6#1)", "description": "", "templateType": "randrange"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(5 .. 7#2)", "description": "", "templateType": "randrange"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1 .. 3#1)", "description": "", "templateType": "randrange"}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(1 .. 3#2)", "description": "", "templateType": "randrange"}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(4 .. 6#1)", "description": "", "templateType": "randrange"}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(5 .. 7#2)", "description": "", "templateType": "randrange"}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(4 .. 7#1)", "description": "", "templateType": "randrange"}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(-3..3 except 0)", "description": "", "templateType": "anything"}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "max(-m,-n)", "description": "", "templateType": "anything"}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "min(-m,-n)", "description": "", "templateType": "anything"}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "min(0,-a)", "description": "", "templateType": "anything"}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "max(0,-a)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "m", "n", "k", "l", "p", "q"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Gang sammen de to parentesene og forenkle uttrykket

\n

$\\var{a}(x-\\var{b})(x-\\var{c})$

", "answer": "{a}*x^2-{(a*(b+c))}*x+{a*b*c}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "`+-($n`?*x^2)+`+-($n`?*x) + `+- $n`?", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Faktroriser utrykket $x^2+\\var{a}x$

", "answer": "x*(x+{a})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "((`+-($n`?*x) + `+- $n`?)^$n`?)`* * $z", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}]}, {"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": "

Løs følgende likninger med hensyn på $x$

\n

$\\var{a}x+\\var{b}=\\var{c}$   $\\Leftrightarrow$   $x=$ [[0]]

\n

$x^2+\\var{a}x=0$ $\\Leftrightarrow$ $x=$ [[3]]  eller $x=$ [[4]] (skriv inn løsningene fra minste til største)

\n

$\\simplify{x^2+{m+n}x+{m*n}}=0$   $\\Leftrightarrow$   $x=$ [[1]]  eller $x=$ [[2]] (skriv inn løsningene fra minste til største)

", "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": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"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": "{l}", "maxValue": "{l}", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"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": "{k}", "maxValue": "{k}", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"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}", "maxValue": "{p}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"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": "{q}", "maxValue": "{q}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Faktoriser $\\simplify{x^2+{m+n}x+{m*n}}$

", "answer": "(x+{m})(x+{n})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "((`+-($n`?*x) + `+- $n`?)^$n`?)`* * $z", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Forenkle $\\simplify{(x^2+{m+n}x+{m*n})/((x+{m})^2)}$

", "answer": "(x+{n})/(x+{m})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "((x + `+-$n`?)/(x + `+-$n`?)) `| $n", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Elena Malyutina", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7213/"}]}]}], "contributors": [{"name": "Elena Malyutina", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7213/"}]}