**Week 2 (lectures 3 and 4):** In this question, you will look at functions, surjectivity, some graph-plotting techniques, function composition and differentiating via the chain-rule, and Taylor polynomials.

If you have not provided an answer to every input gap of a question or part of the question, and you try to submit your answers to the question or part, then you will see the message \"Can not submit answer - check for errors\". In reality your answer has been submitted, but the system is just concerned that you have not submitted an answer to every input gap. For this reason, please ensure that you provide an answer to every input gap in the question or part before submitting. Even if you are unsure of the answer, write down what you think is most likely to be correct; you can always change your answer or retry the question.

\nAs with all questions, there may be parts where you can choose to \"Show steps\". This may give a hint, or it may present sub-parts which will help you to solve that part of the question. Furthermore, remember to always press the \"Show feedback\" button at the end of each part. Sometimes, helpful feedback will be given here, and often it will depend on how correctly you have answered and will link to other parts of the question. Hence, always retry the parts until you obtain full marks, and then look at the feedback again.

Keep in mind that in order to see the feedback for a particular part of a question, you must provide a full (but not necessarily correct) answer to that part. Do not worry though, as you can look at the feedback and then ammend your answer accordingly.

Furthermore, as with all questions, choosing to reveal the answers will only show you the answers which change every time the question is loaded (i.e. answers to randomised questions); the fixed answers will not be revealed.

What is the definition of a function?

[[0]]

Let $X$ and $Y$ be sets, and let $f: X \\longrightarrow Y$ be a function. What does it mean for $f$ to be surjective?

[[1]]

Given two sets $X$ and $Y$, a function $f: X \\longrightarrow Y$ is a rule that assigns, to each $y \\in Y$, a unique element $x \\in X$.

", "Given two sets $X$ and $Y$, a function $f: X \\longrightarrow Y$ is a rule that assigns, to each $y \\in Y$, at least one element $x \\in X$.

", "Given two sets $X$ and $Y$, a function $f: X \\longrightarrow Y$ is a rule that assigns, to each $x \\in X$, a unique element $f(x) \\in Y$.

", "Given two sets $X$ and $Y$, a function $f: X \\longrightarrow Y$ is a rule that assigns, to each $x \\in X$, at least one element $f(x) \\in Y$.

", "Given two sets $X$ and $Y$, a function $f: X \\longrightarrow Y$ is a rule that assigns, to each $x \\in X$, a unique element $f(x) \\in Y$. Furthermore, for each $y \\in Y$, there must be at least one $x \\in X$ with $y = f(x)$.

"], "displayColumns": "1", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "shuffleChoices": false}, {"marks": 0, "type": "1_n_2", "showCorrectAnswer": false, "distractors": ["", "", "", "", ""], "showFeedbackIcon": true, "variableReplacements": [], "matrix": [0, 0, 0, 0, "1"], "minMarks": 0, "extendBaseMarkingAlgorithm": true, "displayType": "radiogroup", "maxMarks": 0, "unitTests": [], "scripts": {}, "choices": ["For all $x_1 , x_2 \\in X$, if $x_1 \\neq x_2 $ then $f(x_1 ) \\neq f(x_2 )$.

", "For all $y \\in Y$ there is a unique $x \\in X$ such that $y = f(x)$.

", "For all $x \\in X$, there is a unique $y \\in Y$ such that $y = f(x)$.

", "For all $x \\in X$, there is at least one $y \\in Y$ such that $y = f(x)$.

", "For all $y \\in Y$ there is at least one $x \\in X$ such that $y = f(x)$.

