// Numbas version: finer_feedback_settings {"duration": 0, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Practice dividing polynomials using the long division method.

"}, "question_groups": [{"pickingStrategy": "all-ordered", "name": "Group", "pickQuestions": 1, "questions": [{"name": "Q9 - Coordinate Geometry, Line and Parabola", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "David Rickard", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/451/"}], "functions": {}, "ungrouped_variables": ["a", "c", "values", "v1", "m", "yc", "xval"], "tags": ["graph", "interactive", "Jsxgraph", "jsxgraph", "plot", "quadratic"], "advice": "

This is the graph you should have obtained.

\n
", "rulesets": {"std": ["all", "fractionNumbers"]}, "parts": [{"prompt": "

What is the slope and the y-axis intercept of the line $\\simplify{y={m}x+{yc}}$ ?

\n

Slope =  [[0]]          y-intercept =  [[1]]

\n

What will the $y$-coordinate of the point on the line whose $x$-coordinate is $\\var{xval}$?

\n

( $\\var{xval}$ , [[2]] )

\n

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "m", "minValue": "m", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "yc", "minValue": "yc", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": false, "scripts": {}, "answer": "{xval}*{m}+{yc}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Fill in the table of values for $y=\\simplify[std]{{a}x^2+{c}}$:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$x$$-3$$-2$$-1$$0$$1$$2$$3$
$y$[[0]][[1]][[2]][[3]][[4]][[5]][[6]]
\n", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a}*9+{c}", "marks": 0.5, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a}*4+{c}", "marks": 0.5, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a}*1+{c}", "marks": 0.5, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c}", "marks": 0.5, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a}*1+{c}", "marks": 0.5, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a}*4+{c}", "marks": 0.5, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a}*9+{c}", "marks": 0.5, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "
\n

