// Numbas version: exam_results_page_options {"name": "3: Quadratic Equations - Temperature vs. Depth", "extensions": [], "custom_part_types": [], "resources": [["question-resources/2016-08-19.png", "/srv/numbas/media/question-resources/2016-08-19.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Solve quadratic equations using formula.

"}, "statement": "

\n

\n

\n

The temperature within the Earth's interior increases with depth to the centre of the earth (with radius, r).

\n

To find the temperature at a certain depth within the interior of the Earth we can use the following equation:

\n

$T=(-8.225\\times10^{-5})z^2+1.05z+1110$

\n

where;
$T$ = Temperature ($^\\circ{C}$) 
$z$ = Depth ($km$)

\n

This equation gives a quadratic graph showing the relationship between temperature and depth.

\n

You should obtain two values for depth for each temperature because the depth is relative to which side of the earth you are considering the surface to be, as the earth is symmetrical. This is illustrated in the above figure, where X and Y are two values for depth for one given point at which temperature = $T^\\circ{C}$.

", "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "-0.00008225", "templateType": "anything", "description": ""}, "t3": {"name": "t3", "group": "temp", "definition": "random(2800..3000#1)", "templateType": "randrange", "description": ""}, "c3": {"name": "c3", "group": "Ungrouped variables", "definition": "1110-{t3}", "templateType": "anything", "description": ""}, "z2a": {"name": "z2a", "group": "formula", "definition": "precround((-{b}-(sqrt({b}^2-(4*{a}*{c2}))))/(2*{a}),0)", "templateType": "anything", "description": ""}, "z3": {"name": "z3", "group": "formula", "definition": "precround((-{b}+(sqrt({b}^2-(4*{a}*{c3}))))/(2*{a}),0)", "templateType": "anything", "description": ""}, "t2": {"name": "t2", "group": "temp", "definition": "random(1180..2500#1)", "templateType": "randrange", "description": ""}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "1110-{t1}", "templateType": "anything", "description": ""}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "1.05", "templateType": "anything", "description": ""}, "z1a": {"name": "z1a", "group": "formula", "definition": "precround((-{b}-(sqrt({b}^2-(4*{a}*{c}))))/(2*{a}),0)", "templateType": "anything", "description": ""}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "1110-{t2}", "templateType": "anything", "description": ""}, "z1": {"name": "z1", "group": "formula", "definition": "precround((-{b}+(sqrt({b}^2-(4*{a}*{c}))))/(2*{a}),0)", "templateType": "anything", "description": ""}, "z3a": {"name": "z3a", "group": "formula", "definition": "precround((-{b}-(sqrt({b}^2-(4*{a}*{c3}))))/(2*{a}),0)", "templateType": "anything", "description": ""}, "z2": {"name": "z2", "group": "formula", "definition": "precround((-{b}+(sqrt({b}^2-(4*{a}*{c2}))))/(2*{a}),0)", "templateType": "anything", "description": ""}, "depth": {"name": "depth", "group": "Ungrouped variables", "definition": "(random(2000..3000))", "templateType": "anything", "description": ""}, "t1": {"name": "t1", "group": "temp", "definition": "random(1120..1175#1)", "templateType": "randrange", "description": ""}, "constant1": {"name": "constant1", "group": "temp", "definition": "1110-t1", "templateType": "anything", "description": ""}}, "parts": [{"showCorrectAnswer": true, "showFeedbackIcon": true, "prompt": "

Use the above equation to complete the statements below.

\n

Give your answers as a whole number.

\n

\n

$a)$ At $\\var{t1}^\\circ{C}$, the depth is [[0]]$km$ away from the closest surface and [[1]]$km$ away from the furthest surface

\n

$b)$ At $\\var{t2}^\\circ{C}$, the depth is [[2]]$km$ away from the closest surface and [[3]]$km$ away from the furthest surface

\n

$c)$ At $\\var{t3}^\\circ{C}$, the depth is  [[4]]$km$ away from the closest surface and [[5]]$km$ away from the furthest surface.

\n

$d)$ At [[6]]$^\\circ{C}$, the depth is $\\var{depth}km$ away from the surface.

", "type": "gapfill", "steps": [{"showCorrectAnswer": true, "showFeedbackIcon": true, "prompt": "

To find depth:

\n