"], "displayColumns": "1", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "shuffleChoices": false}], "extendBaseMarkingAlgorithm": true}, {"type": "gapfill", "showCorrectAnswer": true, "unitTests": [], "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "variableReplacements": [], "steps": [{"prompt": "Let us try to write $\\displaystyle{x^2 - \\simplify{2*{Centre_x}}x +y^2 -\\simplify{2*{Centre_y}}y + \\simplify{{Centre_x}^2 +{Centre_y}^2 - {Radius}^2}=0}$ in the form $(x-a)^2 + (y-b)^2 = r^2$. We can determine the centre and radius easily. Indeed, the centre is $(a,b)$ and the radius is $r$.

First, expand $(x-a)^2 + (y-b)^2 = r^2$.

So, by comparing the coefficients of the $x$ term, we see that $a=$

", "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "variableReplacements": [], "correctAnswerStyle": "plain", "maxValue": "Centre_x", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "minValue": "Centre_x", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false}, {"correctAnswerFraction": false, "marks": 1, "type": "numberentry", "showCorrectAnswer": true, "prompt": "So, by comparing the coefficients of the $y$ term, we see that $b=$

", "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "variableReplacements": [], "correctAnswerStyle": "plain", "maxValue": "Centre_y", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "minValue": "Centre_y", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false}, {"correctAnswerFraction": false, "marks": 1, "type": "numberentry", "showCorrectAnswer": true, "prompt": "Finally, by comparing the constant terms (including $a^2$ and $b^2$), we see that $r=$

", "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "variableReplacements": [], "correctAnswerStyle": "plain", "maxValue": "Radius", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "minValue": "Radius", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "mustBeReduced": false}], "prompt": "Determine the centre and radius of the circle with the following equation:

$\\simplify[all, !noLeadingMinus]{x^2 - {2*{Centre_x}}x +y^2 -{2*{Centre_y}}y + {{Centre_x}^2 +{Centre_y}^2 - {Radius}^2}=0}$

Radius: [[0]]

Centre: $($[[1]] $,$ [[2]] $)$

It may be helpful for you to draw the circle, which should be easier now that you know its radius and centre, from part b.

For the first part: Recall that for a function $g$, each $x$ in the domain has only one corresponding $g(x)$ in the codomain. That means that any vertical line will pass through at most one point on the graph of $g$. We must find a value of $d$ such that any vertical line passes through $S_G \\cup L_d$ at most once.

For the second part: Now that we have our function, we want to restrict its codomain so that it is a surjective function. Recall that for a **general** function, not all elements in the codomain are **necessarily** mapped to. With a **surjective** function though, it must be the case that all elements in the codomain **are** mapped to.

For example, consider the function $f: \\mathbb{R} \\longrightarrow \\mathbb{R}$ defined by $f(x) = 1$ for all $x \\in \\mathbb{R}$. Clearly there are elements in the codomain, $\\mathbb{R}$, which are not mapped to, such as $2,3,$ or $4$. Hence this function is not surjective. However, we can restrict the codomain to make it surjective. That is, following function is surjective: $f: \\mathbb{R} \\longrightarrow \\{ 1 \\}$ defined by $f(x) = 1$ for all $x \\in \\mathbb{R}$. We simply restricted the codomain from $\\mathbb{R}$ to $\\{ 1 \\}$.

\nReturning to the question, it is your task to restrict the codomain so that function is surjective.

\n", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true}], "prompt": "Consider the subset $S_G \\subseteq \\mathbb{R}$ consisting of all points $(x,y) \\in \\mathbb{R} $ which satisfy the cartesian equation $\\simplify[all, !noLeadingMinus]{x^2 - {2*{Centre_x}}x +y^2 -{2*{Centre_y}}y + {{Centre_x}^2 +{Centre_y}^2 - {Radius}^2}=0}$.

\nNow let $d \\in \\mathbb{R}$, and define the subset $L_d \\subseteq \\mathbb{R}$ to be the \"half-plane\" $\\{ (x,y) \\in \\mathbb{R} : y \\leq d \\}$.

What value must we take for $d$ so that (1) $s_g \\cap L_d$ corresponds to the graph of a function (we will call this function $f$), and (2) this graph is as large as possible? $d =$ [[0]].

We can now express this function as $f: [ \\simplify{{DomainLimitLeft}} , \\simplify{{DomainLimitRight}}] \\longrightarrow \\Big(- \\infty,$[[0]]$\\Big]$.

We now wish to find a number $c \\in \\mathbb{R}$ such that restricting the codomain to $\\Big[c,$[[0]]$\\Big]$ will make the function $f$ surjective.

