// Numbas version: exam_results_page_options {"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}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"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"], "name": "Transform second order ODE into 2D and 3D dynamical systems", "functions": {}, "parts": [{"customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "prompt": "\n

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]].

\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": "\n

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]].

\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,\\]

\n

where $\\dot{x}$ denotes the derivative of $x$ with respect to $t$.

", "tags": ["checked2015"], "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "preamble": {"css": "", "js": ""}, "type": "question", "extensions": [], "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)

\n

Let $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,\\]

\n

and 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

\n

b)

\n

Now 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}\\]

", "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/"}]}]}], "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/"}]}