// Numbas version: finer_feedback_settings {"name": "Simon's copy of Q12 Price including VAT", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "
Including VAT
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "Evaluate the following to the nearest penny:
", "ungrouped_variables": ["a", "VAT", "ans", "newVAT", "newVAT1"], "variable_groups": [], "variables": {"newVAT1": {"description": "", "definition": "{newVAT}/100", "group": "Ungrouped variables", "name": "newVAT1", "templateType": "anything"}, "newVAT": {"description": "", "definition": "100+{VAT}", "group": "Ungrouped variables", "name": "newVAT", "templateType": "anything"}, "VAT": {"description": "", "definition": "random(18.5..24.5)", "group": "Ungrouped variables", "name": "VAT", "templateType": "anything"}, "ans": {"description": "", "definition": "{a}*{newVAT1}", "group": "Ungrouped variables", "name": "ans", "templateType": "anything"}, "a": {"description": "", "definition": "random(90..140)", "group": "Ungrouped variables", "name": "a", "templateType": "anything"}}, "parts": [{"marks": 0, "gaps": [{"precisionMessage": "You have not given your answer to the correct precision.", "variableReplacements": [], "scripts": {}, "correctAnswerStyle": "plain", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "precisionType": "dp", "precision": "2", "marks": 1, "precisionPartialCredit": 0, "correctAnswerFraction": false, "mustBeReducedPC": 0, "mustBeReduced": false, "type": "numberentry", "showCorrectAnswer": true, "minValue": "{ans}", "variableReplacementStrategy": "originalfirst", "allowFractions": false, "strictPrecision": false, "showPrecisionHint": false, "maxValue": "{ans}", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": ""}], "prompt": "The price of an item was £$\\var{a}$ before VAT. What was the selling price after VAT if the rate of VAT was $\\var{VAT}$%?
\n£[[0]]
", "variableReplacements": [], "type": "gapfill", "scripts": {}, "unitTests": [], "showCorrectAnswer": true, "sortAnswers": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": ""}], "tags": [], "rulesets": {}, "name": "Simon's copy of Q12 Price including VAT", "functions": {}, "advice": "The cost price of an item before VAT is equal to 100%, so the selling price including VAT of $\\var{VAT}$% has to equal $\\var{newVAT}$%.
\nTherefore to get the selling price including VAT, divide by 100 and multiply by $\\var{newVAT}$, or simply multiply by $\\var{newVAT1}$ as seen below:
\n$€\\var{a} \\times \\var{newVAT1} = €\\var{ans}$
", "preamble": {"css": "", "js": ""}, "extensions": [], "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/"}]}