// Numbas version: exam_results_page_options {"name": "Q13 VAT", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["VAT", "VATnew", "price", "ans", "VATa", "VATnewa"], "name": "Q13 VAT", "tags": ["rebel", "Rebel", "REBEL", "rebelmaths", "teame", "VAT"], "preamble": {"css": "", "js": ""}, "advice": "

Price including VAT of $\\var{VAT}$% = $\\var{price}$% (Total Vat $= \\var{VATa}$%)

\n

First get 1%, then multipy by 100 to get 100% or price before VAT.

\n

Then, multiply by $\\var{VATnewa}$%, (or multiply by $\\frac{\\var{VATnewa}}{100})$

\n

$(\\var{price} \\div \\frac{\\var{VATa}}{100})$

\n

Or

\n

$\\var{price} \\times \\frac{100}{\\var{VATa}}  = \\var{ans}$

\n

\n

Note:

\n

This question might require an awkward long division. If you are having problems with getting a correct answer you may need to work up to 5 or 6 decimal places in your long division.

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

What was the price before VAT?

\n

€[[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

The price includes VAT already, so the $\\var{VAT}$% has already been added on. So the price is 100% + $\\var{VAT}$%. We need to find 1% first and then 100%.

\n

Note, this question might require an awkward long division. If you are having problems with getting a correct answer you may need to work up to 5 or 6 decimal places in your long division.

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

The selling price of an item was €$\\var{price}$ including VAT at $\\var{VAT}$%.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"price": {"definition": "random(80..250#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "price", "description": ""}, "VATnewa": {"definition": "100 + {VATnew}", "templateType": "anything", "group": "Ungrouped variables", "name": "VATnewa", "description": ""}, "VATa": {"definition": "100+{VAT}", "templateType": "anything", "group": "Ungrouped variables", "name": "VATa", "description": ""}, "ans": {"definition": "{price}/({VATa}/100)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}, "VATnew": {"definition": "random(20..24 except VAT)", "templateType": "anything", "group": "Ungrouped variables", "name": "VATnew", "description": ""}, "VAT": {"definition": "random(13.5,21,21.5,22,22.5,23)", "templateType": "anything", "group": "Ungrouped variables", "name": "VAT", "description": ""}}, "metadata": {"description": "

Find the exVAT price

\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/"}]}