Slide the points to the correct $y$ values.

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{values[0]}", "minValue": "{values[0]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{values[1]}", "minValue": "{values[1]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{values[2]}", "minValue": "{values[2]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{values[3]}", "minValue": "{values[3]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{values[4]}", "minValue": "{values[4]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{values[5]}", "minValue": "{values[5]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{values[6]}", "minValue": "{values[6]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

You are given the quadratic formula

\n

$y=\\simplify[std]{{a}x^2+{c}}$

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "table#values th {\n background: none;\n text-align: center;\n}", "js": "\nfunction dragpoint_board() {\n\n var scope = question.scope; \n var a = scope.variables.a.value;\n\n var c = scope.variables.c.value;\n var maxy = Math.max(Math.abs(a*9+c),Math.abs(c));\n \n var div = Numbas.extensions.jsxgraph.makeBoard('250px','400px',{boundingBox:[-5,maxy+3,5,-maxy-3],grid:true});\n $(question.display.html).find('#dragpoint').append(div);\n \n var board = div.board;\n \n //shorthand to evaluate a mathematical expression to a number\n function evaluate(expression) {\n try {\n var val = Numbas.jme.evaluate(expression,question.scope);\n return Numbas.jme.unwrapValue(val);\n }\n catch(e) {\n // if there's an error, return no number\n return NaN;\n }\n }\n \n // set up points array\n var num_points = 7;\n var points = [];\n \n \n // this function sets up the i^th point\n function make_point(i) {\n \n // calculate initial coordinates\n var x = i-(num_points-1)/2;\n \n // create an invisible vertical line for the point to slide along\n var line = board.create('line',[[x,0],[x,1]],{visible: false});\n \n // create the point\n var point = points[i] = board.create(\n 'glider',\n [i-(num_points-1)/2,0,line],\n {\n name:'',\n size:2,\n snapSizeY: 0.1, // the point will snap to y-coordinates which are multiples of 0.1\n snapToGrid: true\n }\n );\n \n // the contents of the input box for this point\n var studentAnswer = question.parts[2].gaps[i].display.studentAnswer;\n \n //Here I have commented out the functions which connect the student input to the graph and the filling in of the answer fields\n //when the student drags the points on the graph.\n \n // watch the student's input and reposition the point when it changes. \n // ko.computed(function() {\n // y = evaluate(studentAnswer());\n //if(!(isNaN(y)) && board.mode!=board.BOARD_MODE_DRAG) {\n // point.moveTo([x,y],100);\n // }\n // });\n \n // when the student drags the point, update the gapfill input\n point.on('drag',function(){\n var y = Numbas.math.niceNumber(point.Y());\n studentAnswer(y);\n });\n \n }\n \n // create each point\n for(var i=0;iAdapted from a question written in Dutch by Carolijn Tacken.

\n

Disconnected the graph from the answer fields.

", "description": "

Compute a table of values for a quadratic function. The student input is now disconnected from the graph so that they slide the points on the graph after they input the values and the answer fields are not updated. Now includes a graph in advice.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Graphing: nth degree polynomial", "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/"}], "functions": {}, "ungrouped_variables": ["n", "c", "parity", "poly", "case", "lbeh", "rbeh", "poly0"], "tags": ["graphing", "polynomial", "polynomials", "sketching"], "advice": "

$\\phantom{a}$

", "rulesets": {}, "parts": [{"stepsPenalty": "1", "prompt": "

This equation can be described as a

", "matrix": [0, "0", "0", 0, 0, "1"], "shuffleChoices": true, "marks": 0, "variableReplacements": [], "choices": ["

$0$th degree polynomial

", "

polynomial of degree $1$

", "

polynomial of degree $2$

", "

hyperbola

", "

circle

", "

polynomial of degree $\\var{n}$

"], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

An equation of the form $y=c_nx^n+c_{n-1}x^{n-1}+\\ldots+c_1x+c_0$ is called an $n$th degree polynomial. 

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "maxMarks": 0, "scripts": {}, "distractors": ["", "", "", "", "", ""], "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "displayType": "radiogroup", "minMarks": 0}, {"stepsPenalty": "1", "prompt": "

As we move to the far left of the graph, the graph

", "matrix": "lbeh", "shuffleChoices": false, "variableReplacements": [], "choices": ["

goes upwards.

", "

goes downwards.

"], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

What happens to the graph as you go far to the left or right is called the long term behaviour of a graph.

\n

The leading term (the term that includes the highest power) determines the long term behaviour of a polynomial. For our polynomial this is $\\simplify{{c[n]}x^{n}}$.

\n

As we go far to the left of the graph $x$ is negative, and so $\\simplify{{c[n]}x^{n}}$ is negative. That is, the graph goes downwards. is positive. That is, the graph goes upwards. 

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "maxMarks": 0, "marks": 0, "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "displayType": "radiogroup", "minMarks": 0}, {"stepsPenalty": "1", "prompt": "

As we move to the far right of the graph, the graph

", "matrix": "rbeh", "shuffleChoices": false, "variableReplacements": [], "choices": ["

goes upwards.

", "

goes downwards.

"], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

What happens to the graph as you go far to the left or right is called the long term behaviour of a graph.

\n

The leading term (the term that includes the highest power) determines the long term behaviour of a polynomial. For our polynomial this is $\\simplify{{c[n]}x^{n}}$.

\n

As we go far to the right of the graph $x$ is negative, and so $\\simplify{{c[n]}x^{n}}$  is negative. That is, the graph goes downwards. is positive. That is, the graph goes upwards. 

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "maxMarks": 0, "marks": 0, "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "displayType": "radiogroup", "minMarks": 0}, {"stepsPenalty": "1", "prompt": "

The $y$-intercept of the graph is $y=$[[0]].

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "{c[0]}", "minValue": "{c[0]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

The $y$-intercept is the value of $y$ when $x=0$, that is, the value of $y$ where the graph hits the $y$-axis. To find it, substitute $x=0$ into our equation {poly}. Doing so shows that $y=\\var{c[0]}$ is the $y$-intercept.

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}, {"stepsPenalty": "1", "prompt": "

Given any polynomial of degree $\\var{n}$, the maximum number of $x$-intercepts in its graph is [[0]] .

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{n}", "minValue": "{n}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

The $x$-intercept is the value of $x$ when $y=0$, that is, the value of $x$ where the graph hits the $x$-axis. To find it, substitute $y=0$ into our equation:

\n

{poly0}

\n

The Fundamental Theorem of Algebra says there are exactly $\\var{n}$ (complex) solutions to this equation (including multiplicity). The $x$-intercepts for our polynomial are real solutions to the above equation and therefore there are at most $\\var{n}$ $x$-intercepts. 

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}, {"stepsPenalty": "1", "prompt": "

Given any polynomial of degree $\\var{n}$, the maximum number of possible 'bends' or 'turns' in the graph is [[0]].

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{n-1}", "minValue": "{n-1}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

A degree $n$ polynomial has at most $n-1$ bends in its graph.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "statement": "

You are given the equation {poly}.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"case": {"definition": "if(c[n]>0 and parity=1,1,if(c[n]>0 and parity=0,2,if(c[n]<0 and parity=1,3,4)))", "templateType": "anything", "group": "Ungrouped variables", "name": "case", "description": ""}, "parity": {"definition": "mod(n,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "parity", "description": ""}, "c": {"definition": "repeat(random(0,random(-12..12 except 0)),n)+[random(-12..12 except 0)]", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "rbeh": {"definition": "[if(case=1 or case=2,1,0),if(case=1 or case=2,0,1)]", "templateType": "anything", "group": "Ungrouped variables", "name": "rbeh", "description": ""}, "lbeh": {"definition": "[if(case=3 or case=2,1,0),if(case=3 or case=2,0,1)]", "templateType": "anything", "group": "Ungrouped variables", "name": "lbeh", "description": ""}, "poly0": {"definition": "if(n=2,'\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2}\\$',\nif(n=3, '\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3}\\$',\nif(n=4, '\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4}\\$',\nif(n=5, '\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5}\\$',\nif(n=6, '\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6}\\$',\nif(n=7, '\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6+{c[7]}x^7}\\$',\nif(n=8, '\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6+{c[7]}x^7+{c[8]}x^8}\\$',\nif(n=9, '\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6+{c[7]}x^7+{c[8]}x^8+{c[9]}x^9}\\$',\n'\\$\\\\simplify{0={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6+{c[7]}x^7+{c[8]}x^8+{c[9]}x^9+{c[10]}x^{10}}\\$')))))))) ", "templateType": "anything", "group": "Ungrouped variables", "name": "poly0", "description": ""}, "poly": {"definition": "if(n=2,'\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2}\\$',\nif(n=3, '\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3}\\$',\nif(n=4, '\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4}\\$',\nif(n=5, '\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5}\\$',\nif(n=6, '\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6}\\$',\nif(n=7, '\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6+{c[7]}x^7}\\$',\nif(n=8, '\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6+{c[7]}x^7+{c[8]}x^8}\\$',\nif(n=9, '\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6+{c[7]}x^7+{c[8]}x^8+{c[9]}x^9}\\$',\n'\\$\\\\simplify{y={c[0]}+{c[1]}x+{c[2]}x^2+{c[3]}x^3+{c[4]}x^4+{c[5]}x^5+{c[6]}x^6+{c[7]}x^7+{c[8]}x^8+{c[9]}x^9+{c[10]}x^{10}}\\$')))))))) ", "templateType": "anything", "group": "Ungrouped variables", "name": "poly", "description": ""}, "n": {"definition": "random(5..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}}, "metadata": {"description": "

Understanding the general facts about polynomials of degree n.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Denis's copy of Factorise a quadratic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Denis Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1216/"}], "variables": {"n5": {"definition": "a*b", "name": "n5"}, "s1": {"definition": "random(1,-1)", "name": "s1"}, "f": {"definition": "a*b", "name": "f"}, "s2": {"definition": "random(1,-1)", "name": "s2"}, "n3": {"definition": "2*a*b", "name": "n3"}, "disc": {"definition": "(b*c+a*d)^2-4*a*b*c*d", "name": "disc"}, "c": {"definition": "c1*s3", "name": "c"}, "a": {"definition": "random(2..5)", "name": "a"}, "rep": {"definition": "switch(disc=0,'repeated', ' ')", "name": "rep"}, "c1": {"definition": "switch(f=1, random(1..6),f=2,random(1,3,5,7,9),f=3,random(1,2,5,7,8),f=4,random(1,3,5,7,9),f=6, random(1,5,7,8),f=9,random(1,2,4,7,8),f=8,random(1,3,5,7,9),f=12,random(1,5,7),random(1,3,5,7))", "name": "c1"}, "rdis": {"definition": "switch(disc=0,'The discriminant is '+ 0+' and so we get two repeated roots in this case.',disc<0, 'There are no real roots.','The roots exist and are distinct. ')", "name": "rdis"}, "n1": {"definition": "b*c+a*d", "name": "n1"}, "s3": {"definition": "random(1,-1)", "name": "s3"}, "d": {"definition": "if(d1=-b*c/a, max(d1+1,random(1..5))*s3,d1*s3)", "name": "d"}, "n2": {"definition": "b*c-a*d", "name": "n2"}, "d1": {"definition": "switch(f=1, random(1..6),f=2,random(1,3,5,7,9),f=3,random(1,2,5,7,8),f=4,random(1,3,5,7,9),f=6, random(1,5,7,8),f=9,random(1,2,4,7,8),f=8,random(1,3,5,7,9),f=12,random(1,5,7),random(1,3,5,7))", "name": "d1"}, "b": {"definition": "random(1..4)", "name": "b"}, "n4": {"definition": "abs(n2)", "name": "n4"}}, "progress": "ready", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "notes": "\n \t\t

5/08/2012:

\n \t\t

Added more tags.

\n \t\t

Added description. 

\n \t\t

Allowed the use of decimals.

\n \t\t

Improved display of Advice.

\n \t\t", "description": "

Factorise $\\displaystyle{ax ^ 2 + bx + c}$ into linear factors. 

"}, "functions": {}, "variable_groups": [], "tags": ["Steps", "factorisation", "factorise a quadratic", "factorization", "factorize a quadratic", "linear factors", "quadratics", "steps"], "question_groups": [{"pickingStrategy": "all-ordered", "name": "", "pickQuestions": 0, "questions": []}], "parts": [{"marks": 0.0, "gaps": [{"notallowed": {"partialcredit": 0.0, "message": "

Factorise the expression into two factors.

", "showstrings": false, "strings": ["^", "x*x", "x x", "x(", "x (", ")x", ") x"]}, "marks": 2.0, "answersimplification": "std", "vsetrange": [0.0, 1.0], "answer": "((({a} * x) + {( - c)}) * (({b} * x) + {( - d)}))", "musthave": {"partialcredit": 0.0, "message": "

factorise the expression into two factors

", "showstrings": false, "strings": ["(", ")"]}, "checkingaccuracy": 0.0001, "type": "jme", "checkingtype": "absdiff", "vsetrangepoints": 5.0}], "steps": [{"marks": 0.0, "type": "information", "prompt": "\n

Factorisation by finding the roots

\n

If you cannot spot a direct factorisation of a quadratic $q(x)$ then finding the roots of the equation $q(x)=0$ can help you.

\n

For if $x=r$ and $x=s$ and are the roots then $q(x)=a(x-r)(x-s)$ for some constant $a$.

\n

Finding the roots of a quadratic using the standard formula
We can use the following formula for finding the roots of a general quadratic equation $ax^2+bx+c=0$

\n

The two roots are

\n

\\[ x = \\frac{-b +\\sqrt{b^2-4ac}}{2a}\\mbox{ and } x = \\frac{-b -\\sqrt{b^2-4ac}}{2a}\\]
there are three main types of solutions depending upon the value of the discriminant $\\Delta=b^2-4ac$

\n

1. $\\Delta \\gt 0$. The roots are real and distinct

\n

2. $\\Delta=0$. The roots are real and equal. Their value is $\\frac{-b}{2a}$

\n

3. $\\Delta \\lt 0$. There are no real roots. The root are complex and form a complex conjugate pair.

\n "}], "stepspenalty": 1.0, "type": "gapfill", "prompt": "\n

\\[q(x)=\\simplify[std]{{a*b} * x ^ 2 + ( {-b*c-a * d}) * x + {c * d}}\\]
$q(x)=\\;$ [[0]]

\n


You can get more information on factorising a quadratic by clicking on Show steps. You will lose 1 mark if you do so.

\n

 

\n "}], "statement": "

Factorise the following quadratic expression $q(x)$ into linear factors i.e. input $q(x)$ in the form
\\[(ax+b)(cx+d)\\] for suitable integers $a$, $b$, $c$ and $d$ .

", "showQuestionGroupNames": false, "advice": "\n

Direct Factorisation.

\n

If you can spot a direct factorisation then this is the quickest way to do this question.

\n

For this example we have the factorisation

\n

\\[\\simplify{{a*b} * x ^ 2 + ( {-b*c-a * d}) * x + {c * d} = ({a} * x + { -c}) * ({b} * x + { -d})}\\]

\n

Factorisation by finding the roots.

\n

For if $x=r$ and $x=s$ and are the roots then $q(x)=a(x-r)(x-s)$ where $a$ is the coefficient of $x^2$.

\n

There are several methods of finding the roots – here are the main methods.

\n

Finding the roots of a quadratic using the standard formula.

\n

We can use the following formula for finding the roots of a general quadratic equation $ax^2+bx+c=0$

\n

The two roots are

\n

\\[ x = \\frac{-b +\\sqrt{b^2-4ac}}{2a}\\mbox{ and } x = \\frac{-b -\\sqrt{b^2-4ac}}{2a}\\]
there are three main types of solutions depending upon the value of the discriminant $\\Delta=b^2-4ac$

\n

1. $\\Delta \\gt 0$. The roots are real and distinct

\n

2. $\\Delta=0$. The roots are real and equal. Their common value is $-\\frac{b}{2a}$

\n

3. $\\Delta \\lt 0$. There are no real roots. The root are complex and form a complex conjugate pair.

\n

For this question the discriminant of $\\simplify{{a*b}x^2+{-b*c-a*d}x+{c*d}}$ is $\\Delta = \\simplify{{-(b*c+a*d)}^2-4*{a*b}*{c*d}={disc}}$

\n

{rdis}.

\n

So the {rep} roots are:

\n

\\[\\begin{eqnarray} x = \\frac{\\var{n1} + \\sqrt{\\var{disc}}}{\\var{n3}} &=& \\frac{\\var{n1} + \\var{n4} }{\\var{n3}} &=& \\simplify{{n1 + n4}/ {n3}}\\\\ x = \\frac{\\var{n1} - \\sqrt{\\var{disc}}}{\\var{n3}} &=& \\frac{(\\var{n1} - \\var{n4}) }{\\var{n3}} &=& \\simplify{{n1 - n4}/ {n3}} \\end{eqnarray}\\]
So we see that:
\\[q(x)=\\simplify{{a*b}}\\left(\\simplify{x-{n1 + n4}/ {n3}}\\right)\\left(\\simplify{x-{n1 - n4}/ {n3}}\\right)=\\simplify{({b} * x + { -d}) * ({a} * x + { -c})}\\]

\n

Completing the square.

\n

First we complete the square for the quadratic expression $\\simplify{{a*b}x^2+{-n1}x+{c*d}}$
\\[\\begin{eqnarray} \\simplify{{a*b}x^2+{-n1}x+{c*d}}&=&\\var{n5}\\left(\\simplify{x^2+({-n1}/{a*b})x+ {c*d}/{a*b}}\\right)\\\\ &=&\\var{n5}\\left(\\left(\\simplify{x+({-n1}/{2*a*b})}\\right)^2+ \\simplify{{c*d}/{a*b}-({-n1}/({2*a*b}))^2}\\right)\\\\ &=&\\var{n5}\\left(\\left(\\simplify{x+({-n1}/{2*a*b})}\\right)^2 -\\simplify{ {n2^2}/{4*(a*b)^2}}\\right) \\end{eqnarray} \\]
So to solve $\\simplify{{a*b}x^2+{-n1}x+{c*d}}=0$ we have to solve:
\\[\\begin{eqnarray} \\left(\\simplify{x+({-n1}/{2*a*b})}\\right)^2&\\phantom{{}}& -\\simplify{ {n2^2}/{4*(a*b)^2}}=0\\Rightarrow\\\\ \\left(\\simplify{x+({-n1}/{2*a*b})}\\right)^2&\\phantom{{}}&=\\simplify{ {n2^2}/{4*(a*b)^2}=({abs(n2)}/{2*a*b})^2} \\end{eqnarray}\\]
So we get the two {rep} solutions:
\\[\\begin{eqnarray} \\simplify{x+({-n1}/{2*a*b})}&=&\\simplify{{abs(n2)}/{2*a*b}} \\Rightarrow &x& = \\simplify{({abs(n2)+n1}/{2*a*b})}\\\\ \\simplify{x+({-n1}/{2*a*b})}&=&\\simplify{-({abs(n2)}/{2*a*b})} \\Rightarrow &x& = \\simplify{({n1-abs(n2)}/{2*a*b})} \\end{eqnarray}\\]
Finding these roots then gives the factorisation as before.

\n ", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"]}, "type": "question"}, {"name": "Denis's copy of Solving equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Denis Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1216/"}], "question_groups": [{"pickQuestions": 0, "pickingStrategy": "all-ordered", "name": "", "questions": []}], "type": "question", "progress": "ready", "showQuestionGroupNames": false, "parts": [{"marks": 0.0, "prompt": "\n

Solve for $x$:  \\[\\simplify[std]{{a*b} * x ^ 2 + ( {-b*c-a * d}) * x + {c * d}}=0\\]
The least root is $x=\\;$ [[0]]. The greatest root is $x=\\;$ [[1]]

\n

You can get more information on solving a quadratic by clicking on Show steps. You will lose 1 mark if you do so.

\n

Enter the least root first. If the roots are equal, enter the root in both input boxes.

\n

Enter the roots as fractions or integers, not as decimals.

\n ", "steps": [{"marks": 0.0, "prompt": "\n

Finding the roots by factorisation.

\n

Finding a factorisation of a quadratic $q(x)=a(x-r)(x-s)$ where $a$ is the coefficient of $x^2$ gives the roots $x=r$, $x=s$ immendiately.

\n

If you cannot find a factorisation then there are several other methods you can use.

\n

Using the formula for the roots.

\n

You can find the roots by using the formula for finding the roots of a general quadratic equation $ax^2+bx+c=0$

\n

The two roots are:

\n

\\[ x = \\frac{-b +\\sqrt{b^2-4ac}}{2a}\\mbox{ and } x = \\frac{-b -\\sqrt{b^2-4ac}}{2a}\\]
there are three main types of solutions depending upon the value of the discriminant $\\Delta=b^2-4ac$

\n

1. $\\Delta \\gt 0$. The roots are real and distinct

\n

2. $\\Delta=0$. The roots are real and equal. Their value is $\\displaystyle \\frac{-b}{2a}$

\n

3. $\\Delta \\lt 0$. There are no real roots. The root are complex and form a complex conjugate pair.

\n

 

\n ", "type": "information"}], "type": "gapfill", "gaps": [{"marks": 1.0, "vsetrangepoints": 5.0, "type": "jme", "notallowed": {"showstrings": false, "message": "

Input numbers as fractions or integers not as a decimals.

", "strings": ["."], "partialcredit": 0.0}, "vsetrange": [0.0, 1.0], "answer": "{n1-n4}/{2*a*b}", "checkingaccuracy": 0.0001, "checkingtype": "absdiff", "answersimplification": "std"}, {"marks": 1.0, "vsetrangepoints": 5.0, "type": "jme", "notallowed": {"showstrings": false, "message": "

Input numbers as fractions or integers not as a decimals.

", "strings": ["."], "partialcredit": 0.0}, "vsetrange": [0.0, 1.0], "answer": "{n1+n4}/{2*a*b}", "checkingaccuracy": 0.0001, "checkingtype": "absdiff", "answersimplification": "std"}], "stepspenalty": 1.0}], "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "variables": {"d": {"definition": "if((a*d1)^2=(b*c)^2, max(d1+1,random(1..5))*s3,d1*s3)", "name": "d"}, "rdis": {"definition": "switch(disc=0,'The discriminant is '+ 0+' and so we get two repeated roots in this case.',disc<0, 'There are no real roots.','The roots exist and are distinct. ')", "name": "rdis"}, "s3": {"definition": "random(1,-1)", "name": "s3"}, "c": {"definition": "c1*s3", "name": "c"}, "s1": {"definition": "random(1,-1)", "name": "s1"}, "n1": {"definition": "b*c+a*d", "name": "n1"}, "n4": {"definition": "abs(n2)", "name": "n4"}, "disc": {"definition": "(b*c+a*d)^2-4*a*b*c*d", "name": "disc"}, "n2": {"definition": "b*c-a*d", "name": "n2"}, "a": {"definition": "random(2..5)", "name": "a"}, "s2": {"definition": "random(1,-1)", "name": "s2"}, "n5": {"definition": "a*b", "name": "n5"}, "c1": {"definition": "switch(f=1, random(1..6),f=2,random(1,3,5,7,9),f=3,random(1,2,5,7,8),f=4,random(1,3,5,7,9),f=6, random(1,5,7,8),f=9,random(1,2,4,7,8),f=8,random(1,3,5,7,9),f=12,random(1,5,7),random(1,3,5,7))", "name": "c1"}, "f": {"definition": "a*b", "name": "f"}, "d1": {"definition": "switch(f=1, random(1..6),f=2,random(1,3,5,7,9),f=3,random(1,2,5,7,8),f=4,random(1,3,5,7,9),f=6, random(1,5,7,8),f=9,random(1,2,4,7,8),f=8,random(1,3,5,7,9),f=12,random(1,5,7),random(1,3,5,7))", "name": "d1"}, "b": {"definition": "random(1..4)", "name": "b"}, "rep": {"definition": "switch(disc=0,'repeated', ' ')", "name": "rep"}, "n3": {"definition": "2*a*b", "name": "n3"}}, "functions": {}, "statement": "

Find the roots of the following quadratic equation.

", "advice": "\n

Direct Factorisation

\n

If you can spot a direct factorisation then this is the quickest way to do this question.

\n

For this example we have the factorisation

\n

\\[\\simplify{{a*b} * x ^ 2 + ( {-b*c-a * d}) * x + {c * d} = ({a} * x + { -c}) * ({b} * x + { -d})}\\]

\n

Hence we find the roots:
\\[\\begin{eqnarray} x&=& \\simplify{{n1-n4}/{2*a*b}}\\\\ x&=& \\simplify{{n1+n4}/{2*a*b}} \\end{eqnarray} \\]

\n

Other Methods.

\n

There are several methods of finding the roots – here are the main methods.

\n

Finding the roots of a quadratic using the standard formula.

\n

We can use the following formula for finding the roots of a general quadratic equation $ax^2+bx+c=0$

\n

The two roots are

\n

\\[ x = \\frac{-b +\\sqrt{b^2-4ac}}{2a}\\mbox{ and } x = \\frac{-b -\\sqrt{b^2-4ac}}{2a}\\]
there are three main types of solutions depending upon the value of the discriminant $\\Delta=b^2-4ac$

\n

1. $\\Delta \\gt 0$. The roots are real and distinct

\n

2. $\\Delta=0$. The roots are real and equal. Their common value is $\\displaystyle -\\frac{b}{2a}$

\n

3. $\\Delta \\lt 0$. There are no real roots. The root are complex and form a complex conjugate pair.

\n

For this question the discriminant of $\\simplify{{a*b}x^2+{-b*c-a*d}x+{c*d}}$ is $\\Delta = \\simplify[std]{{-n1}^2-4*{a*b*c*d}}=\\var{disc}$

\n

{rdis}.

\n

So the {rep} roots are:

\n

\\[\\begin{eqnarray} x = \\frac{\\var{n1} - \\sqrt{\\var{disc}}}{\\var{n3}} &=& \\frac{\\var{n1} - \\var{n4} }{\\var{n3}} &=& \\simplify{{n1 - n4}/ {n3}}\\\\ x = \\frac{\\var{n1} + \\sqrt{\\var{disc}}}{\\var{n3}} &=& \\frac{\\var{n1} + \\var{n4} }{\\var{n3}} &=& \\simplify{{n1 + n4}/ {n3}} \\end{eqnarray}\\]

\n

Completing the square.

\n

First we complete the square for the quadratic expression $\\simplify{{a*b}x^2+{-n1}x+{c*d}}$
\\[\\begin{eqnarray} \\simplify{{a*b}x^2+{-n1}x+{c*d}}&=&\\var{n5}\\left(\\simplify{x^2+({-n1}/{a*b})x+ {c*d}/{a*b}}\\right)\\\\ &=&\\var{n5}\\left(\\left(\\simplify{x+({-n1}/{2*a*b})}\\right)^2+ \\simplify{{c*d}/{a*b}-({-n1}/({2*a*b}))^2}\\right)\\\\ &=&\\var{n5}\\left(\\left(\\simplify{x+({-n1}/{2*a*b})}\\right)^2 -\\simplify{ {n2^2}/{4*(a*b)^2}}\\right) \\end{eqnarray} \\]
So to solve $\\simplify{{a*b}x^2+{-n1}x+{c*d}}=0$ we have to solve:
\\[\\begin{eqnarray} \\left(\\simplify{x+({-n1}/{2*a*b})}\\right)^2&\\phantom{{}}& -\\simplify{ {n2^2}/{4*(a*b)^2}}=0\\Rightarrow\\\\ \\left(\\simplify{x+({-n1}/{2*a*b})}\\right)^2&\\phantom{{}}&=\\simplify{ {n2^2}/{4*(a*b)^2}=({abs(n2)}/{2*a*b})^2} \\end{eqnarray}\\]
So we get the two {rep} solutions:
\\[\\begin{eqnarray} \\simplify{x+({-n1}/{2*a*b})}&=&\\simplify{-{abs(n2)}/{2*a*b}} \\Rightarrow &x& = \\simplify{({-abs(n2)+n1}/{2*a*b})}\\\\ \\simplify{x+({-n1}/{2*a*b})}&=&\\simplify{({abs(n2)}/{2*a*b})} \\Rightarrow &x& = \\simplify{({n1+abs(n2)}/{2*a*b})} \\end{eqnarray}\\]

\n ", "tags": ["Steps", "algebra", "factorisation", "find roots of a quadratic equation", "quadratic formula", "quadratics", "roots of a quadratic equation", "solving a quadratic equation", "solving equations", "steps"], "variable_groups": [], "metadata": {"description": "

Solve for $x$: $\\displaystyle ax ^ 2 + bx + c=0$.

", "licence": "Creative Commons Attribution 4.0 International", "notes": "\n \t\t

5/08/2012:

\n \t\t

Added tags.

\n \t\t

Added description.

\n \t\t

Improved display in various content areas.

\n \t\t"}}, {"name": "Polynomial division 2by1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "functions": {"s": {"definition": "latex(if(n=0,\"\",if(n<0,\"-\",\"+\")+abs(n)))", "type": "string", "language": "jme", "parameters": [["n", "number"]]}, "sx": {"definition": "latex(if(n=0,\"\",if(n<0,\"-\",\"+\")+if(abs(n)=1,\"\",abs(n))+\"x\"))", "type": "string", "language": "jme", "parameters": [["n", "number"]]}}, "ungrouped_variables": ["a", "b", "c", "d", "xcoeff", "con"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
[[0]][[1]]
$\\simplify{x+{a}}$$\\simplify{{b}*x^2}$${\\var{xcoeff}}$$\\var{con}$
[[2]][[3]]
[[4]][[5]]
[[6]][[7]]
[[8]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b}*x^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*b}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*c+d}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*c}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{d}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Write the final answer in the following form:

\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
$\\simplify{{b}*x^2+{c+a*b}*x+{a*c+d}}$$=$[[0]]$+$[[1]]
$\\simplify{x+{a}}$$\\simplify{x+{a}}$
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b}*x+{c}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{d}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Divide the polynomial $\\simplify{{b}*x^2+{c+a*b}*x+{a*c+d}}$ by $\\simplify{x+{a}}$.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "xcoeff": {"definition": "sx(a*b+c)", "templateType": "anything", "group": "Ungrouped variables", "name": "xcoeff", "description": ""}, "c": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "con": {"definition": "s(a*c+d)", "templateType": "anything", "group": "Ungrouped variables", "name": "con", "description": ""}}, "metadata": {"description": "

Divide quadratic by linear

", "licence": "None specified"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Polynomial division 3by1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "functions": {"s": {"definition": "latex(if(n=0,\"\",if(n<0,\"-\",\"+\")+if(abs(n)=1,\"\",abs(n))))", "type": "string", "language": "jme", "parameters": [["n", "number"]]}, "sx": {"definition": "latex(if(n=0,\"\",if(n<0,\"-\",\"+\")+if(abs(n)=1,\"\",abs(n))+\"x\"))", "type": "string", "language": "jme", "parameters": [["n", "number"]]}, "sx2": {"definition": "latex(if(n=0,\"\",if(n<0,\"-\",\"+\")+if(abs(n)=1,\"\",abs(n))+\"x^2\"))", "type": "string", "language": "jme", "parameters": [["n", "number"]]}}, "ungrouped_variables": ["a", "b", "c", "d", "xcoeff", "x2coeff", "con", "r"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
[[0]][[1]][[2]]
$\\simplify{x+{a}}$$\\simplify{{b}*x^3}$${\\var{x2coeff}}$${\\var{xcoeff}}$$\\var{con}$
[[3]][[4]]
[[5]][[6]][[7]]
[[8]][[9]]
[[10]][[11]]
[[12]][[13]]
[[14]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b}*x^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{d}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b}*x^3", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*b}*x^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c}*x^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*c+d}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*d+r}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{c}*x^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*c}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{d}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*d+r}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{d}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a*d}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{r}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Write the final answer in the following form:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{b}*x^3+{c+a*b}*x^2+{a*c+d}*x+{a*d+r}}$$=$[[0]]$+$[[1]]
$\\simplify{x+{a}}$$\\simplify{x+{a}}$
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b}*x^2+{c}*x+{d}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{r}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Divide the polynomial $\\simplify{{b}*x^3+{c+a*b}*x^2+{a*c+d}*x+{a*d+r}}$ by $\\simplify{x+{a}}$.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "xcoeff": {"definition": "sx(a*c+d)", "templateType": "anything", "group": "Ungrouped variables", "name": "xcoeff", "description": ""}, "c": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "x2coeff": {"definition": "sx2(a*b+c)", "templateType": "anything", "group": "Ungrouped variables", "name": "x2coeff", "description": ""}, "r": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}, "con": {"definition": "s(a*d+r)", "templateType": "anything", "group": "Ungrouped variables", "name": "con", "description": ""}}, "metadata": {"description": "

Divide cubic by linear

", "licence": "None specified"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Polynomial division 3by2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Martin Jones", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/145/"}], "functions": {"s": {"definition": "latex(if(n=0,\"\",if(n<0,\"-\",\"+\")+if(abs(n)=1,\"\",abs(n))))", "type": "string", "language": "jme", "parameters": [["n", "number"]]}, "sx": {"definition": "latex(if(n=0,\"\",if(n<0,\"-\",\"+\")+if(abs(n)=1,\"\",abs(n))+\"x\"))", "type": "string", "language": "jme", "parameters": [["n", "number"]]}, "sx2": {"definition": "latex(if(n=0,\"\",if(n<0,\"-\",\"+\")+if(abs(n)=1,\"\",abs(n))+\"x^2\"))", "type": "string", "language": "jme", "parameters": [["n", "number"]]}}, "ungrouped_variables": ["x2coeff", "xcoeff", "con"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
[[0]][[1]]
$\\simplify{{a1}*x^2+{a2}*x+{a3}}$$\\simplify{{a1*b1}*x^3}$${\\var{x2coeff}}$${\\var{xcoeff}}$$\\var{con}$
[[2]][[3]][[4]]
[[5]][[6]][[7]]
[[8]][[9]][[10]]
[[11]][[12]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b1}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b2}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a1*b1}*x^3", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a2*b1}*x^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a3*b1}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a1*b2}*x^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a2*b2+r1}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a3*b2+r2}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a1*b2}*x^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a2*b2}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a3*b2}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{r1}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{r2}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Write the final answer in the following form:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{a1*b1}*x^3+{a1*b2+a2*b1}*x^2+{a2*b2+a3*b1+r1}*x+{a3*b2+r2}}$$=$[[0]]$+$[[1]]
$\\simplify{{a1}*x^2+{a2}*x+{a3}}$$\\simplify{{a1}*x^2+{a2}*x+{a3}}$
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b1}*x+{b2}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{r1}*x+{r2}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Divide the polynomial $\\simplify{{a1*b1}*x^3+{a1*b2+a2*b1}*x^2+{a2*b2+a3*b1+r1}*x+{a3*b2+r2}}$ by $\\simplify{{a1}*x^2+{a2}*x+{a3}}$.

