// Numbas version: finer_feedback_settings {"name": "Q5 (Percentage Error with adding)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["num1", "num2", "num3", "ans"], "name": "Q5 (Percentage Error with adding)", "tags": ["rebelmaths"], "advice": "
$ABS(\\frac{(\\var{num3} - (\\var{num1} + \\var{num2}))}{(\\var{num1} + \\var{num2})}) \\times 100 = \\var{ans}$
", "rulesets": {}, "parts": [{"prompt": "What was the percentage error, 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": [], "precision": "1", "maxValue": "{ans}", "minValue": "{ans}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "The answer to $\\var{num1} + \\var{num2}$ was given as $\\var{num3}$.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"ans": {"definition": "(abs(num3-(num1+num2))/(num1+num2))*100", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}, "num1": {"definition": "random(2.8..4#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "num1", "description": ""}, "num2": {"definition": "random(1.8..3.5#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "num2", "description": ""}, "num3": {"definition": "precround(num1,1)+ precround(num2,1)", "templateType": "anything", "group": "Ungrouped variables", "name": "num3", "description": ""}}, "metadata": {"description": "Basic introduction to percentage error
\nrebelmaths
", "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/"}]}