// Numbas version: exam_results_page_options {"name": "1st Order ODEs - separation 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "1st Order ODEs - separation 1", "tags": [], "metadata": {"description": "
Separable 1st order ODE with exponentials
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Separation and integration:
\nFind the solution of:
\\[\\dfrac{\\text{d}y}{\\text{d}x}={e^\\simplify{x/{A} + {B}*y}}\\]
The function needs to be split up using \\(e^{a+b}=e^ae^b\\), before it can be separated and integrated:
\n$\\displaystyle \\frac{\\text{d}y}{\\text{d}x} = e^\\simplify{ x/{A} + {B} y} = e^\\simplify{x/{A}} e^\\simplify{{B}y}$
\nSeparating: $\\displaystyle e^\\simplify{{-B} y}\\text{d}y =e^\\simplify{x/{A}}\\text{d}x$
\nIntegrating both sides: $\\simplify{-{1}/{B} e}^\\simplify{{-B}y} = \\simplify{{A}}e^\\simplify{x/{A}} + C$
\nRearranging: $ e^\\simplify{{-B}y} = \\simplify{-{B}*{A}e}^\\simplify{x/{A}} + c$
\nTaking logs: $ {\\var{-B}y} =\\ln\\left(\\simplify{-{B}*{A}e}^\\simplify{x/{A}} + c\\right)$
\nRearranging again: $y=\\simplify{-1/{B}}\\ln\\left(\\simplify{-{B}*{A}e}^\\simplify{x/{A}} + c\\right)$
\n\n\n", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "extensions": [], "variables": {"A": {"name": "A", "group": "Ungrouped variables", "definition": "random(-4..4 except 0)", "description": "\n", "templateType": "anything"}, "B": {"name": "B", "group": "Ungrouped variables", "definition": "random(-4..4 except 0)", "description": "\n", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["A", "B"], "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": "Solution is:
\n$y=\\;\\;$[[0]]
\nInput all numbers as integers or fractions – not as decimals.
\nThe constant of integration should be entered simply as $c$ (ignore muliplying factors).
\n\n\n\n\n\n", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "-{1/B}*ln( -({B}*{A}) * e ^ (x/{A}) + c)", "answerSimplification": "std", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0.5, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "notallowed": {"strings": ["."], "showStrings": false, "partialCredit": 0, "message": "Input all numbers as integers or fractions. The constant of integration should be entered simply as $c$ (ignore muliplying factors).
\n"}, "valuegenerators": [{"name": "c", "value": ""}, {"name": "x", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Nick McCullen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/953/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Nick McCullen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/953/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}