// Numbas version: exam_results_page_options {"name": "Richard's copy of 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": [{"variable_groups": [{"name": "temp", "variables": ["t1", "t2", "t3", "constant1"]}, {"name": "formula", "variables": ["z1", "z1a", "z2", "z2a", "z3", "z3a"]}], "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}$.

", "parts": [{"marks": 0, "type": "gapfill", "showFeedbackIcon": true, "stepsPenalty": 0, "gaps": [{"precision": "0", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "strictPrecision": false, "correctAnswerFraction": false, "scripts": {}, "maxValue": "z1", "precisionMessage": "You have not given your answer to the correct precision.", "type": "numberentry", "showCorrectAnswer": true, "precisionPartialCredit": 0, "marks": 1, "minValue": "z1", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "variableReplacements": [], "showPrecisionHint": false}, {"precision": "0", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "strictPrecision": true, "correctAnswerFraction": false, "scripts": {}, "maxValue": "z1a", "precisionMessage": "You have not given your answer to the correct precision.", "type": "numberentry", "showCorrectAnswer": true, "precisionPartialCredit": 0, "marks": 1, "minValue": "z1a", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "variableReplacements": [], "showPrecisionHint": false}, {"precision": "0", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "strictPrecision": true, "correctAnswerFraction": false, "scripts": {}, "maxValue": "z2", "precisionMessage": "You have not given your answer to the correct precision.", "type": "numberentry", "showCorrectAnswer": true, "precisionPartialCredit": 0, "marks": 1, "minValue": "z2", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "variableReplacements": [], "showPrecisionHint": false}, {"precision": "0", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "strictPrecision": true, "correctAnswerFraction": false, "scripts": {}, "maxValue": "z2a", "precisionMessage": "You have not given your answer to the correct precision.", "type": "numberentry", "showCorrectAnswer": true, "precisionPartialCredit": 0, "marks": 1, "minValue": "z2a", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "variableReplacements": [], "showPrecisionHint": false}, {"precision": "0", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "strictPrecision": true, "correctAnswerFraction": false, "scripts": {}, "maxValue": "z3", "precisionMessage": "You have not given your answer to the correct precision.", "type": "numberentry", "showCorrectAnswer": true, "precisionPartialCredit": 0, "marks": 1, "minValue": "z3", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "variableReplacements": [], "showPrecisionHint": false}, {"precision": "0", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "strictPrecision": true, "correctAnswerFraction": false, "scripts": {}, "maxValue": "z3a", "precisionMessage": "You have not given your answer to the correct precision.", "type": "numberentry", "showCorrectAnswer": true, "precisionPartialCredit": 0, "marks": 1, "minValue": "z3a", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "variableReplacements": [], "showPrecisionHint": false}, {"precision": 0, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "strictPrecision": false, "correctAnswerFraction": false, "scripts": {}, "maxValue": "((-0.00008225*depth^2) + (1.05 * depth) +1110)", "precisionMessage": "You have not given your answer to the correct precision.", "type": "numberentry", "showCorrectAnswer": true, "precisionPartialCredit": 0, "marks": 1, "minValue": "((-0.00008225*depth^2) + (1.05 * depth) +1110)", "correctAnswerStyle": "plain", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "variableReplacements": [], "showPrecisionHint": false}], "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.

", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "scripts": {}, "steps": [{"marks": 0, "type": "information", "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$.

", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "scripts": {}, "showCorrectAnswer": true}], "showCorrectAnswer": true}], "name": "Richard's copy of 3: Quadratic Equations - Temperature vs. Depth", "preamble": {"css": "", "js": ""}, "rulesets": {}, "metadata": {"description": "

Solve quadratic equations using formula.

", "licence": "Creative Commons Attribution 4.0 International"}, "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$.

", "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "variables": {"z3a": {"group": "formula", "description": "", "definition": "precround((-{b}-(sqrt({b}^2-(4*{a}*{c3}))))/(2*{a}),0)", "name": "z3a", "templateType": "anything"}, "depth": {"group": "Ungrouped variables", "description": "", "definition": "(random(2000..3000))", "name": "depth", "templateType": "anything"}, "z2a": {"group": "formula", "description": "", "definition": "precround((-{b}-(sqrt({b}^2-(4*{a}*{c2}))))/(2*{a}),0)", "name": "z2a", "templateType": "anything"}, "t2": {"group": "temp", "description": "", "definition": "random(1180..2500#1)", "name": "t2", "templateType": "randrange"}, "z1a": {"group": "formula", "description": "", "definition": "precround((-{b}-(sqrt({b}^2-(4*{a}*{c}))))/(2*{a}),0)", "name": "z1a", "templateType": "anything"}, "b": {"group": "Ungrouped variables", "description": "", "definition": "1.05", "name": "b", "templateType": "anything"}, "z3": {"group": "formula", "description": "", "definition": "precround((-{b}+(sqrt({b}^2-(4*{a}*{c3}))))/(2*{a}),0)", "name": "z3", "templateType": "anything"}, "a": {"group": "Ungrouped variables", "description": "", "definition": "-0.00008225", "name": "a", "templateType": "anything"}, "z1": {"group": "formula", "description": "", "definition": "precround((-{b}+(sqrt({b}^2-(4*{a}*{c}))))/(2*{a}),0)", "name": "z1", "templateType": "anything"}, "c2": {"group": "Ungrouped variables", "description": "", "definition": "1110-{t2}", "name": "c2", "templateType": "anything"}, "constant1": {"group": "temp", "description": "", "definition": "1110-t1", "name": "constant1", "templateType": "anything"}, "t3": {"group": "temp", "description": "", "definition": "random(2800..3000#1)", "name": "t3", "templateType": "randrange"}, "z2": {"group": "formula", "description": "", "definition": "precround((-{b}+(sqrt({b}^2-(4*{a}*{c2}))))/(2*{a}),0)", "name": "z2", "templateType": "anything"}, "c3": {"group": "Ungrouped variables", "description": "", "definition": "1110-{t3}", "name": "c3", "templateType": "anything"}, "c": {"group": "Ungrouped variables", "description": "", "definition": "1110-{t1}", "name": "c", "templateType": "anything"}, "t1": {"group": "temp", "description": "", "definition": "random(1120..1175#1)", "name": "t1", "templateType": "randrange"}}, "ungrouped_variables": ["b", "a", "c", "c2", "c3", "depth"], "extensions": [], "type": "question", "contributors": [{"name": "Richard Wilman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1618/"}]}]}], "contributors": [{"name": "Richard Wilman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1618/"}]}