// Numbas version: exam_results_page_options {"name": "Harry's copy of Separable first order ODE with boundary condition", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"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)$.

", "question_groups": [{"pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": [], "name": ""}], "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}}}$

\n

Using the condition $x(0)=0$ gives $\\displaystyle{A^{1/\\var{n+1}}=\\var{b} \\Rightarrow A=\\var{b^(n+1)}}$

\n

Hence the solution is:
\\[x(t) = \\simplify[std]{({(b ^ (n + 1))} + ({(a * (n + 1))} * t)) ^ (1 / {(n + 1)}) - {b}}\\]

", "type": "question", "ungrouped_variables": ["a", "b", "n"], "functions": {}, "variable_groups": [], "tags": ["1st order differential equation", "Calculus", "checked2015", "differential equation", "differential equation ", "first order differential equation", "growth", "initial conditions", "MAS1603", "modelling", "ode", "separable variables", "separation of variables"], "variablesTest": {"maxRuns": 100, "condition": ""}, "name": "Harry's copy of Separable first order ODE with boundary condition", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "parts": [{"marks": 0, "type": "gapfill", "prompt": "

The thickness at time $t$ is given by:

\n

$x(t)=\\;\\;$[[0]]

\n

Input all numbers as integers or fractions – not as decimals.

", "gaps": [{"marks": 3, "vsetrangepoints": 5, "notallowed": {"showStrings": false, "partialCredit": 0, "message": "

Input all numbers as integers or fractions.

", "strings": ["."]}, "showpreview": true, "type": "jme", "answer": "({(b ^ (n + 1))} + ({(a * (n + 1))} * t)) ^ (1 / {(n + 1)}) - {b}", "checkingtype": "absdiff", "checkingaccuracy": 0.0001, "scripts": {}, "showCorrectAnswer": true, "answersimplification": "std", "vsetrange": [0, 1], "expectedvariablenames": [], "checkvariablenames": false}], "scripts": {}, "showCorrectAnswer": true}], "variables": {"b": {"definition": "random(1..9)", "name": "b", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "a": {"definition": "random(1..9)", "name": "a", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "n": {"definition": "random(1..4)", "name": "n", "group": "Ungrouped variables", "templateType": "anything", "description": ""}}, "preamble": {"css": "", "js": ""}, "showQuestionGroupNames": false, "metadata": {"notes": "

29/06/2012:

\n

Added and edited tags.

\n

Checked answer. Checking range OK as we are taking roots of positive numbers, given the choice of ranges for the variables.

\n

18/07/2012:

\n

Added description.

\n

23/07/2012:

\n

Added tags.

\n

The arbitrary constant A should be relabelled as A_1 in the Advice section part way though the solution.

\n

Question appears to be working correctly.

\n

 

", "description": "

Solve for $x(t)$, $\\displaystyle\\frac{dx}{dt}=\\frac{a}{(x+b)^n},\\;x(0)=0$

", "licence": "Creative Commons Attribution 4.0 International"}, "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}]}], "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}