// Numbas version: exam_results_page_options {"name": "Q12 Prive including VAT", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Q12 Prive including VAT", "tags": ["rebelmaths", "teame", "VAT"], "metadata": {"description": "

Including VAT

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Evaluate the following to the nearest cent:

", "advice": "

The selling price of an item before VAT is equal to 100%, and the selling price including VAT of $\\var{VAT}$% has to equal $\\var{newVAT}$%.

\n

Therefore 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}$

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(90..140)", "description": "", "templateType": "anything", "can_override": false}, "newVAT": {"name": "newVAT", "group": "Ungrouped variables", "definition": "100+{VAT}", "description": "", "templateType": "anything", "can_override": false}, "newVAT1": {"name": "newVAT1", "group": "Ungrouped variables", "definition": "{newVAT}/100", "description": "", "templateType": "anything", "can_override": false}, "VAT": {"name": "VAT", "group": "Ungrouped variables", "definition": "random(18.5..24.5)", "description": "", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "{a}*{newVAT1}", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "VAT", "ans", "newVAT", "newVAT1"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The selling price of an item was €$\\var{a}$ before VAT. What was the price if the rate of VAT was $\\var{VAT}$%?

\n

€[[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{ans}", "maxValue": "{ans}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}, {"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}]}], "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}, {"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}