// Numbas version: exam_results_page_options {"percentPass": "90", "duration": 0, "timing": {"timeout": {"message": "", "action": "none"}, "allowPause": true, "timedwarning": {"message": "", "action": "none"}}, "name": "Polynomials Revision", "feedback": {"allowrevealanswer": true, "showtotalmark": true, "intro": "", "showanswerstate": true, "showactualmark": true, "advicethreshold": 0, "feedbackmessages": []}, "showQuestionGroupNames": false, "showstudentname": true, "question_groups": [{"pickingStrategy": "all-ordered", "pickQuestions": 1, "name": "Group", "questions": [{"name": "Finding an uknown value in a polynomial", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "contributors": [{"name": "Matt Gilbert", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2561/"}], "rulesets": {}, "variable_groups": [], "statement": "

If $\\simplify{x-{d}}$ is a factor of P(x) = $\\simplify{{a}x^3+{b}x^2+{c}x+k}$

", "advice": "", "variables": {"b": {"definition": "random(-5..5)", "templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "b"}, "c": {"definition": "random(-15..10)", "templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "c"}, "d": {"definition": "random(-5..5except 0)", "templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "d"}, "a": {"definition": "1", "templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "a"}}, "preamble": {"css": "", "js": ""}, "functions": {}, "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d"], "parts": [{"allowFractions": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "prompt": "

Find the value of k.

", "minValue": "-(a*d^3+b*d^2+c*d)", "showCorrectAnswer": true, "maxValue": "-(a*d^3+b*d^2+c*d)", "unitTests": [], "type": "numberentry", "mustBeReducedPC": 0, "correctAnswerStyle": "plain", "variableReplacements": [], "mustBeReduced": true, "scripts": {}, "showFeedbackIcon": true, "correctAnswerFraction": true, "extendBaseMarkingAlgorithm": true}], "metadata": {"licence": "None specified", "description": ""}, "type": "question"}, {"name": "R(x) of a polynomial", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "contributors": [{"name": "Matt Gilbert", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2561/"}], "rulesets": {}, "variable_groups": [], "statement": "

Given $\\simplify[expandBrackets,all]{({a}*x^2+{b}*x+{c})(x+{v1})+{v0}}$ is divided by $\\simplify{x+{v1}}$

", "advice": "", "variables": {"f": {"definition": "random(-3..3except 0)", "group": "Ungrouped variables", "name": "f", "description": "", "templateType": "anything"}, "v1": {"definition": "random(-50..50)", "group": "Ungrouped variables", "name": "v1", "description": "", "templateType": "anything"}, "b": {"definition": "random(-3..3)", "group": "Ungrouped variables", "name": "b", "description": "", "templateType": "anything"}, "v0": {"definition": "random(-50..50)", "group": "Ungrouped variables", "name": "v0", "description": "", "templateType": "anything"}, "a": {"definition": "1", "group": "Ungrouped variables", "name": "a", "description": "", "templateType": "anything"}, "a0": {"definition": "random(-3..3)", "group": "Ungrouped variables", "name": "a0", "description": "", "templateType": "anything"}, "b0": {"definition": "random(-10..10)", "group": "Ungrouped variables", "name": "b0", "description": "", "templateType": "anything"}, "d": {"definition": "random(-30..40)", "group": "Ungrouped variables", "name": "d", "description": "", "templateType": "anything"}, "c": {"definition": "random(-2..2except 0)", "group": "Ungrouped variables", "name": "c", "description": "", "templateType": "anything"}, "c0": {"definition": "random(-20..20)", "group": "Ungrouped variables", "name": "c0", "description": "", "templateType": "anything"}}, "preamble": {"css": "", "js": ""}, "functions": {}, "parts": [{"vsetRange": [0, 1], "marks": 1, "customMarkingAlgorithm": "", "answer": "{v0}", "extendBaseMarkingAlgorithm": true, "showPreview": true, "failureRate": 1, "checkingType": "absdiff", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "unitTests": [], "type": "jme", "checkVariableNames": false, "vsetRangePoints": 5, "variableReplacements": [], "prompt": "

Find R(x)

