// Numbas version: exam_results_page_options {"name": "Simon's copy of Q5 percentage error", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "ungrouped_variables": ["num", "ans2", "ans1", "ans3"], "tags": [], "functions": {}, "advice": "
(a)
\nExact relationship formula:
\n$((\\frac{9}{5}) \\times \\var{num}) + 32 = \\var{ans1}^o $F
\n\n(b)
\nApproximate relationship formula:
\n$(\\var{num} + 15) \\times 2= \\var{ans2}^o $F
\n\n(c)
\nPercentage error:
\n$\\frac{|\\var{ans2} - \\var{ans1}|}{\\var{ans1}} \\times 100 = \\var{precround(ans3,1)}$%
\n", "parts": [{"prompt": "Find the value of F when C is $\\var{num}$ degrees using the exact relationship formula.
\n[[0]]degrees
", "sortAnswers": false, "showFeedbackIcon": true, "scripts": {}, "marks": 0, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "type": "gapfill", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "gaps": [{"showFeedbackIcon": true, "precision": "1", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "precisionType": "dp", "strictPrecision": false, "allowFractions": false, "correctAnswerFraction": false, "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "minValue": "{ans1}", "precisionMessage": "You have not given your answer to the correct precision.", "customMarkingAlgorithm": "", "type": "numberentry", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "showPrecisionHint": false, "unitTests": [], "maxValue": "{ans1}", "variableReplacements": []}], "unitTests": [], "variableReplacements": []}, {"prompt": "Find the value of F when C is $\\var{num}$ degrees using the approximate relationship formula.
\n[[0]]degrees
", "sortAnswers": false, "showFeedbackIcon": true, "scripts": {}, "marks": 0, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "type": "gapfill", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "gaps": [{"showFeedbackIcon": true, "precision": "1", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "precisionType": "dp", "strictPrecision": false, "allowFractions": false, "correctAnswerFraction": false, "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "minValue": "{ans2}", "precisionMessage": "You have not given your answer to the correct precision.", "customMarkingAlgorithm": "", "type": "numberentry", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "showPrecisionHint": false, "unitTests": [], "maxValue": "{ans2}", "variableReplacements": []}], "unitTests": [], "variableReplacements": []}, {"prompt": "Calculate the percentage error in using the approximate relationship formula, correct to one decimal place.
\n[[0]]%
", "sortAnswers": false, "showFeedbackIcon": true, "scripts": {}, "marks": 0, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "type": "gapfill", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "gaps": [{"showFeedbackIcon": true, "precision": "1", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "precisionType": "dp", "strictPrecision": false, "allowFractions": false, "correctAnswerFraction": false, "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "minValue": "{ans3}", "precisionMessage": "You have not given your answer to the correct precision.", "customMarkingAlgorithm": "", "type": "numberentry", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "showPrecisionHint": false, "unitTests": [], "maxValue": "{ans3}", "variableReplacements": []}], "unitTests": [], "variableReplacements": []}], "metadata": {"description": "(Calculating estimate and actual value of temperature using given formulas, and hence finding the percentage error)
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"ans3": {"definition": "(abs(ans2 - ans1)/ ans1)*100", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "ans3"}, "ans2": {"definition": "(num+15)*2", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "ans2"}, "num": {"definition": "random(10..35#5)", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "num"}, "ans1": {"definition": "(num*(9/5))+32", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "ans1"}}, "variable_groups": [], "name": "Simon's copy of Q5 percentage error", "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:
\nTo find F, add 15 to C and double your answer.
", "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "type": "question", "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}