\nWhat value do we take for $c$? $c=$ [[1]].

", "scripts": {"mark": {"order": "after", "script": "//This part of the question asks the student to restrict the y values so that the graph will correspond to a function. We want to give specific feedback dependent on whether the student does not restrict it enough, restricts it too little, or restricts it just right.\n//This part of the question later asks to restrict the codomain of the function so that we have a surjective function. Again, we want to give specific and dependent feedback.\n\nstudentAnswer1 = part.question.getPart('p2g0').studentAnswer;\n//Student's answer to first gap.\ncorrectAnswer1 = part.question.unwrappedVariables.centre_y;\n//Correct answer to first gap.\n\n//studentAnswer1, for example, seems to be an integer, but does not always behave like one (e.g. when trying to add it to another integer. Hence we use parseInt to ensure it is an integer and behves like one.\n\n\nstudentAnswer2 = part.question.getPart('p2g1').studentAnswer;\n//Students answer to the second gap.\nradius = part.question.unwrappedVariables.radius;\n//The radius of the circle.\ncorrectAnswer2 = parseInt(correctAnswer1) - parseInt(radius);\n//Correct answer to the second gap.\nhalfWay2 = [parseInt(correctAnswer1) - parseInt(radius) + parseInt(studentAnswer2)]/2\n//halfWay2 is used in one of the potential feedback comments below.\n\n\nthis.markingFeedback = [];\n//This clears the feedback that would normally be given automatically by the built in script. We just want to show our own feedback.\n\n\n//For the following code, the use is made clear by the associated marking comments.\nif (studentAnswer1 > correctAnswer1){\n this.markingComment('For the first part: Not quite. Restricting the $y$ values to $( - \\\\infty ,$' + studentAnswer1 + '$)$ does not make the graph correspond to a function. There are still $x$ values that have two corresponding $y$ values.');\n}else if (studentAnswer1 < correctAnswer1){\n this.markingComment('For the first part: Your value of $d$ restricts the graph so that it corresponds to a function, but this restricted graph is not as large as it could be.');\n}else if (studentAnswer1 == correctAnswer1){\n this.markingComment('For the first part: Well done! Your value of $d$ restricts the graph so that it corresponds to a function, and the restricted graph is as large as it can be: Any larger value of $d$ would mean the restricted graph does not correspond to a function.');\n}\n\nif (studentAnswer1 != correctAnswer1){\n this.markingComment('For the second part: It is best to first obtain the correct value for $d$ before attempting to obtain the value of $c$');\n}else if (studentAnswer2 > correctAnswer1){\n this.markingComment('For the second part: Your value for $c$ should not be larger than your value for $d$, as the interval $[c,d]$ would not be well-defined.');\n}else if (correctAnswer2 < studentAnswer2 && studentAnswer2 <= correctAnswer1){\n this.markingComment('For the second part: Your value for $c$ restricts the codomain too much! $f$ would no longer be a function. Indeed $\\\\displaystyle{\\\\simplify{{Centre_x}}}$ is in the domain, but the corresponding $y$ value is not in the codomain. ');\n}else if (studentAnswer2 < correctAnswer2){\n this.markingComment('For the second part: Your value for $c$ does not make the function surjective. For example, there is no $x$ value which maps to ' + halfWay2 + '.');\n} else if (studentAnswer2 == correctAnswer2){\n this.markingComment('For the second part: Well done! Your value of $c$ makes the function surjective.');\n}\n\n\n \n\n\n"}}, "stepsPenalty": 0, "variableReplacementStrategy": "alwaysreplace", "customMarkingAlgorithm": "", "marks": 0, "gaps": [{"correctAnswerFraction": false, "mustBeReduced": false, "marks": "2", "type": "numberentry", "showCorrectAnswer": true, "variableReplacements": [], "allowFractions": false, "mustBeReducedPC": 0, "correctAnswerStyle": "plain", "maxValue": "Centre_y", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "minValue": "Centre_y", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true}, {"correctAnswerFraction": false, "mustBeReduced": false, "marks": "2", "type": "numberentry", "showCorrectAnswer": true, "variableReplacements": [], "allowFractions": false, "mustBeReducedPC": 0, "correctAnswerStyle": "plain", "maxValue": "Centre_y - Radius", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "minValue": "Centre_y - Radius", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true}]}, {"type": "gapfill", "showCorrectAnswer": true, "unitTests": [], "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "variableReplacements": [], "steps": [{"unitTests": [], "variableReplacements": [], "scripts": {}, "marks": 0, "type": "information", "showCorrectAnswer": true, "prompt": "Hint for part iii: We have two functions which are formed by composition, namely $f \\circ g$ and $g \\circ f$, and you are asked to find their derivative. This implies that we should use the chain rule, which we have from part i. The following is an example of an application of the chain rule:

