// Numbas version: exam_results_page_options {"variable_groups": [], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Function approximation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variable_groups": [], "variables": {"s1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "description": "", "name": "s1"}, "n": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "name": "n"}, "est": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(a^(m/n)+h*m*a^(m/n-1)/n,5)", "description": "", "name": "est"}, "c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(a^(1/n),0)", "description": "", "name": "c"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if(n=2,random(4,9,16,25,36),if(n=3,random(8,27,64),if(n=4,random(16,81),random(32,243))))", "description": "", "name": "a"}, "tr": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround((a+h)^(m/n),5)", "description": "", "name": "tr"}, "p": {"templateType": "anything", "group": "Ungrouped variables", "definition": "m-n", "description": "", "name": "p"}, "m": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if(n=2 or n=4,random(1,3,5), if(n=3,random(1,2,4,5),random(1,2,3,4,6)))", "description": "", "name": "m"}, "h": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(random(1,-1)*random(0.001..0.1#0.001),3)", "description": "", "name": "h"}}, "ungrouped_variables": ["a", "c", "est", "h", "s1", "tr", "m", "n", "p"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "functions": {}, "showQuestionGroupNames": false, "parts": [{"scripts": {}, "gaps": [{"answer": "x^({m}/{n})", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 0.5, "vsetrangepoints": 5}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "{a}", "minValue": "{a}", "correctAnswerFraction": false, "marks": 0.25, "showPrecisionHint": false}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "{h}", "minValue": "{h}", "correctAnswerFraction": false, "marks": 0.25, "showPrecisionHint": false}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "{est}", "minValue": "{est}", "correctAnswerFraction": false, "marks": 2, "showPrecisionHint": false}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "{tr}", "minValue": "{tr}", "correctAnswerFraction": false, "marks": 1, "showPrecisionHint": false}], "type": "gapfill", "prompt": "\n
In this case $f(x) =\\;$ [[0]].
\n$a= \\;$[[1]] and $h=\\; $[[2]]
Input your estimation to $5$ decimal places: [[3]]
True value is: [[4]] (input to 5 decimal places).
\n ", "showCorrectAnswer": true, "marks": 0}], "statement": "Use the approximation $f(a+h) \\approx f(a)+hf^{\\prime}(a)$ to estimate \\[\\var{a+h}^{\\frac{\\var{m}}{\\var{n}}} \\]for a suitable function $f(x)$.
", "tags": ["application of differentiation", "approximation", "approximation of the value of a function using the tangent", "approximations", "calculus", "Calculus", "checked2015", "equation of tangent", "first order approximation", "functions", "maclaurin series", "MacLaurin series", "mas1601", "MAS1601", "tangent equation"], "rulesets": {"std": ["all", "!collectNumbers"], "dpoly": ["std", "fractionNumbers"]}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "\n \t\t3/07/2012
Added tags
\n \t\t20/06/2012:
\n \t\t
Added tags.
Got rid of request for 5dps for the function!
\n \t\t", "licence": "Creative Commons Attribution 4.0 International", "description": "Approximate $f(x)=(a+h)^{m/n}$ by $f(a)+hf^{\\prime}(a)$ to 5 decimal places and compare with true value.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "We have $f(x)=x^\\frac{\\var{m}}{\\var{n}}$ and $a= \\var{a}$, $h=\\var{h}$.
Note that $\\var{a}^\\frac{1}{\\var{n}}=\\var{c}$ and so using the approximation :
$f(a+h)\\approx f(a)+hf^{\\prime}(a)$ and $f^{\\prime}(x) = \\frac{\\var{m}}{\\var{n}}\\simplify[std]{x^({m-n}/{n})}$
we have:
\\[\\simplify[std]{{a+h}^({m}/{n})}\\approx \\simplify[simplifyFractions]{{a}^({m}/{n})+{h}*({m}/{n})*{a}^({p}/{n})}=\\simplify[std,!sqrtSquare]{{c}^{m}+ {h}*({m}/{n})*{c}^{m-n}}=\\var{est}\\]
to 5 decimal places.
The true value to 5 decimal places is {tr}.
Input as a fraction or an integer and not as a decimal.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "checkvariablenames": false, "type": "jme", "answersimplification": "std", "marks": 2, "vsetrangepoints": 5}], "type": "gapfill", "prompt": "Maximum possible speed = [[0]]$m/s$
\nInput as a fraction or an integer and not as a decimal.
", "showCorrectAnswer": true, "marks": 0}], "statement": "An object moves in a straight line with an acceleration given by:
\\[f(t)=\\frac{\\var{a}}{(1+\\var{b}t)^{\\var{n}}}\\]
where $t$ is time.
\nGiven that the object starts from rest, find its maximum possible speed (i.e. its limiting speed).
", "tags": ["1st order differential equation", "acceleration and speed", "applied mathematics", "Calculus", "checked2015", "differential equation", "differential equation ", "first order differential equation", "initial conditions", "integration", "limiting value", "MAS1603", "MAS1902", "modelling", "ode"], "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "29/06/2012:
\nAdded, edited tags
\nSlight changes in display in prompt.
\nAdded a line to explain the limit in advice (last line).
\nChecked calculation. No problem with checking range as variables $\\gt 0$.
\n10/07/2012:
\nAdded requirement in prompt that numbers entered as fractions or integers. Added decimal point as forbidden string.
\n18/07/2012:
\nAdded description.
\n23/07/2012:
\nAdded tags.
\nQuestion appears to be working correctly.
\n04/11/2012:
\nAdded m/s units where needed.
\n", "licence": "Creative Commons Attribution 4.0 International", "description": "
An object moves in a straight line, acceleration given by:
\n$\\displaystyle f(t)=\\frac{a}{(1+bt)^n}$. The object starts from rest. Find its maximum speed.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "If $v(t)$ is the velocity at time $t$ then the acceleration at time $t$ is $\\displaystyle{\\frac{dv}{dt}}$.
\nHence we have the differential equation for the velocity:
\n\\[\\frac{dv}{dt}=\\frac{\\var{a}}{(1+\\var{b}t)^{\\var{n}}}=\\simplify[std]{{a}(1+{b}t)^{-n}}\\] where $v(0)=0$ as the object starts from rest.
Integrating this gives: $\\displaystyle{v(t) = \\simplify[std]{-{a}/{b*(n-1)}*(1+{b}*t)^{-n+1}+A}}$.
Since $v(0)=0$ this gives $\\displaystyle{A=\\simplify[std]{{a}/{b*(n-1)}}}$ and so the solution is:
\n$\\displaystyle{v(t) = \\simplify[std]{{a}/{b*(n-1)}(1-(1+{b}*t)^{-n+1})}}$
\nIt follows that the limiting speed is:
\n\\[\\lim_{t \\to \\infty} v(t) = \\simplify[std]{{a}/{b*(n-1)}}m/s\\] as
\n\\[(1+\\var{b}t)^{\\var{-n+1}}=\\simplify[std]{1/(1+{b}t)^{n-1}} \\rightarrow 0,\\;\\;t \\rightarrow \\infty\\]
"}, {"name": "Second order ODE with constant coefficients and boundary conditions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variable_groups": [], "variables": {"a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "s*random(1..5)", "description": "", "name": "a"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..7)", "description": "", "name": "b"}, "c": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..5)", "description": "", "name": "c"}, "s": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,-1)", "description": "", "name": "s"}}, "ungrouped_variables": ["a", "s", "b", "c"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "showQuestionGroupNames": false, "functions": {}, "parts": [{"scripts": {}, "gaps": [{"answer": "exp({- a} * x) * (cos({b} * x) + ({c+a} / {b}) * sin({b} * x))", "showCorrectAnswer": true, "vsetrange": [0, 1], "checkingaccuracy": 1e-05, "checkvariablenames": false, "expectedvariablenames": [], "notallowed": {"message": "Input all numbers as integers or fractions.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "answersimplification": "std", "marks": 3, "vsetrangepoints": 5}], "type": "gapfill", "showCorrectAnswer": true, "prompt": "Solution is:
\n$y=\\;\\;$[[0]]
\nInput all numbers as integers or fractions – not as decimals.
", "marks": 0}], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "Solve:
\\[\\simplify[std]{(d^2y/dx^2)+{2*a}*(dy/dx)+{a^2+b^2}y}=0\\]
which satisfies $y(0)=1$ and $y'(0)=\\var{c}$ (where prime denotes the derivative).
29/06/2012:
\n
Added tags. Edited tags.
Improved display.
\nChecked answer.
\n23/07/2012:
\nAdded tags.
\nQuestion appears to be working correctly.
\n04/11/2012:
\n
Corrected mistake in solution.
Solve: $\\displaystyle \\frac{d^2y}{dx^2}+2a\\frac{dy}{dx}+(a^2+b^2)y=0,\\;y(0)=1$ and $y'(0)=c$.
"}, "advice": "The auxillary equation is $\\simplify[std]{lambda^2+{2*a}lambda+{a^2+b^2}}=0$.
\nOn solving this equation we get $\\lambda=\\simplify[std]{{-a}+{b}i}$ and $\\lambda=\\simplify[std]{{-a}-{b}i}$.
\nHence the general solution is:
\\[y = \\simplify[std]{e^({-a}x)(A*sin({b}x)+B*cos({b}x))}\\]
Note that
\\[y'(x)=\\simplify[std]{-{a}e^({-a}x)(A*sin({b}x)+B*cos({b}x))+e^({-a}x)({b}*A*cos({b}x)-{b}*B*sin({b}x))}\\]
Using the conditions $y(0)=1$ and $y'(0)=\\var{c}$ gives:
\\[\\begin{eqnarray*} B &=& 1\\\\ \\simplify[std]{{b}A+{-a}B}&=& \\var{c} \\end{eqnarray*} \\]
This gives $\\displaystyle{A = \\simplify[std]{{c+a}/{b}}}$.
Hence the solution is:
\n\\[y=\\simplify[std]{exp({- a} * x) * (cos({b} * x) + ({c+a} / {b}) * sin({b} * x))}\\]
"}, {"name": "Separable first order ODE with boundary condition", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variable_groups": [], "variables": {"b": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)", "description": "", "name": "b"}, "n": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..4)", "description": "", "name": "n"}, "a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)", "description": "", "name": "a"}}, "ungrouped_variables": ["a", "b", "n"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "functions": {}, "showQuestionGroupNames": false, "parts": [{"scripts": {}, "gaps": [{"answer": "({(b ^ (n + 1))} + ({(a * (n + 1))} * t)) ^ (1 / {(n + 1)}) - {b}", "vsetrange": [0, 1], "checkingaccuracy": 0.0001, "answersimplification": "std", "expectedvariablenames": [], "notallowed": {"message": "Input all numbers as integers or fractions.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "checkvariablenames": false, "type": "jme", "showCorrectAnswer": true, "marks": 3, "vsetrangepoints": 5}], "type": "gapfill", "prompt": "The thickness at time $t$ is given by:
\n$x(t)=\\;\\;$[[0]]
\nInput all numbers as integers or fractions – not as decimals.
", "showCorrectAnswer": true, "marks": 0}], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "The thickness of ice on water, $x(t)$, grows according to the equation:
\\[\\frac{dx}{dt}=\\simplify[std]{{a}/(x+{b})^{n}}\\]
Given that $x(0)=0$ find $x(t)$.
29/06/2012:
\nAdded and edited tags.
\nChecked answer. Checking range OK as we are taking roots of positive numbers, given the choice of ranges for the variables.
\n18/07/2012:
\nAdded description.
\n23/07/2012:
\nAdded tags.
\nThe arbitrary constant A should be relabelled as A_1 in the Advice section part way though the solution.
\nQuestion appears to be working correctly.
\n", "licence": "Creative Commons Attribution 4.0 International", "description": "
Solve for $x(t)$, $\\displaystyle\\frac{dx}{dt}=\\frac{a}{(x+b)^n},\\;x(0)=0$
"}, "advice": "On rearranging the equation we get $\\displaystyle{\\simplify[std]{(x+{b})^{n}*(dx/dt) = {a}}}$ and on integrating we obtain:
$\\displaystyle{\\simplify[std]{(x+{b})^{n+1}/{n+1}={a}t +A} \\Rightarrow x+\\var{b}=(A+\\var{a*(n+1)}t)^{1/\\var{n+1}}}$
Using the condition $x(0)=0$ gives $\\displaystyle{A^{1/\\var{n+1}}=\\var{b} \\Rightarrow A=\\var{b^(n+1)}}$
\nHence the solution is:
\\[x(t) = \\simplify[std]{({(b ^ (n + 1))} + ({(a * (n + 1))} * t)) ^ (1 / {(n + 1)}) - {b}}\\]
Solution is:
\n$y=\\;\\;$[[0]]
\nInput all numbers correct to 3 decimal places.
", "unitTests": [], "showFeedbackIcon": true, "scripts": {}, "gaps": [{"answer": "{c} * Exp({ - a} * x) + {f1} * x * Exp({- a} * x)", "showCorrectAnswer": true, "checkingAccuracy": 1e-05, "customMarkingAlgorithm": "", "answerSimplification": "std,!fractionNumbers", "expectedVariableNames": [], "showPreview": true, "checkVariableNames": false, "checkingType": "absdiff", "vsetRange": [0, 1], "vsetRangePoints": 5, "showFeedbackIcon": true, "scripts": {}, "marks": 3, "type": "jme", "unitTests": [], "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "failureRate": 1}], "type": "gapfill", "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 0, "sortAnswers": false}], "statement": "Find the solution of:
\\[\\simplify[std]{(d^2y/(d*x^2))+{2*a}*((d*y/(d*x)))+{a^2}y}=0\\]
which satisfies $y(0)=\\var{c}$ and $y(1)=\\var{d}$.
The auxillary equation is $\\simplify[std]{lambda^2+{2*a}lambda+{a^2}}=0$.
\nOn solving this equation we get $\\lambda=\\var{-a}$ twice.
\nHence the general solution is:
\\[y = \\simplify[std]{A*e^({-a}x)+B*x*e^({-a}x)}\\]
The boundary conditions give:
$y(0)=\\var{c} \\Rightarrow A=\\var{c}$
\n$y(1)=\\var{d} \\Rightarrow \\simplify{Ae^{-a}+Be^{-a}={d}}\\Rightarrow A+B = \\simplify{{d}e^{a}}$
\nSo $B=\\simplify{{d}e^{a}-{c}}=\\var{f1}$ to 3 decimal places.
\nHence the solution is:
\\[y=\\simplify{(({c} * Exp(({( - a)} * x))) + ({f1} * x * Exp(({( - a)} * x))))}\\]
Solve: $\\displaystyle \\frac{d^2y}{dx^2}+2a\\frac{dy}{dx}+a^2y=0,\\;y(0)=c$ and $y(1)=d$. (Equal roots example).
"}, "variablesTest": {"condition": "", "maxRuns": 100}}, {"name": "Taylor series (three terms)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "parts": [{"answer": "{tm0}+{tm1}/{a*n}*(x-{c})+{tm2}/{2*a^2*n^2}*(x-{c})^2", "showCorrectAnswer": true, "vsetrange": [0, 1], "scripts": {}, "checkvariablenames": false, "expectedvariablenames": [], "prompt": "\nInput the first three terms in the Taylor series in the form $a+b(x-\\var{c})+c(x-\\var{c})^2$ for suitable coefficients $a,\\;b$ and $c$.
\n
Input coefficients as fractions, not as decimals. Also do not use factorials in your answer. For example, input 6 rather than 3!.
Do not input factorials or decimals in the Taylor series.
", "showStrings": false, "partialCredit": 0, "strings": ["!", "."]}, "showpreview": true, "checkingtype": "absdiff", "checkingaccuracy": 1e-06, "type": "jme", "answersimplification": "all,fractionNumbers,!collectNumbers", "marks": 4, "vsetrangepoints": 5}], "variables": {"s1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,-1)", "name": "s1", "description": ""}, "tm1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "tm0*b", "name": "tm1", "description": ""}, "n": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if(a=4 or a=9 or a=25 or a=36 or a=49,2,if(a=8 or a=27,3,if(a=32,5,if(a=16,random(2,4),random(2..5)))))", "name": "n", "description": ""}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1,4,8,9,16,27,32,25,36,49)", "name": "a", "description": ""}, "c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "name": "c", "description": ""}, "tm0": {"templateType": "anything", "group": "Ungrouped variables", "definition": "a^(1/n)", "name": "tm0", "description": ""}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "s1*switch(a=1,random(2..9),a=4,random(3,5,7,9),a=8,random(1,3,5,7,9),a=9,random(1,2,4,5,7,8),a=16,random(1,3,5,7,9),a=32,random(1,3,5,7,9),a=25,random(1,2,4,6,7,9),a=27,random(1,2,4,5,7,8),a=36,random(1,5,7,9),random(1,2,3,4,5,8,9))", "name": "b", "description": ""}, "tm2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "-(n-1)*tm1*b", "name": "tm2", "description": ""}}, "ungrouped_variables": ["a", "tm0", "tm2", "b", "tm1", "s1", "c", "n"], "rulesets": {}, "variable_groups": [], "showQuestionGroupNames": false, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "You are asked to find the first 3 terms in the Taylor series at $x=\\var{c}$ for $f(x)=(\\simplify[all]{{a-b*c}+{b}*x})^{1/\\var{n}}$ i.e. up to terms in $x^2$.
", "tags": ["3 term Taylor series", "approximation", "approximations", "Calculus", "calculus", "checked2015", "function", "functions", "mas1601", "MAS1601", "series approximation", "series expansion", "Taylor series", "taylor series", "three term Taylor series"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "\n \t\t20/06/2012:
\n \t\tAdded tags.
\n \t\tAdded !collectNumbers to some rules so that polynomials presented in standard order.
\n \t\tAdded more explanation to prompt in question.
\n \t\tAlso included ! and . in forbidden strings together with message.
\n \t\t3/07/2012:
Added tags.
\n \t\t9/07/2012:
\n \t\tImproved display of first line of Advice.
\n \t\t", "licence": "Creative Commons Attribution 4.0 International", "description": "Find the first 3 terms in the Taylor series at $x=c$ for $f(x)=(a+bx)^{1/n}$ i.e. up to and including terms in $x^2$.
"}, "functions": {}, "advice": "The first three terms in the Taylor series are given by $\\simplify[all]{a+b(x-{c})+c(x-{c})^2}$ where $\\displaystyle a=f(\\var{c}),\\;\\;b=f'(\\var{c}),\\;\\;c=\\frac{f''(\\var{c})}{2}$
For this example,
\\[\\begin{eqnarray*} f'(x)&=&\\simplify[all,fractionNumbers]{{b}/{n}*({a-b*c}+{b}x)^(-{n-1}/{n})}\\\\ f''(x)&=&\\simplify[all,fractionNumbers]{-{b^2*(n-1)}/{n^2}*({a-b*c}+{b}x)^(-{2*n-1}/{n})} \\end{eqnarray*} \\]
and so we get:
\\[\\begin{eqnarray*} a&=&f(\\var{c})=\\simplify[all]{{a}^(1/{n})={tm0}}\\\\ b&=&f'(\\var{c})=\\simplify[all,fractionNumbers]{{tm1}/{a*n}}\\\\ c&=&\\frac{f''(\\var{c})}{2}=\\simplify[all,fractionNumbers]{{tm2}/{2*a^2*n^2}} \\end{eqnarray*}\\]
Hence the first three terms of the Taylor series are:
\\[\\simplify[all,fractionNumbers,!collectNumbers]{{tm0}+{tm1}/{a*n}*(x-{c})+{tm2}/{2*a^2*n^2}*(x-{c})^2} \\]
As $t\\rightarrow\\infty$ $x\\rightarrow\\var{incans11}$.
", "As $t\\rightarrow\\infty$ $x\\rightarrow\\var{incans12}$.
", "As $t\\rightarrow\\infty$ $x\\rightarrow\\var{incans13}$.
"], "displayColumns": 1, "prompt": "\\[\\dot{x}=f(x)=\\simplify{{r1}*x*(1-x/{a1})}\\]
\nwith initial condition $x(0)=\\var{x01}$ and $x\\geqslant 0$.
", "distractors": ["", "", "", ""], "shuffleChoices": true, "scripts": {}, "minMarks": 0, "type": "1_n_2", "maxMarks": 0, "showCorrectAnswer": true, "matrix": [1, 0, 0, 0], "marks": 0}, {"displayType": "radiogroup", "choices": ["As $t\\rightarrow\\infty$ $x\\rightarrow\\var{ans2}$.
", "As $t\\rightarrow\\infty$ $x\\rightarrow\\var{incans21}$.
", "As $t\\rightarrow\\infty$ $x\\rightarrow\\var{incans22}$.
", "As $t\\rightarrow\\infty$ $x\\rightarrow\\var{incans23}$.
"], "displayColumns": 1, "prompt": "\\[\\dot{x}=g(x)=\\simplify{{r2}*x*({a2}-x)*(x-{b2})}\\]
\nwith initial condition $x(0)=\\var{x02}$ and $x\\geqslant 0$.
", "distractors": ["", "", "", ""], "shuffleChoices": true, "scripts": {}, "minMarks": 0, "type": "1_n_2", "maxMarks": 0, "showCorrectAnswer": true, "matrix": [1, 0, 0, 0], "marks": 0}], "statement": "For the given one-dimensional dynamical systems and initial conditions below, determine the long-term behaviour of the solution $x(t)$ as $t\\rightarrow\\infty$.
", "tags": ["checked2015", "MAS2106"], "rulesets": {}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "Determine the long-term behaviour of 1D dynamical systems.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "It is helpful to draw the one-dimensional phase flow for systems of this type.
\na)
\nThe ODE in this part can be written in the general form
\n\\[\\dot{x}=f(x)=rx\\left(1-\\frac{x}{a}\\right),\\]
\nwhere $r=\\var{r1}$ and $a=\\var{a1}$.
\nThe system has fixed points at $x=0$ and $x=a$, and the function $f(x)$ is a parabola.
\nIf $r>0$, then the function (with phase flow as arrows) is as shown below.
\n \nIf $r<0$, then the function (with phase flow as arrows) is as shown below.
\n \nHence:
\nIf $r>0$, then $x_0=0$ is unstable and $x_0=a$ is stable.
\nIf $r<0$, then $x_0=0$ is stable and $x_0=a$ is unstable.
\nFor the particular values of $r$ and $a$ in this part $x\\rightarrow\\var{ans1}$ as $t\\rightarrow\\infty$.
\n \nb)
\nThe ODE in this part can be written in the general form
\n\\[\\dot{x}=g(x)=rx(a-x)(x-b),\\]
\nwhere $r=\\var{r2}$, $a=\\var{a2}$, and $b=\\var{b2}$.
\nThe system has fixed points at $x=0$, $x=a$, and $x=b$, and the function $g(x)$ is a cubic.
\nIf $r>0$, then the function (with phase flow as arrows) is as shown below.
\n \nIf $r<0$, then the function (with phase flow as arrows) is as shown below.
\n \nHence:
\nIf $r>0$, then $x_0=0$ and $x_0=b$ are stable, and $x_0=a$ is unstable.
\nIf $r<0$, then $x_0=0$ and $x_0=b$ are unstable, and $x_0=a$ is stable.
\nFor the particular values of $r$, $a$, and $b$ in this part $x\\rightarrow\\var{ans2}$ as $t\\rightarrow\\infty$.
"}, {"name": "Find fixed points of each of two dynamical systems", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variable_groups": [], "variables": {"ans3a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(if (additional,sqrt(c3/d3),0),3)", "description": "", "name": "ans3a"}, "ans3b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(if (additional,sqrt(a3/b3),0),3)", "description": "", "name": "ans3b"}, "anyxorxeq0": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if (disc=0,\"any $x$\",\"$x=0$\")", "description": "", "name": "anyxorxeq0"}, "disc": {"templateType": "anything", "group": "Ungrouped variables", "definition": "b2*c2-a2*d2", "description": "", "name": "disc"}, "additional": {"templateType": "anything", "group": "Ungrouped variables", "definition": "a3/b3>0 and c3/d3>0", "description": "", "name": "additional"}, "b1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "b1"}, "fixedpoints": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if (additional,\n \"which are both greater than $0$, so there are five fixed points\",\n \"both of which are not greater than $0$, so there is one fixed point\"\n )", "description": "", "name": "fixedpoints"}, "a1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "a1"}, "b2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "b2"}, "b3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "b3"}, "tol": {"templateType": "anything", "group": "Ungrouped variables", "definition": "0.001", "description": "", "name": "tol"}, "c2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "c2"}, "d2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "d2"}, "c1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "c1"}, "d3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "d3"}, "a3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "a3"}, "todp": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if (additional,\" to 3d.p.\",\".\")", "description": "", "name": "todp"}, "c3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "c3"}, "a2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "a2"}, "d1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "d1"}, "w2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "if (disc=0,1,0)", "description": "", "name": "w2"}}, "ungrouped_variables": ["anyxorxeq0", "todp", "fixedpoints", "additional", "ans3a", "ans3b", "b2", "a1", "a3", "disc", "w2", "tol", "b3", "c3", "c2", "c1", "d1", "d2", "d3", "a2", "b1"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "functions": {}, "showQuestionGroupNames": false, "parts": [{"scripts": {}, "gaps": [{"answer": "0", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "notallowed": {"message": "Do not enter decimals in your answer.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "0", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "notallowed": {"message": "Do not enter decimals in your answer.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "{c1}/{d1}", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"message": "Do not enter decimals in your answer.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "checkvariablenames": false, "type": "jme", "answersimplification": "all", "marks": 1, "vsetrangepoints": 5}, {"answer": "{a1}/{b1}", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"message": "Do not enter decimals in your answer.
", "showStrings": false, "partialCredit": 0, "strings": ["."]}, "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "checkvariablenames": false, "type": "jme", "answersimplification": "all", "marks": 1, "vsetrangepoints": 5}], "type": "gapfill", "prompt": "\\[\\begin{align}\\dot{x}&=x(\\simplify[std]{{a1}-{b1}*y}),\\\\\\dot{y}&=y(\\simplify[std]{{c1}-{d1}*x}).\\end{align}\\]
\nThere are two fixed points. Enter the fixed point with the smallest $x$-component in the first set of boxes. Do not enter decimals in your answers.
\nFixed point 1: $\\boldsymbol{x}_0=($[[0]]$,$[[1]]$)^\\mathsf{T}$.
\nFixed point 2: $\\boldsymbol{x}_0=($[[2]]$,$[[3]]$)^\\mathsf{T}$.
", "showCorrectAnswer": true, "marks": 0}, {"scripts": {}, "gaps": [{"answer": "0", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "0", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "ans3a+tol", "minValue": "ans3a-tol", "correctAnswerFraction": false, "marks": 1, "showPrecisionHint": false}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "ans3b+tol", "minValue": "ans3b-tol", "correctAnswerFraction": false, "marks": 1, "showPrecisionHint": false}], "type": "gapfill", "prompt": "\\[\\begin{align}\\dot{x}&=x(\\simplify[std]{{a3}-{b3}*y^2}),\\\\\\dot{y}&=y(\\simplify[std]{{c3}-{d3}*x^2}).\\end{align}\\]
\nOne fixed point always exists; enter it in the first set of boxes.
\nFixed point 1: $\\boldsymbol{x}_0=($[[0]]$,$[[1]]$)^\\mathsf{T}$.
\nFour additional fixed points can exist, depending on the coefficients in the system. For this particular set of coefficients, decide whether these additional fixed points exist. If they do, enter $x_0$ and $y_0$ in the boxes below. If no additional fixed points exist, enter the value $0$ for both components.
\nAdditional fixed points: $\\boldsymbol{x}_0=(\\pm$[[2]]$,\\pm$[[3]]$)^\\mathsf{T}$. (Enter your answers to 3d.p.)
", "showCorrectAnswer": true, "marks": 0}], "statement": "Find the fixed points $\\boldsymbol{x}_0=\\pmatrix{x_0,y_0}^\\mathsf{T}$ of the following two-dimensional dynamical systems $\\dot{\\boldsymbol{x}}=\\boldsymbol{f}(\\boldsymbol{x})$, where $\\boldsymbol{x}=\\pmatrix{x,y}^\\mathsf{T}$.
", "tags": ["checked2015", "MAS2106"], "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "Fixed points of 2D dynamical systems.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "The fixed points of a dynamical system
\n\\[\\begin{align}\\dot{x}&=f(x,y),\\\\\\dot{y}&=g(x,y),\\end{align}\\]
\nare given by $\\dot{x}=0$ and $\\dot{y}=0$, i.e. when $f(x,y)=0$ and $g(x,y)=0$.
\na)
\nWe have
\n\\[\\begin{align}\\dot{x}&=x(\\simplify[std]{{a1}-{b1}*y}),\\\\\\dot{y}&=y(\\simplify[std]{{c1}-{d1}*x}).\\end{align}\\]
\nFor $\\dot{x}=0$, either $x=0$ or $y=\\simplify{{a1}/{b1}}$.
\nIf $x=0$ then $\\dot{y}=0$ requires that $y=0$.
\nIf $y=\\simplify{{a1}/{b1}}$, then $\\dot{y}=0$ requires $x=\\simplify{{c1}/{d1}}$.
\nHence, there are two fixed points $\\boldsymbol{x}_0=\\pmatrix{0,0}^\\mathsf{T}$ and $\\boldsymbol{x}_0=\\pmatrix{\\simplify{{c1}/{d1}},\\simplify{{a1}/{b1}}}^\\mathsf{T}$.
\n \nb)
\nWe have
\n\\[\\begin{align}\\dot{x}&=x(\\simplify[std]{{a3}-{b3}*y^2}),\\\\\\dot{y}&=y(\\simplify[std]{{c3}-{d3}*x^2}).\\end{align}\\]
\nTo begin with, write the system in the general form
\n\\[\\begin{align}\\dot{x}&=x(a-by^2),\\\\\\dot{y}&=y(c-dx^2).\\end{align}\\]
\nIt is clear that $\\boldsymbol{x}_0=\\pmatrix{0,0}^\\mathsf{T}$ is always a fixed point.
\nFor $\\dot{x}=0$, then $x\\ne 0\\implies y=\\pm\\sqrt{\\frac{a}{b}}$, which is possible only if $\\frac{a}{b}>0$.
\nAssuming this is true, then $\\dot{y}=0$ requires $x=\\pm\\sqrt{\\frac{c}{d}}$, which is possible only if $\\frac{c}{d}>0$.
\nIf this is also true, then there are four additional fixed points $\\boldsymbol{x}_0=\\pmatrix{\\pm\\sqrt{\\frac{c}{d}},\\pm\\sqrt{\\frac{a}{b}}}^\\mathsf{T}$.
\nIn this case $\\frac{a}{b}=\\simplify{{a3}/{b3}}$ and $\\frac{c}{d}=\\simplify{{c3}/{d3}}$, {fixedpoints}.
\nThe answers in the boxes should therefore be $\\boldsymbol{x}_0=\\pmatrix{0,0}^\\mathsf{T}$ and $\\boldsymbol{x}_0=\\pmatrix{\\pm\\var{ans3a},\\pm\\var{ans3b}}^\\mathsf{T}${todp}
"}, {"name": "Find the fixed points of a 1D dynamical system", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variable_groups": [], "variables": {"tol": {"templateType": "anything", "group": "Ungrouped variables", "definition": "0.001", "description": "", "name": "tol"}, "r1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "name": "r1"}, "ans3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(0.5*(c1+sqrt(c1^2-4*d1)),3)", "description": "", "name": "ans3"}, "c1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "2*sqrt(d1)+random(1..9)", "description": "", "name": "c1"}, "ans1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "0", "description": "", "name": "ans1"}, "d1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(map(x^2,x,1..6))", "description": "", "name": "d1"}, "ans2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(0.5*(c1-sqrt(c1^2-4*d1)),3)", "description": "", "name": "ans2"}}, "ungrouped_variables": ["r1", "ans1", "ans2", "ans3", "tol", "c1", "d1"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "functions": {}, "showQuestionGroupNames": false, "parts": [{"scripts": {}, "gaps": [{"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "ans1+tol", "minValue": "ans1-tol", "correctAnswerFraction": false, "marks": 1, "showPrecisionHint": false}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "ans2+tol", "minValue": "ans2-tol", "correctAnswerFraction": false, "marks": 1, "showPrecisionHint": false}, {"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "ans3+tol", "minValue": "ans3-tol", "correctAnswerFraction": false, "marks": 1, "showPrecisionHint": false}], "type": "gapfill", "prompt": "\\[\\dot{x}=\\simplify{{-r1}*(x^3-{c1}*x^2+{d1}*x)}\\]
\nThere are three fixed points; enter them in ascending numerical order.
\nFixed point 1: $x_0=$ [[0]] (Enter your answer to 3d.p.)
\nFixed point 2: $x_0=$ [[1]] (Enter your answer to 3d.p.)
\nFixed point 3: $x_0=$ [[2]] (Enter your answer to 3d.p.)
", "showCorrectAnswer": true, "marks": 0}], "statement": "Find the fixed points $x_0$ of the following one-dimensional dynamical system $\\dot{x}=f(x)$.
", "tags": ["checked2015", "MAS2106"], "rulesets": {}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "Fixed points of a 1D dynamical system.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "The fixed points are given by $\\dot{x}=0$.
\nRewrite the system as
\n\\[\\dot{x}=\\simplify{{-r1}*x*(x^2-{c1}*x+{d1})},\\]
\nthen $\\dot{x}=0\\implies x=0$ (which is the first fixed point) or $\\simplify{x^2-{c1}*x+{d1}=0}$.
\nThen solve the quadratic equation for $x$ to determine the other two fixed points.
\nThe three fixed points are therefore $x_0=\\var{ans1}$, $x_0=\\var{ans2}$, and $x_0=\\var{ans3}$ to 3d.p.
"}, {"name": "Transform second order ODE into 2D and 3D dynamical systems", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variable_groups": [], "variables": {"b1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "b1"}, "c1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "c1"}, "a1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "a1"}}, "ungrouped_variables": ["a1", "c1", "b1"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "showQuestionGroupNames": false, "functions": {}, "parts": [{"scripts": {}, "gaps": [{"answer": "y", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "{-b1}*x-{a1}*y-{c1}*sin(t)", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}], "type": "gapfill", "showCorrectAnswer": true, "prompt": "By setting $y=\\dot{x}$, transform the differential equation into a 2-dimensional non-autonomous dynamical system of the form
\n\\[\\begin{align}\\dot{x}&=f(x,y,t),\\\\\\dot{y}&=g(x,y,t).\\end{align}\\]
\n$f(x,y,t)=$ [[0]].
\n$g(x,y,t)=$ [[1]].
", "marks": 0}, {"scripts": {}, "gaps": [{"answer": "y", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "{-b1}*x-{a1}*y-{c1}*sin(z)", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}, {"answer": "1", "vsetrange": [0, 1], "checkingaccuracy": 0.001, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": true, "checkingtype": "absdiff", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "marks": 1, "vsetrangepoints": 5}], "type": "gapfill", "showCorrectAnswer": true, "prompt": "By setting $y=\\dot{x}$ and $z=t$, transform the differential equation into a 3-dimensional autonomous dynamical system of the form
\n\\[\\begin{align}\\dot{x}&=f(x,y,z),\\\\\\dot{y}&=g(x,y,z),\\\\\\dot{z}&=h(x,y,z).\\end{align}\\]
\n$f(x,y,z)=$ [[0]].
\n$g(x,y,z)=$ [[1]].
\n$h(x,y,z)=$ [[2]].
", "marks": 0}], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "Consider the following second order differential equation:
\n\\[\\simplify[std]{ddot:x+{a1}*dot:x+{b1}*x+{c1}*sin(t)}=0,\\]
\nwhere $\\dot{x}$ denotes the derivative of $x$ with respect to $t$.
", "tags": ["checked2015", "MAS2106"], "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "Transform a second order ODE into 2D non-autonomous and 3D autonomous dynamical systems of ODEs.
"}, "advice": "a)
\nLet $y=\\dot{x}$, then $\\ddot{x}=\\dot{y}$, and the equation becomes
\n\\[\\simplify[std]{dot:y+{a1}*y+{b1}*x+{c1}*sin(t)}=0,\\]
\nand so
\n\\[\\begin{align}\\dot{x}&=y=f(x,y,t),\\\\\\dot{y}&=\\simplify[std]{{-b1}*x-{a1}*y-{c1}*sin(t)}=g(x,y,t).\\end{align}\\]
\n \nb)
\nNow also let $z=t$, and so $\\dot{z}=1$, then
\n\\[\\begin{align}\\dot{x}&=y=f(x,y,z),\\\\\\dot{y}&=\\simplify[std]{{-b1}*x-{a1}*y-{c1}*sin(z)}=g(x,y,z),\\\\\\dot{z}&=1=h(x,y,z).\\end{align}\\]
"}, {"name": "Transform second order ODE into 2D and 3D dynamical systems", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variable_groups": [], "variables": {"b1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "b1"}, "c1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "c1"}, "a1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)*sign(random(-1,1))", "description": "", "name": "a1"}, "n1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..5)", "description": "", "name": "n1"}}, "ungrouped_variables": ["a1", "n1", "c1", "b1"], "functions": {}, "parts": [{"customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "prompt": "\nBy setting $y=\\dot{x}$, transform the differential equation into a 2-dimensional non-autonomous dynamical system of the form
\n\\[\\begin{align}\\dot{x}&=f(x,y,t),\\\\\\dot{y}&=g(x,y,t).\\end{align}\\]
\n$f(x,y,t)=$ [[0]].
\n$g(x,y,t)=$ [[1]].
\n ", "unitTests": [], "showFeedbackIcon": true, "scripts": {}, "gaps": [{"answer": "y", "customMarkingAlgorithm": "", "vsetRangePoints": 5, "expectedVariableNames": [], "failureRate": 1, "checkVariableNames": false, "checkingType": "absdiff", "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "type": "jme", "unitTests": [], "showPreview": true, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacements": [], "marks": 1}, {"answer": "{-b1}*sin(x)-{a1}*y-{c1}*t^{n1}", "customMarkingAlgorithm": "", "vsetRangePoints": 5, "expectedVariableNames": [], "failureRate": 1, "checkVariableNames": false, "checkingType": "absdiff", "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "type": "jme", "unitTests": [], "showPreview": true, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacements": [], "marks": 1}], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "sortAnswers": false}, {"customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "prompt": "\nBy setting $y=\\dot{x}$ and $z=t$, transform the differential equation into a 3-dimensional autonomous dynamical system of the form
\n\\[\\begin{align}\\dot{x}&=f(x,y,z),\\\\\\dot{y}&=g(x,y,z),\\\\\\dot{z}&=h(x,y,z).\\end{align}\\]
\n$f(x,y,z)=$ [[0]].
\n$g(x,y,z)=$ [[1]].
\n$h(x,y,z)=$ [[2]].
\n ", "unitTests": [], "showFeedbackIcon": true, "scripts": {}, "gaps": [{"answer": "y", "customMarkingAlgorithm": "", "vsetRangePoints": 5, "expectedVariableNames": [], "failureRate": 1, "checkVariableNames": false, "checkingType": "absdiff", "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "type": "jme", "unitTests": [], "showPreview": true, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacements": [], "marks": 1}, {"answer": "{-b1}*sin(x)-{a1}*y-{c1}*z^{n1}", "customMarkingAlgorithm": "", "vsetRangePoints": 5, "expectedVariableNames": [], "failureRate": 1, "checkVariableNames": false, "checkingType": "absdiff", "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "type": "jme", "unitTests": [], "showPreview": true, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacements": [], "marks": 1}, {"answer": "1", "customMarkingAlgorithm": "", "vsetRangePoints": 5, "expectedVariableNames": [], "failureRate": 1, "checkVariableNames": false, "checkingType": "absdiff", "vsetRange": [0, 1], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "type": "jme", "unitTests": [], "showPreview": true, "checkingAccuracy": 0.001, "showCorrectAnswer": true, "variableReplacements": [], "marks": 1}], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "sortAnswers": false}], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "Consider the following second order differential equation:
\n\\[\\simplify[std]{ddot:x+{a1}*dot:x+{b1}*sin(x)+{c1}*t^{n1}}=0,\\]
\nwhere $\\dot{x}$ denotes the derivative of $x$ with respect to $t$.
", "tags": ["checked2015"], "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Transform a second order ODE into 2D non-autonomous and 3D autonomous dynamical systems of ODEs.
"}, "advice": "a)
\nLet $y=\\dot{x}$, then $\\ddot{x}=\\dot{y}$, and the equation becomes
\n\\[\\simplify[std]{dot:y+{a1}*y+{b1}*sin(x)+{c1}*t^{n1}}=0,\\]
\nand so
\n\\[\\begin{align}\\dot{x}&=y=f(x,y,t),\\\\\\dot{y}&=\\simplify[std]{{-b1}*sin(x)-{a1}*y-{c1}*t^{n1}}=g(x,y,t).\\end{align}\\]
\n \nb)
\nNow also let $z=t$, and so $\\dot{z}=1$, then
\n\\[\\begin{align}\\dot{x}&=y=f(x,y,z),\\\\\\dot{y}&=\\simplify[std]{{-b1}*sin(x)-{a1}*y-{c1}*z^{n1}}=g(x,y,z),\\\\\\dot{z}&=1=h(x,y,z).\\end{align}\\]
"}, {"name": "Classify fixed points of a 2D dynamical system", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "tags": ["checked2015"], "metadata": {"description": "Nature of fixed points of a 2D dynamical system.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Consider the two-dimensional dynamical system
\n\\[\\begin{align}\\dot{x}&=\\simplify[std]{{a}*x+{b}*y},\\\\\\dot{y}&=\\simplify[std]{{c}*x+{d}*y}.\\end{align}\\]
", "advice": "a)
\nThe elements of the matrix $\\mathsf{A}$ are the coefficients of $x$ and $y$ in the system of equations, hence
\n\\[\\mathsf{A}=\\pmatrix{\\var{a} & \\var{b}\\\\\\var{c} & \\var{d}}.\\]
\n\n
b)
\nThe trace $\\tau$ and determinant $\\delta$ of a matrix
\n\\[\\mathsf{A}=\\pmatrix{a & b\\\\c & d}\\]
\nare given by $\\tau=a+d$ and $\\delta=ad-bc$.
\nA straight forward substitution for $a=\\var{a}$, $b=\\var{b}$, $c=\\var{c}$, and $d=\\var{d}$ reveals that $\\tau=\\var{tau}$ and $\\delta=\\var{delta}$.
\n\n
c)
\nThe eigenvalues $\\lambda$ of a matrix $\\mathsf{A}$ can be calculated from the expression
\n\\[\\mathsf{A}\\boldsymbol{x}=\\lambda\\boldsymbol{x},\\]
\nwhich is equivalent to
\n\\[\\left(\\mathsf{A}-\\lambda\\mathsf{I}\\right)\\boldsymbol{x}=\\boldsymbol{0},\\]
\nwhere $\\mathsf{I}$ is the identity matrix.
\nThis linear system has a solution only when
\n\\[\\det\\left(\\mathsf{A}-\\lambda\\mathsf{I}\\right)=0,\\]
\ni.e. when $(a-\\lambda)(d-\\lambda)-bc=0$. This leads to $\\lambda^2-(a+d)\\lambda+(ad-bc)=0$, which is equivalent to
\n\\[\\lambda^2-\\tau\\lambda+\\delta=0.\\]
\nThe eigenvalues $\\lambda_1$ and $\\lambda_2$ of the matrix $\\mathsf{A}$ are therefore given by
\n\\[\\lambda_{1,2}=\\frac{\\tau\\pm\\sqrt{\\tau^2-4\\delta}}{2}.\\]
\nFollowing through this calculation for the specific values of $a$, $b$, $c$, and $d$ in this question leads to $\\lambda_1=\\var{lam1}$ and $\\lambda_2=\\var{lam2}$.
\n\n
d)
\nThe eigenvectors corresponding to the eigenvalues $\\lambda_1$ and $\\lambda_2$ can be found by solving the linear system of equations given by
\n\\[\\mathsf{A}\\boldsymbol{x}=\\lambda\\boldsymbol{x},\\]
\nor
\n\\[\\begin{align}ax+by&=\\lambda x,\\\\cx+dy&=\\lambda y,\\end{align}\\]
\nwhere $\\lambda$ is either $\\lambda_1$ or $\\lambda_2$.
\nBecause this is an eigenvalue problem, we can arbitrarily choose one of the eigenvector components to be $1$, the $x$-component in this case. The $y$-component can then be found from
\n\\[y=\\frac{x(\\lambda-a)}{b}\\quad\\text{or}\\quad y=\\frac{cx}{\\lambda-d},\\]
\nwith $x=1$. Both expressions are equivalent, and will lead to the same value for $\\lambda$.
\nMaking the necessary substitutions reveals that the $y$-component of the eigenvector corresponding to $\\lambda_1$ is $\\var{vec1}$, and the $y$-component of the eigenvector corresponding to $\\lambda_2$ is $\\var{vec2}$.
\n\n
e)
\nThe nature of the fixed point at the origin can be determined by examining the eigenvalues. If the eigenvalues are real, then the sign of each eigenvalue determines the nature of the fixed point. If the eigenvalues are complex, then the sign of the real part of each eigenvalue determines the nature of the fixed point.
\nIn this case, {naturetext}.
", "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "variables": {"natures": {"name": "natures", "group": "Ungrouped variables", "definition": "shuffle(['unstable node','stable node','saddle point','unstable spiral','stable spiral','centre'] except nature)", "description": "", "templateType": "anything"}, "vec2": {"name": "vec2", "group": "Ungrouped variables", "definition": "(lam2-a)/b", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-1,1)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "sign(b)*((tau-d)*d-delta)", "description": "", "templateType": "anything"}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "random(2..18#2 except abs(tau))", "description": "", "templateType": "anything"}, "delta": {"name": "delta", "group": "Ungrouped variables", "definition": "0.25*(tau^2+sign(random(-1,1))*r^2)", "description": "", "templateType": "anything"}, "tau": {"name": "tau", "group": "Ungrouped variables", "definition": "random([0]+repeat(2*random(0..9)*sign(random(-1,1)),5))", "description": "", "templateType": "anything"}, "lam2": {"name": "lam2", "group": "Ungrouped variables", "definition": "(tau-sqrt(disc))/2", "description": "", "templateType": "anything"}, "nature": {"name": "nature", "group": "Ungrouped variables", "definition": "if (im(lam1)=0 and im(lam2)=0,\n switch (\n lam1>0 and lam2>0, 'unstable node',\n lam1<0 and lam2<0, 'stable node',\n lam1>0 and lam2<0, 'saddle point'\n ),\n switch (\n re(lam1)>0, 'unstable spiral',\n re(lam1)<0, 'stable spiral',\n re(lam1)=0, 'centre'\n )\n )", "description": "", "templateType": "anything"}, "lam1": {"name": "lam1", "group": "Ungrouped variables", "definition": "(tau+sqrt(disc))/2", "description": "", "templateType": "anything"}, "disc": {"name": "disc", "group": "Ungrouped variables", "definition": "tau^2-4*delta", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "tau-d", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..15 except abs(tau))*sign(random(-1,1))", "description": "", "templateType": "anything"}, "vec1": {"name": "vec1", "group": "Ungrouped variables", "definition": "(lam1-a)/b", "description": "", "templateType": "anything"}, "naturetext": {"name": "naturetext", "group": "Ungrouped variables", "definition": "switch (\n nature='unstable node', \"because $\\\\lambda_1>0$ and $\\\\lambda_2>0$, the fixed point is an unstable node\",\n nature='stable node', \"because $\\\\lambda_1<0$ and $\\\\lambda_2<0$, the fixed point is a stable node\",\n nature='saddle point', \"because $\\\\lambda_1>0$ and $\\\\lambda_2<0$, the fixed point is a saddle point\",\n nature='unstable spiral', \"because $\\\\mathrm{Im}(\\\\lambda_1)\\\\ne 0$ and $\\\\mathrm{Im}(\\\\lambda_2)\\\\ne 0$, and $\\\\mathrm{Re}(\\\\lambda_1)=\\\\mathrm{Re}(\\\\lambda_2)>0$, the fixed point is an unstable spiral\",\n nature='stable spiral', \"because $\\\\mathrm{Im}(\\\\lambda_1)\\\\ne 0$ and $\\\\mathrm{Im}(\\\\lambda_2)\\\\ne 0$, and $\\\\mathrm{Re}(\\\\lambda_1)=\\\\mathrm{Re}(\\\\lambda_2)<0$, the fixed point is a stable spiral\",\n nature='centre', \"because $\\\\mathrm{Im}(\\\\lambda_1)\\\\ne 0$ and $\\\\mathrm{Im}(\\\\lambda_2)\\\\ne 0$, and $\\\\mathrm{Re}(\\\\lambda_1)=\\\\mathrm{Re}(\\\\lambda_2)=0$, the fixed point is a centre\",\n false\n )", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["a", "tau", "c", "b", "d", "nature", "vec1", "lam2", "lam1", "vec2", "naturetext", "delta", "r", "disc", "natures"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The system can be written in the form $\\dot{\\boldsymbol{x}}=\\mathsf{A}\\boldsymbol{x}$, where $\\boldsymbol{x}=\\pmatrix{x,y}^\\mathsf{T}$.
\nIdentify the components of the matrix $\\mathsf{A}$.
\n$\\mathsf{A}=$ [[0]]
", "gaps": [{"type": "matrix", "useCustomName": false, "customName": "", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "matrix([[a,b],[c,d]])", "correctAnswerFractions": false, "numRows": "2", "numColumns": "2", "allowResize": false, "tolerance": 0, "markPerCell": true, "allowFractions": true, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the trace $\\tau$, and the determinant $\\delta$ of the matrix $\\mathsf{A}$.
\nTrace $\\tau=$ [[0]].
\nDeterminant $\\delta=$ [[1]].
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Trace $\\tau$", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "tau", "maxValue": "tau", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Determinant $\\delta$", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "delta", "maxValue": "delta", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": "0", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the eigenvalues $\\lambda_1$ and $\\lambda_2$ of the matrix $\\mathsf{A}$.
\nIf the eigenvalues have zero imaginary part, enter the eigenvalue with the largest real part first. If the eigenvalues have non-zero imaginary part, enter the eigenvalue with the largest imaginary part first.
\n$\\lambda_1=$ [[0]]
\n$\\lambda_2=$ [[1]]
", "gaps": [{"type": "jme", "useCustomName": true, "customName": "$\\lambda_1$", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{lam1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}, {"type": "jme", "useCustomName": true, "customName": "$\\lambda_2$", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{lam2}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Assuming that the $x$-component of each eigenvector is $1$, find the $y$-components of the eigenvectors corresponding to the eigenvalues $\\lambda_1$ and $\\lambda_2$.
\n$y$-component of eigenvector corresponding to $\\lambda_1$: [[0]].
\n$y$-component of eigenvector corresponding to $\\lambda_2$: [[1]].
", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Corresponding to $\\lambda_1$", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{vec1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}, {"type": "jme", "useCustomName": true, "customName": "Corresponding to $\\lambda_2$", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{vec2}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Determine the nature of the fixed point at the origin.
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 1, "showCellAnswerState": true, "choices": ["{nature}
", "{natures[0]}
", "{natures[1]}
", "{natures[2]}
", "{natures[3]}
", "{natures[4]}
"], "matrix": [1, 0, 0, 0, 0, 0], "distractors": ["", "", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}], "name": "", "pickQuestions": 0}], "name": "Chaos theory", "showQuestionGroupNames": false, "type": "question", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Questions used in a university course titled \"Chaos theory\""}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "extensions": [], "custom_part_types": [], "resources": []}