", "scripts": {}, "expectedVariableNames": [], "checkingAccuracy": 0.001, "showFeedbackIcon": true}], "ungrouped_variables": ["a", "b", "c", "d", "f", "a0", "b0", "c0", "v1", "v0"], "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "metadata": {"licence": "None specified", "description": ""}, "type": "question"}, {"name": "Roots of Polynomials", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "contributors": [{"name": "Paul Hancock", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1738/"}, {"name": "Matt Gilbert", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2561/"}], "variables": {"a": {"group": "Ungrouped variables", "templateType": "anything", "description": "

the alpha variable

", "definition": "1", "name": "a"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "description": "

the beta variable

", "definition": "random(-10..10 except 0)", "name": "b"}, "middle_thing": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "c/a", "name": "middle_thing"}, "sum_of_roots": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "-b/a", "name": "sum_of_roots"}, "sum_of_squares": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "(-b/a)^2-2*(c/a)", "name": "sum_of_squares"}, "products_of_roots": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "-d/a", "name": "products_of_roots"}, "c": {"group": "Ungrouped variables", "templateType": "anything", "description": "

the gamma variable

", "definition": "random(-10..20 except 0)", "name": "c"}, "d": {"group": "Ungrouped variables", "templateType": "anything", "description": "

the delta variable

", "definition": "random(-10..30)", "name": "d"}}, "variable_groups": [], "parts": [{"allowFractions": true, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "maxValue": "(-{b})/({a})", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

Determine the value of $\\alpha$ + $\\beta$ + $\\gamma$

", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "marks": 1, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "unitTests": [], "mustBeReduced": true, "minValue": "(-{b})/({a})"}, {"allowFractions": true, "correctAnswerFraction": true, "customMarkingAlgorithm": "", "maxValue": "{c}/{a}", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

Determine the value of $\\alpha$$\\beta + \\alpha$$\\gamma$ + $\\beta$$\\gamma$

", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "marks": 1, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "unitTests": [], "mustBeReduced": true, "minValue": "{c}/{a}"}, {"allowFractions": true, "correctAnswerFraction": true, "customMarkingAlgorithm": "", "maxValue": "{sum_of_roots^2-2*middle_thing}", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

Determine the value of $\\alpha^2$ + $\\beta^2$ + $\\gamma^2$

", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "marks": "1", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "unitTests": [], "mustBeReduced": true, "minValue": "{sum_of_roots^2-2*middle_thing}"}, {"allowFractions": true, "correctAnswerFraction": true, "customMarkingAlgorithm": "", "maxValue": "{-d/a}", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

Determine $\\alpha\\beta\\gamma$

", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "marks": 1, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "unitTests": [], "mustBeReduced": true, "minValue": "{-d/a}"}, {"allowFractions": false, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "maxValue": "{-b*sum_of_squares-c*sum_of_roots-3*d}", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

Determine $\\alpha^3+\\beta^3+\\gamma^3$

", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "marks": "1", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "unitTests": [], "mustBeReduced": false, "minValue": "{-b*sum_of_squares-c*sum_of_roots-3*d}"}, {"allowFractions": true, "correctAnswerFraction": true, "customMarkingAlgorithm": "", "maxValue": "{products_of_roots+2*middle_thing+4*sum_of_roots+8}", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "prompt": "

Determine $(\\alpha+2)(\\beta+2)(\\gamma+2)$

", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "marks": 1, "correctAnswerStyle": "plain", "showFeedbackIcon": true, "unitTests": [], "mustBeReduced": true, "minValue": "{products_of_roots+2*middle_thing+4*sum_of_roots+8}"}], "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "", "licence": "None specified"}, "functions": {}, "tags": [], "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a", "b", "c", "d", "sum_of_squares", "sum_of_roots", "products_of_roots", "middle_thing"], "advice": "", "rulesets": {}, "statement": "

Using the polynomial; $\\simplify{ {a}x^3 + {b}x^2 + {c}x + {d}}$, answer the following:

", "type": "question"}]}], "metadata": {"description": "", "licence": "None specified"}, "navigation": {"browse": true, "preventleave": true, "onleave": {"message": "

Are you sure you want to leave this question?

", "action": "warnifunattempted"}, "allowregen": true, "reverse": true, "showresultspage": "oncompletion", "showfrontpage": true}, "type": "exam", "contributors": [{"name": "Paul Hancock", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1738/"}, {"name": "Matt Gilbert", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2561/"}], "extensions": [], "custom_part_types": [], "resources": []}