\nLet $h(x)= e^x$ and let $k(x) = x^2 +x$.

Then $(h \\circ k ) (x) = e^{x^2 + x}$.

The chain rule tells us that $\\frac{\\mathrm{d} \\big( (h \\circ k) (x) \\big)}{\\mathrm{d} x} = \\frac{\\mathrm{d}(h(k))}{\\mathrm{d} k} \\cdot \\frac{\\mathrm{d}(k(x))}{\\mathrm{d} x}$.

Now, $h(k) = e^k$ and so $\\frac{\\mathrm{d}\\big( (h \\circ k) (x) \\big)}{\\mathrm{d} k} = e^k$.

Also, $\\frac{\\mathrm{d}(k(x))}{\\mathrm{d} x} = 2x+1$.

Hence, $\\frac{\\mathrm{d} \\big( (h \\circ k) (x) \\big)}{\\mathrm{d} x} = (2x+1) e^k$.

Finally, we can express $k$ in terms of $x$ by using $k(x) = x^2 + x$, to get $\\frac{\\mathrm{d} \\big( (h \\circ k) (x) \\big)}{\\mathrm{d} x} = (2x+1) e^{x^2 +x}$.

Now try something similar for part iii.

This part of the question involves differentiation via the chain rule.

\ni) Suppose we have functions $f: \\mathbb{R} \\longrightarrow \\mathbb{R}$ and $g: \\mathbb{R} \\longrightarrow \\mathbb{R}$. What does the chain rule say?

[[0]]

ii) Now, let $f(x)= x^2 + \\simplify{{a}}$ and let $g(x)= \\simplify{{b}} \\cos (x) + \\simplify{{c}}$. Express, in terms of $x$, the compositions $f \\circ g$ and $g \\circ f$.

(When entering an expression, please use * for multiplication. For example write x * sin(x), and not x sin(x); the latter may not always be interpreted correctly by the system. Also, if you wish to write $\\cos^2 (x)$, then please write cos(x)^2, and not cos^2(x). This applies similarly to $\\sin ,\\tan$ etc.. )

$(f \\circ g) (x) =$ [[1]]

$(g \\circ f) (x) =$ [[2]]

iii) Using the chain rule, calculate $\\frac{\\mathrm{d} \\big( (f \\circ g) (x) \\big)}{\\mathrm{d} x}$ and $\\frac{\\mathrm{d} \\big( (g \\circ f) (x) \\big)}{\\mathrm{d} x}$.

$\\frac{\\mathrm{d} \\big( (f \\circ g) (x) \\big)}{\\mathrm{d} x} =$ [[3]]

$\\frac{\\mathrm{d} \\big( (g \\circ f) (x) \\big)}{\\mathrm{d} x} =$ [[4]]

$\\frac{\\mathrm{d}\\big(f(x) + g(x) \\big)}{\\mathrm{d} x} = \\frac{\\mathrm{d}(f(x))}{\\mathrm{d} x} + \\frac{\\mathrm{d}(g(x))}{\\mathrm{d} x}$

", "$\\frac{\\mathrm{d} \\big( (f \\circ g) (x) \\big)}{\\mathrm{d} x} = \\frac{\\mathrm{d}(f(g))}{\\mathrm{d} g} \\cdot \\frac{\\mathrm{d}(g(x))}{\\mathrm{d} x}$