To work out the depth at which temperature = $T^\\circ{C}$, you must firstly substitute in the value for $T^\\circ{C}$ and rearrange the equation given in the question statement to give an equation in the quadratic form $az^2+bz+c=0$.

\n\n

Finally, you can substitute your coefficients into the quadratic formula:
$z=\\frac{-b\\pm\\sqrt{b^2-(4ac)}}{2a}$, which will give you two values for depth, $z$. 

\n


To find temperature:

\n

From the original equation given in the question statement, substitute the value given for depth, and solve for $T$.

", "type": "information", "marks": 0, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}], "marks": 0, "scripts": {}, "gaps": [{"showPrecisionHint": false, "showFeedbackIcon": true, "type": "numberentry", "marks": 1, "minValue": "z1", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "maxValue": "z1", "precisionType": "dp", "showCorrectAnswer": true, "scripts": {}, "precisionPartialCredit": 0, "precision": "0", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"showPrecisionHint": false, "showFeedbackIcon": true, "type": "numberentry", "marks": 1, "minValue": "z1a", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "maxValue": "z1a", "precisionType": "dp", "showCorrectAnswer": true, "scripts": {}, "precisionPartialCredit": 0, "precision": "0", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"showPrecisionHint": false, "showFeedbackIcon": true, "type": "numberentry", "marks": 1, "minValue": "z2", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "maxValue": "z2", "precisionType": "dp", "showCorrectAnswer": true, "scripts": {}, "precisionPartialCredit": 0, "precision": "0", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"showPrecisionHint": false, "showFeedbackIcon": true, "type": "numberentry", "marks": 1, "minValue": "z2a", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "maxValue": "z2a", "precisionType": "dp", "showCorrectAnswer": true, "scripts": {}, "precisionPartialCredit": 0, "precision": "0", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"showPrecisionHint": false, "showFeedbackIcon": true, "type": "numberentry", "marks": 1, "minValue": "z3", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "maxValue": "z3", "precisionType": "dp", "showCorrectAnswer": true, "scripts": {}, "precisionPartialCredit": 0, "precision": "0", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"showPrecisionHint": false, "showFeedbackIcon": true, "type": "numberentry", "marks": 1, "minValue": "z3a", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "maxValue": "z3a", "precisionType": "dp", "showCorrectAnswer": true, "scripts": {}, "precisionPartialCredit": 0, "precision": "0", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}, {"showPrecisionHint": false, "showFeedbackIcon": true, "type": "numberentry", "marks": 1, "minValue": "((-0.00008225*depth^2) + (1.05 * depth) +1110)", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "maxValue": "((-0.00008225*depth^2) + (1.05 * depth) +1110)", "precisionType": "dp", "showCorrectAnswer": true, "scripts": {}, "precisionPartialCredit": 0, "precision": 0, "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false}], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "stepsPenalty": 0}], "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [{"name": "temp", "variables": ["t1", "t2", "t3", "constant1"]}, {"name": "formula", "variables": ["z1", "z1a", "z2", "z2a", "z3", "z3a"]}], "rulesets": {}, "functions": {}, "name": "3: Quadratic Equations - Temperature vs. Depth", "ungrouped_variables": ["b", "a", "c", "c2", "c3", "depth"], "preamble": {"js": "", "css": ""}, "advice": "

To find depth:

\n

To work out the depth at which temperature = $T^\\circ{C}$, you must firstly substitute in the value for $T^\\circ{C}$, $\\var{t1}^\\circ{C}$, and rearrange the equation given in the question statement to give an equation in the quadratic form $az^2+bz+c=0$.

\n

$(-8.225\\times10^{-5})z^2+1.05z+\\var{constant1}=0$

\n

\n

Then, you can substitute your coefficients into the quadratic formula:
$z=\\frac{-b\\pm\\sqrt{b^2-(4ac)}}{2a}$, which will give you two values for depth, $z$. 

\n

$z=\\frac{-1.05\\pm\\sqrt{1.05^2-(4\\times({-8.225}\\times10^{-5})\\times(\\var{constant1}))}}{2\\times({-8.225}\\times10^{-5})}$, which will give you two values for depth, $z$. 

\n


To find temperature:

\n

From the original equation given in the question statement, substitute the value given for depth, and solve for $T$.

", "extensions": [], "tags": [], "type": "question", "contributors": [{"name": "Sarah Turner", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/881/"}]}]}], "contributors": [{"name": "Sarah Turner", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/881/"}]}