// Numbas version: exam_results_page_options {"name": "Class Test Differential Equations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Class Test Differential Equations", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "statement": "

Given the boundary value problem:

\n

$ x \\frac{dy}{dx} + \\var{yCoeff}y =\\var{rhsX} , y(1) = 0$

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"Scenarios": {"name": "Scenarios", "group": "FIrstEquationVariables", "definition": "[\n [\"3\",\"(4x^2)-3x\",\"3/x\",\"4x-3\",\"x^3\",\"((4x^2)/5)- (3x/4)+ C/(x^3)\",\"y=((4x^2)/5)- (3x/4)-(1/(20x^3))\"],\n [\"2\",\"(5x^2)-6x\",\"2/x\",\"5x-6\",\"x^2\",\"((5x^2)/4)- (2x)+ C/(x^2)\",\"y=((5x^2)/4)- 2x+ 3/(4x^2)\"],\n [\"3\",\"(3x^3)-2x\",\"3/x\",\"3(x^2)-2\",\"x^3\",\"((3x^3)/6)- (2x/4)+ C/(x^3)\",\"y = ((x^3)/2)- (x/2)\"] \n]", "description": "

Scenarios go in the format [yCoeff, rhsX, p_x, q_x,u_x, general solution, boundarySolution]

", "templateType": "anything", "can_override": false}, "scenario": {"name": "scenario", "group": "FIrstEquationVariables", "definition": "random(scenarios)", "description": "", "templateType": "anything", "can_override": false}, "yCoeff": {"name": "yCoeff", "group": "FIrstEquationVariables", "definition": "expression(scenario[0])", "description": "", "templateType": "anything", "can_override": false}, "rhsX": {"name": "rhsX", "group": "FIrstEquationVariables", "definition": "expression(scenario[1])", "description": "", "templateType": "anything", "can_override": false}, "pX": {"name": "pX", "group": "FIrstEquationVariables", "definition": "expression(scenario[2])\n", "description": "", "templateType": "anything", "can_override": false}, "qX": {"name": "qX", "group": "FIrstEquationVariables", "definition": "expression(scenario[3])", "description": "", "templateType": "anything", "can_override": false}, "generalSolution": {"name": "generalSolution", "group": "FIrstEquationVariables", "definition": "expression(scenario[5])", "description": "", "templateType": "anything", "can_override": false}, "uX": {"name": "uX", "group": "FIrstEquationVariables", "definition": "expression(scenario[4])", "description": "", "templateType": "anything", "can_override": false}, "boundarySolution": {"name": "boundarySolution", "group": "FIrstEquationVariables", "definition": "expression(scenario[6])", "description": "", "templateType": "anything", "can_override": false}, "ComplexString": {"name": "ComplexString", "group": "ComplemenaryFunction", "definition": "\"\\\"y= e^(\u03b1x)(Acos\u03b2x+Bsin\u03b2x)\\\"\"", "description": "", "templateType": "string", "can_override": false}, "ComplexRoots": {"name": "ComplexRoots", "group": "ComplemenaryFunction", "definition": "expression(complexstring)", "description": "", "templateType": "anything", "can_override": false}, "RealEqualString": {"name": "RealEqualString", "group": "ComplemenaryFunction", "definition": "\"\\\"y=(A+Bx)e^(kx)\\\"\"", "description": "", "templateType": "string", "can_override": false}, "RealRoots": {"name": "RealRoots", "group": "ComplemenaryFunction", "definition": "expression(RealEqualString)", "description": "", "templateType": "anything", "can_override": false}, "SecOrderScenarios": {"name": "SecOrderScenarios", "group": "SecondOrderExamples", "definition": "[\n [\"d^2y/dx^2 + 6(dy/dx) +9y =10e^(2x)\",\"y =c_1 e^(-3x) + c_2 xe^(-3x) - (2e^(2x))/5\"],\n [\"d^2y/dx^2 - 6(dy/dx) + 5y =3\",\"y =c_1 e^(5x) + c_2 e^(x) + 3/5\"],\n [\"d^2y/dx^2 - 2(dy/dx) + y =e^-x\",\"y =c_1 e^(x) + c_2 xe^(x) - (e^(-x))/4\"]\n]", "description": "", "templateType": "anything", "can_override": false}, "secOrderScenario": {"name": "secOrderScenario", "group": "SecondOrderExamples", "definition": "random(secorderscenarios)", "description": "", "templateType": "anything", "can_override": false}, "secOrderQuestion": {"name": "secOrderQuestion", "group": "SecondOrderExamples", "definition": "expression(secorderscenario[0])", "description": "", "templateType": "anything", "can_override": false}, "secOrderSolution": {"name": "secOrderSolution", "group": "SecondOrderExamples", "definition": "expression(secorderscenario[1])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Unnamed group", "variables": []}, {"name": "FIrstEquationVariables", "variables": ["boundarySolution", "scenario", "Scenarios", "yCoeff", "uX", "rhsX", "pX", "qX", "generalSolution"]}, {"name": "ComplemenaryFunction", "variables": ["ComplexString", "ComplexRoots", "RealEqualString", "RealRoots"]}, {"name": "SecondOrderExamples", "variables": ["SecOrderScenarios", "secOrderScenario", "secOrderQuestion", "secOrderSolution"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Part a)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

State which are the dependent and independent variables:

\n

Dependent: [[0]]

\n

Independent: [[1]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Dependent Variable", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "y", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "y", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "Independent Variable", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "x", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the order of the equation? 

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": false, "choices": ["First ", "Second", "Third", "Fourth"], "matrix": ["0.5", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Is this a linear or non-linear equation?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": false, "choices": ["Linear", "Non-Linear"], "matrix": ["0.5", 0], "distractors": ["", ""]}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the standard form of the equation , identifying $P(x)$ and $Q(x)$

\n

$P(x) :$ [[1]]

\n

$Q(x):$ [[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Q(x)", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{qX}", "answerSimplification": "simplifyFractions,unitFactor, basic,unitPower,cancelFactors,cancelTerms", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"type": "jme", "useCustomName": true, "customName": "P(x)", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{pX}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

\n

Find the General Solution of the Equation

\n

[[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "General Solution", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{generalSolution}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the particular solution using the boundary condition:

\n

[[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "BoundarySolution", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{boundarySolution}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Write the general form of the complementary function if the:

\n

Roots of the auxiliary function are real and equal [[0]]

\n

Roots of the auxiliary function are complex  [[1]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Real and Equal", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{RealRoots}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"type": "jme", "useCustomName": true, "customName": "Complex Roots", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{ComplexRoots}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the general solution of the differential equation:

\n

$ \\var{secOrderQuestion}$

\n

[[0]]

\n

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Second Order ", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{secOrderSolution}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Darragh Lydon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13908/"}]}]}], "contributors": [{"name": "Darragh Lydon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13908/"}]}