// Numbas version: exam_results_page_options {"name": "Logarithms and Exponentials: Applications 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Logarithms and Exponentials: Applications 2", "tags": [], "metadata": {"description": "

Given an equation of the form $T=T_0 e^{kt}$ to model temperature, calculate the temperature after a given time, the time taken to reach a certain temperature, and the time taken for the temperature to double.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

The temperature $T$, in degrees $C$, of a chemical reaction is given by \\[ T = \\var{temp0}e^{\\var{k}t}, \\quad t\\geq0\\] where $t$ is time, measured in seconds.

", "advice": "

Part a:

\n

To calculate the temperature at $\\var{time1}$ seconds, we use the formula given with $t=\\var{time1}$:

\n

\\[ \\begin{split} T &\\,= \\var{temp0}\\,e^{\\var{k}\\times\\var{time1}} \\\\ &\\,= \\var{temp1}\\, ^\\circ C \\text{ (2 d.p.)} \\end{split} \\]

\n

\n

Part b:

\n

To find how long it takes for the temperature to reach $\\var{temp2}\\, ^\\circ C$, we use the formula given with $T=\\var{temp2}$, and solve for $t$:

\n

\\[ \\begin{split} \\var{temp0} \\, e^{\\var{k}t} &\\,= \\var{temp2} \\\\ e^{\\var{k}t} &\\,= \\simplify{{temp2/temp0}} \\\\ \\var{k} t &\\,= \\ln \\left(\\simplify[fractionNumbers]{{temp2/temp0}} \\right)  \\\\ t &\\,=\\frac{\\ln \\left(\\simplify[fractionNumbers]{{temp2/temp0}}\\right)}{\\var{k}} \\\\ t &\\,= \\var{time2} \\text{ seconds (2 d.p.)}.  \\end{split} \\]

\n

\n

Part c:

\n

To calculate the time taken for the temperature to double from the initial temperature, we want to first check the initial temperature by setting $t=0$, which gives $T_0 = \\var{temp0} \\,^\\circ C$.

\n

Therefore, we want to find the time taken for the temperature to reach $\\var{2*temp0} \\,^\\circ C$:

\n

\\[ \\begin{split} \\var{temp0} \\, e^{\\var{k}t} &\\,= \\var{2*temp0} \\\\ e^{\\var{k}t} &\\,= 2 \\\\ \\var{k} t &\\,= \\ln (2)  \\\\ t &\\,=\\frac{\\ln (2)}{\\var{k}} \\\\ t &\\,= \\var{timedub} \\text{ seconds (2 d.p.)}.  \\end{split} \\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"temp0": {"name": "temp0", "group": "Ungrouped variables", "definition": "random(50..80 #10)", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(3..7)/100", "description": "", "templateType": "anything", "can_override": false}, "time1": {"name": "time1", "group": "Ungrouped variables", "definition": "random(10..20)", "description": "", "templateType": "anything", "can_override": false}, "temp1": {"name": "temp1", "group": "Ungrouped variables", "definition": "precround(temp0*e^(k*time1),2)", "description": "", "templateType": "anything", "can_override": false}, "temp2": {"name": "temp2", "group": "Ungrouped variables", "definition": "random(150..200 #10)", "description": "", "templateType": "anything", "can_override": false}, "time2": {"name": "time2", "group": "Ungrouped variables", "definition": "precround((1/k)*ln(temp2/temp0),2)", "description": "", "templateType": "anything", "can_override": false}, "timedub": {"name": "timedub", "group": "Ungrouped variables", "definition": "precround((1/k)ln(2),2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["temp0", "k", "time1", "temp1", "temp2", "time2", "timedub"], "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": "

What is the temperature at $\\var{time1}$ seconds?

\n

[[0]] $^\\circ \\,C$

\n

(Give your answer to 2 decimal places where necessary)

\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": "{temp1}", "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": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

How long does it take for the temperature to reach $\\var{temp2} ^\\circ C$?

\n

[[0]] seconds 

\n

(Give your answer to 2 decimal places where necessary)

", "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": "{time2}", "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": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the time taken for the temperature to reach double the initial temperature.

\n

[[0]] seconds. 

\n

(Give you answer to 2 decimal places where necessary)

", "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": "{timedub}", "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": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}