// Numbas version: finer_feedback_settings {"name": "Simon's copy of Q13 VAT", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"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": {}, "functions": {}, "extensions": [], "parts": [{"prompt": "

What was the price before VAT?

\n

€[[0]]

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "gaps": [{"showPrecisionHint": false, "showCorrectAnswer": false, "marks": 1, "precisionPartialCredit": 0, "variableReplacements": [], "allowFractions": false, "maxValue": "{ans}", "strictPrecision": true, "minValue": "{ans}", "variableReplacementStrategy": "originalfirst", "type": "numberentry", "precision": "2", "scripts": {}, "precisionType": "dp", "correctAnswerFraction": false, "precisionMessage": "You have not given your answer to the correct precision."}], "variableReplacements": [], "stepsPenalty": 0, "type": "gapfill", "scripts": {}, "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.

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "scripts": {}, "type": "information", "variableReplacements": []}]}], "showQuestionGroupNames": false, "tags": ["rebel", "Rebel", "REBEL", "rebelmaths", "teame", "VAT"], "variable_groups": [], "question_groups": [{"questions": [], "pickingStrategy": "all-ordered", "pickQuestions": 0, "name": ""}], "preamble": {"js": "", "css": ""}, "type": "question", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Find the exVAT price

\n

rebelmaths

"}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "

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

", "variables": {"VATnew": {"templateType": "anything", "description": "", "definition": "random(20..24 except VAT)", "group": "Ungrouped variables", "name": "VATnew"}, "price": {"templateType": "anything", "description": "", "definition": "random(80..250#0.01)", "group": "Ungrouped variables", "name": "price"}, "VATa": {"templateType": "anything", "description": "", "definition": "100+{VAT}", "group": "Ungrouped variables", "name": "VATa"}, "VAT": {"templateType": "anything", "description": "", "definition": "random(13.5,21,21.5,22,22.5,23)", "group": "Ungrouped variables", "name": "VAT"}, "VATnewa": {"templateType": "anything", "description": "", "definition": "100 + {VATnew}", "group": "Ungrouped variables", "name": "VATnewa"}, "ans": {"templateType": "anything", "description": "", "definition": "{price}/({VATa}/100)", "group": "Ungrouped variables", "name": "ans"}}, "name": "Simon's copy of Q13 VAT", "ungrouped_variables": ["VAT", "VATnew", "price", "ans", "VATa", "VATnewa"], "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/"}]}