// Numbas version: exam_results_page_options {"name": "Integration: Polynomial Functions - Population Growth", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Integration: Polynomial Functions - Population Growth", "tags": [], "metadata": {"description": "

Integrating a polynomial functions which describe the rate of change of a population over time to find and use an equation that describes the total population according to time.

", "licence": "None specified"}, "statement": "

The growth rate, $r$ individuals per year, of a population in year $t$ after the start of observation is given by
$\\simplify {r=2*{a}t+{b}}$

", "advice": "

a) The function for the growth rate, $r$,  is the derivative of the function that describes the total population, $n$, in respect of time, $t$. So, to find an expression of the function $n$ we need to integrate $r$ in respect of $t$.

\n

Remember, indefinite integration (integration without limits) is the reverse of differentiation.

\n

Therefore, 

\n

\\[ \\begin{split} \\simplify{n=int({2*a}*t+{b},t)} &\\,= \\simplify{ {2*a}/2*t^2+{b}*t+c} \\\\ &\\,= \\simplify{{a}*t^2+{b}*t+c}  \\end{split} \\]

To find the exact expression that describes the total population we need to find the value of $c$. To do so, we use the fact that when $t=0$ the total population is $\\var{c}$. 

\n

\\[ \\begin{split} \\simplify[!all]{{a}*0^2+{b}*0+c} &= \\var{c} \\\\ c&= \\var{c} \\end{split} \\]

\n

Thus, the expression that describes the total population in year $t$ is:

\n

\\[ n= \\simplify{{a}*t^2+{b}*t+{c}} \\]

\n

b) The function $n= \\simplify{{a}*t^2+{b}*t+{c}}$ gives us the total population at year t. Thus, to find the population at year $\\var{t_1}$, I need to substitute the value $t=\\var{t_1}$ in the formula.

\n

\\[ \\begin{split} n&= \\simplify[!all]{{a}*{t_1}^2+{b}*{t_1}+{c}} \\\\ &= \\simplify[!all]{{a}*{t_1^2}+{b}*{t_1}+{c}} \\\\ &= \\simplify[!all]{{a*t_1^2}+{b*t_1}+{c}}\\\\ &=\\var{ansB} \\end{split} \\] 

\n

Therefore, when $t=\\var{t_1}$, the population is $n=\\var{ansB}$.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(0.25..1.5 #0.25)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random (20..50)", "description": "", "templateType": "anything", "can_override": false}, "t_1": {"name": "t_1", "group": "Ungrouped variables", "definition": "random(5..20 #5)", "description": "", "templateType": "anything", "can_override": false}, "ansB": {"name": "ansB", "group": "Ungrouped variables", "definition": "a*t_1^2+b*t_1+c", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "ansb=ceil(ansb)", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "t_1", "ansB"], "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": "

If there are $\\var{c}$ individuals in the population in year $t=0$, find an expression for the total population, $n$ individuals, in year $t$.

\n

$n=$[[0]]

\n

Give your answer in the form $n=at^2+bt+c$.

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a}t^2+{b}t+{c}", "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": "t", "value": ""}]}], "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": "

Use your expression to find the total population at year $t=\\var{t_1}$.

\n

When $t=\\var{t_1}$, $n=$[[0]]

\n

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{ansB}", "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": "Evi Papadaki", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18113/"}]}]}], "contributors": [{"name": "Evi Papadaki", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18113/"}]}