", "variable_groups": [{"variables": ["r1", "r2"], "name": "Remainders"}, {"variables": ["a1", "a2", "a3"], "name": "Quadratic coefficients"}, {"variables": ["b1", "b2"], "name": "Linear coefficients"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"xcoeff": {"definition": "sx(a2*b2+a3*b1+r1)", "templateType": "anything", "group": "Ungrouped variables", "name": "xcoeff", "description": ""}, "r1": {"definition": "random(-5..5)", "templateType": "anything", "group": "Remainders", "name": "r1", "description": ""}, "r2": {"definition": "random(-5..5)", "templateType": "anything", "group": "Remainders", "name": "r2", "description": ""}, "x2coeff": {"definition": "sx2(a1*b2+a2*b1)", "templateType": "anything", "group": "Ungrouped variables", "name": "x2coeff", "description": ""}, "a1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Quadratic coefficients", "name": "a1", "description": ""}, "a3": {"definition": "random(-5..5)", "templateType": "anything", "group": "Quadratic coefficients", "name": "a3", "description": ""}, "a2": {"definition": "random(-5..5)", "templateType": "anything", "group": "Quadratic coefficients", "name": "a2", "description": ""}, "b1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Linear coefficients", "name": "b1", "description": ""}, "b2": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Linear coefficients", "name": "b2", "description": ""}, "con": {"definition": "s(a3*b2+r2)", "templateType": "anything", "group": "Ungrouped variables", "name": "con", "description": ""}}, "metadata": {"description": "

Divide cubic by quadratic

", "licence": "None specified"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "showQuestionGroupNames": false, "timing": {"timeout": {"message": "", "action": "none"}, "allowPause": true, "timedwarning": {"message": "", "action": "none"}}, "navigation": {"allowregen": true, "reverse": true, "onleave": {"message": "", "action": "none"}, "showresultspage": "oncompletion", "showfrontpage": true, "preventleave": true, "browse": true}, "percentPass": "100", "name": "Blathnaid's copy of Week 4 Applied Calculus", "feedback": {"allowrevealanswer": true, "intro": "", "showtotalmark": true, "advicethreshold": 0, "showanswerstate": true, "feedbackmessages": [{"message": "

Well done, you got every question right.

", "threshold": "100"}], "showactualmark": true, "enterreviewmodeimmediately": true, "showexpectedanswerswhen": "inreview", "showpartfeedbackmessageswhen": "always", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showadvicewhen": "never"}, "type": "exam", "contributors": [{"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}, {"name": "Denis Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1216/"}], "extensions": ["jsxgraph"], "custom_part_types": [], "resources": []}