", "$\\frac{\\mathrm{d} (f(x) \\cdot g(x))}{\\mathrm{d} x} = f(x) \\cdot \\frac{\\mathrm{d}(g(x))}{\\mathrm{d} x} + \\frac{\\mathrm{d}(f(x))}{\\mathrm{d} x} \\cdot g(x)$

", "$\\frac{\\mathrm{d} \\big( f(x) /g(x) \\big)}{\\mathrm{d} x} = \\frac{\\frac{\\mathrm{d} (f(x))}{\\mathrm{d} x} \\cdot g(x) - f(x) \\cdot \\frac{\\mathrm{d} (g(x))}{\\mathrm{d} x}}{g(x)^2 }$

"], "displayColumns": "1", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "shuffleChoices": false}, {"type": "jme", "showCorrectAnswer": true, "variableReplacements": [], "checkingAccuracy": 0.001, "marks": 1, "showPreview": true, "extendBaseMarkingAlgorithm": true, "failureRate": 1, "unitTests": [], "checkingType": "absdiff", "scripts": {}, "expectedVariableNames": [], "showFeedbackIcon": true, "checkVariableNames": false, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "vsetRange": [0, 1], "answer": "({b}* cos (x) + {c})^2 + {a}"}, {"type": "jme", "showCorrectAnswer": true, "variableReplacements": [], "checkingAccuracy": 0.001, "marks": 1, "showPreview": true, "extendBaseMarkingAlgorithm": true, "failureRate": 1, "unitTests": [], "checkingType": "absdiff", "scripts": {}, "expectedVariableNames": [], "showFeedbackIcon": true, "checkVariableNames": false, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "vsetRange": [0, 1], "answer": "{b} cos (x^2 + {a}) + {c}"}, {"type": "jme", "showCorrectAnswer": true, "variableReplacements": [], "checkingAccuracy": 0.001, "marks": 1, "showPreview": true, "extendBaseMarkingAlgorithm": true, "failureRate": 1, "unitTests": [], "checkingType": "absdiff", "scripts": {}, "expectedVariableNames": [], "showFeedbackIcon": true, "checkVariableNames": false, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "vsetRange": [0, 1], "answer": "-2*{b}*sin (x)({b}* cos (x) + {c})"}, {"type": "jme", "showCorrectAnswer": true, "variableReplacements": [], "checkingAccuracy": 0.001, "marks": 1, "showPreview": true, "extendBaseMarkingAlgorithm": true, "failureRate": 1, "unitTests": [], "checkingType": "absdiff", "scripts": {}, "expectedVariableNames": [], "showFeedbackIcon": true, "checkVariableNames": false, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "vsetRange": [0, 1], "answer": "-2*{b}*x* sin (x^2 + {a})"}]}, {"type": "gapfill", "showCorrectAnswer": true, "unitTests": [], "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "variableReplacements": [], "steps": [{"unitTests": [], "variableReplacements": [], "scripts": {}, "marks": 0, "type": "information", "showCorrectAnswer": true, "prompt": "Hint for part i: This was explained in chapter 4 of the lecture notes.

\nHint for part part ii: The (correct) answer from part i tells you the general form of the taylor polynomial. To apply it to this part of the question, you will need to calculate the derivative of $h(x) = (\\simplify{{b}} \\cos (x) + \\simplify{{c}})^2 + \\simplify{{a}}$. However, you already did this in part d.

", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true}], "prompt": "This part of the question involves Taylor Polynomials.

\ni) Let $h: \\mathbb{R} \\longrightarrow \\mathbb{R}$ be a function which is differentiable at least twice, and let $a \\in \\mathbb{R}$. Then, the Taylor polynomial of $h$ about $a$ of degree $1$ is

[[0]]

ii) Now consider the function $h(x) = (\\simplify{{b}} \\cos (x) + \\simplify{{c}})^2 + \\simplify{{a}}$. Notice that this is the same as $(f \\circ g)(x)$ from part d.

