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

Finding the stationary point (maximum) of a quadratic equation in a contextualised problem. 

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

The temperature, $T$°C of the air at height $z$ metres inside a blast furnace is modelled by the equation:

\n

\\[ T=\\var{a}z^2+\\var{b}z+\\var{c} \\]

", "advice": "

a) We first need to differentiate the formula of the curve in respect of $z$.

\n

\\[ \\frac{dT}{dz} = 2 \\times (\\var{a}) z+ \\var{b}+0 \\\\ \\implies \\frac{dT}{dz}= \\simplify{2*{a}}z+\\var{b} \\]

\n

Now to find the gradient at the point where $z=\\var{z_1}$ we need to substitute the value in the equation we found in the previous step.

\n

\\[ \\frac{dT}{dz}=\\simplify{2*{a}}\\times \\var{z_1} +\\var{b} \\\\ \\implies \\frac{dT}{dz}= \\simplify{2*{a}*{z_1}}+\\var{b} \\\\ \\implies \\frac{dT}{dz}= \\simplify{2*{a}*{z_1}+{b}} \\]

\n

b) The height at which the temperature reaches the maximum can be calculated by solving the equation: 

\n

\\[ \\frac{dT}{dz}=0\\]

\n

Therefore:

\n

\\[ \\simplify{2*{a}}z+\\var{b}=0 \\\\ \\implies \\simplify{2*{a}}z= - \\var{b} \\\\ \\implies z = \\frac{-\\var{b}}{\\simplify{2*{a}}} \\\\ \\implies z= \\simplify{{-{b}}/{2*{a}}} \\\\ z=\\var{ans_b_rounded} \\text{m (2.d.p.)} \\]

\n

c) Now that we know that $z=\\var{ans_b_rounded}$m is the height that results in the maximum temperature, we can substitute this value in the original equation of the curve and calculate the maximum temperature. 

\n

\\[ T_{max}= \\var{a} \\times \\var{ans_b_rounded}^2 + \\var{b} \\times \\var{ans_b_rounded} + \\var{c} \\\\ \\implies T_{max}=\\var{a} \\times \\var{ans_b_rounded^2}+ \\var{b} \\times \\var{ans_b_rounded}+\\var{c} \\\\ \\implies T_{max}=\\simplify{{a*ans_b_rounded^2}}+ \\simplify{{b*ans_b_rounded}}+\\var{c} \\\\ \\implies T_{max}=\\simplify{{a*ans_b_rounded^2+b*ans_b_rounded+c}}\\]

\n

So, if rounded,  $T_{max}=\\var{ans_c_rounded}$.

\n

 

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Problem posing", "definition": "-random ( 0.5 .. 1.55 #0.05 except 1)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Problem posing", "definition": "random(35 ..45)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Problem posing", "definition": "Random(1200..1800)", "description": "", "templateType": "anything", "can_override": false}, "z_1": {"name": "z_1", "group": "Problem posing", "definition": "random ([2, 3, 4, 5, 10, 12, 15, 20, 22, 25, 30, 32, 35])", "description": "", "templateType": "anything", "can_override": false}, "ans_a": {"name": "ans_a", "group": "Answers", "definition": "2*{a}*{z_1}+{b}", "description": "", "templateType": "anything", "can_override": false}, "ans_b": {"name": "ans_b", "group": "Answers", "definition": "-{b}/(2*{a})", "description": "", "templateType": "anything", "can_override": false}, "ans_c": {"name": "ans_c", "group": "Answers", "definition": "{a}*{ans_b_rounded}^2+{b}*{ans_b_rounded}+{c}", "description": "", "templateType": "anything", "can_override": true}, "ans_b_rounded": {"name": "ans_b_rounded", "group": "Answers", "definition": "precround({ans_b},2)", "description": "", "templateType": "anything", "can_override": false}, "ans_c_rounded": {"name": "ans_c_rounded", "group": "Answers", "definition": "precround({ans_c},2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "1600 <= ans_c <= 2000", "maxRuns": "100"}, "ungrouped_variables": [], "variable_groups": [{"name": "Problem posing", "variables": ["a", "b", "c", "z_1"]}, {"name": "Answers", "variables": ["ans_a", "ans_b", "ans_c", "ans_b_rounded", "ans_c_rounded"]}], "functions": {"": {"parameters": [], "type": "anything", "language": "jme", "definition": ""}}, "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": "

Find the rate of decrease of the temperature with height at the point where $z=\\var{z_1}$.

\n

When $z=\\var{z_1}$ then $\\frac{dT}{dz}=$ [[0]].

", "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": "{ans_a}", "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": "

Find the height at which the temperature is highest.

\n

The temperature is highest when $z=$ [[0]] m.

\n

Give your answer rounded to 2 decimal places, if needed.

\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": "{ans_b_rounded}", "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": "

Find the maximum temperature in the blast furnace.

\n

The maximum temperarure is $T_{max}=$[[0]]$^\\circ C$.

\n

Give your answer rounded to 2 decimal places, if needed.

\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": "{ans_c_rounded}", "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/"}]}