// Numbas version: exam_results_page_options {"name": "Q5 percentage error", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["num", "ans2", "ans1", "ans3"], "name": "Q5 percentage error", "tags": ["rebelmaths"], "preamble": {"css": "", "js": ""}, "advice": "

Part 1:

\n

Exact relationship formula:

\n

$((\\frac{9}{5}) \\times \\var{num}) + 32 = \\var{ans1}$degrees

\n

Part 2:

\n

Approximate relationship formula::

\n

$(\\var{num} + 15) \\times 2= \\var{ans2}$degrees

\n

Part 3:

\n

Percentage error:

\n

$abs(\\frac{\\var{ans2} - \\var{ans1}}{\\var{ans1}}) \\times 100 = \\var{ans3}$%

\n

", "rulesets": {}, "parts": [{"prompt": "

Find the value of F when C is $\\var{num}$ degrees using the exact relationship formula.

\n

[[0]]degrees

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ans1}", "strictPrecision": false, "minValue": "{ans1}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "1", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Find the value of F when C is $\\var{num}$ degrees using the approximate relationship formula.

\n

[[0]]degrees

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ans2}", "strictPrecision": false, "minValue": "{ans2}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "1", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Calculate the percentage error in using the approximate relationship formula, correct to one decimal place.

\n

[[0]]%

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ans3}", "strictPrecision": false, "minValue": "{ans3}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "1", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

The exact relationship between Celsius and Fahrenheit is: $F = \\frac{9}{5}C + 32$. An approximate relationship between Celsius and Fahrenheit is given by the follow rule:

\n

To find F, add 15 to C and double your answer.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"ans1": {"definition": "(num*(9/5))+32", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ans2": {"definition": "(num+15)*2", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "num": {"definition": "random(10..35#5)", "templateType": "anything", "group": "Ungrouped variables", "name": "num", "description": ""}, "ans3": {"definition": "(abs(ans2 - ans1)/ ans1)*100", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": ""}}, "metadata": {"description": "

(Calculating estimate and actual value of temperature using given formulas, and hence finding the percentage error)

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}