\nWhat is the Taylor polynomial of $h$ about $0$ of degree $1$? (If you wish to write $\\pi$, then simply write \"pi\", without the quotation marks.)

$P_2 (x) =$ [[1]] .

What is the Taylor polynomial of $h$ about $\\frac{\\pi}{2}$ of degree $1$?

$P_2 (x) =$ [[2]] .

$P_1 (x) = h'(0) x+h(0)$

", "$P_1 (x) =h'(a) x +h(a)$

", "$P_1 (x) =h'(a) (x-a) +h(a)$

", "$P_1 (x) =h'(a) (x-a) +h(0)$

", "$P_2 (x) =h'(0) (x-a) +h(0)$

"], "displayColumns": "1", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "shuffleChoices": false}, {"type": "jme", "showCorrectAnswer": true, "variableReplacements": [], "checkingAccuracy": 0.001, "marks": "2", "showPreview": true, "extendBaseMarkingAlgorithm": true, "failureRate": 1, "unitTests": [], "checkingType": "absdiff", "scripts": {}, "expectedVariableNames": [], "showFeedbackIcon": true, "checkVariableNames": false, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "vsetRange": [0, 1], "answer": "({b}+{c})^2 +{a}"}, {"type": "jme", "showCorrectAnswer": true, "variableReplacements": [], "checkingAccuracy": 0.001, "marks": "2", "showPreview": true, "extendBaseMarkingAlgorithm": true, "failureRate": 1, "unitTests": [], "checkingType": "absdiff", "scripts": {}, "expectedVariableNames": [], "showFeedbackIcon": true, "checkVariableNames": false, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "vsetRange": [0, 1], "answer": "-2*{c}*{b}(x-(pi /2)) + {c}^2 + {a}"}]}], "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "This is the question for week 2 of the MA100 course at the LSE. It looks at material from chapters 3 and 4.

"}, "ungrouped_variables": ["Centre_x", "Centre_y", "Radius", "DomainLimitLeft", "DomainLimitRight", "a", "b", "c", "d"], "rulesets": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "tags": [], "variables": {"DomainLimitLeft": {"definition": "Centre_x - Radius", "name": "DomainLimitLeft", "templateType": "anything", "description": "This is the left limit of the domain of the function that corresponds to the lower semicircle.

", "group": "Ungrouped variables"}, "DomainLimitRight": {"definition": "Centre_x + Radius", "name": "DomainLimitRight", "templateType": "anything", "description": "This is the right limit of the domain of the function that corresponds to the lower semicircle.

", "group": "Ungrouped variables"}, "Centre_x": {"definition": "random(1..10 except 0)", "name": "Centre_x", "templateType": "anything", "description": "Centre_x is the x coordinate of the centre of the circle.

", "group": "Ungrouped variables"}, "Centre_y": {"definition": "random(1..10 except 0)", "name": "Centre_y", "templateType": "anything", "description": "Centre_y is the y coordinate of the centre of the circle.

", "group": "Ungrouped variables"}, "Radius": {"definition": "random(max(Centre_x,Centre_y)+1..2*max(Centre_x,Centre_y)+1)", "name": "Radius", "templateType": "anything", "description": "\"Radius\" is the radius of the circle. We want the the circle to have two intersections with each axis. Hence the definition of its value.

", "group": "Ungrouped variables"}, "d": {"definition": "random(2..10)", "name": "d", "templateType": "anything", "description": "\"d\" is a constant in a function.

", "group": "Ungrouped variables"}, "c": {"definition": "random(2..10)", "name": "c", "templateType": "anything", "description": "\"c\" is a constant in a function.

", "group": "Ungrouped variables"}, "b": {"definition": "random(2..10)", "name": "b", "templateType": "anything", "description": "\"b\" is a constant in a function.

", "group": "Ungrouped variables"}, "a": {"definition": "random(2..10)", "name": "a", "templateType": "anything", "description": "\"a\" is a constant in a function.

", "group": "Ungrouped variables"}}, "variable_groups": [], "advice": "", "extensions": [], "type": "question", "contributors": [{"name": "Michael Yiasemides", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1440/"}]}]}], "contributors": [{"name": "Michael Yiasemides", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1440/"}]}