// Numbas version: finer_feedback_settings {"name": "Simon's copy of Q14 Price Excluding VAT", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "

Finding the exVAT price

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "preamble": {"css": "", "js": ""}, "advice": "

(a)

\n

The price before including VAT is 100%.

\n

The price after including VAT of $\\var{VAT}$% is $\\var{VATa}$%

\n

Therefore, to get the price before VAT (100%), we divide by $\\var{VATa}$ and multiply by 100. 

\n

$\\frac{\\var{price}}{ \\var{VATa}} \\times 100  = £\\var{dpformat(ans,2)}$

\n

\n

(Alternative method: this is the same as simply dividing by $\\var{VATa/100}$. So our answer is $£\\var{price} \\div \\var{VATa/100}  = £\\var{dpformat(ans,2)}$

", "tags": [], "functions": {}, "parts": [{"sortAnswers": false, "stepsPenalty": 0, "marks": 0, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "gaps": [{"precisionType": "dp", "unitTests": [], "correctAnswerFraction": false, "type": "numberentry", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "scripts": {}, "minValue": "{ans}", "notationStyles": ["plain", "en", "si-en"], "marks": 1, "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "mustBeReduced": false, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": false, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "precision": "2", "showPrecisionHint": false, "strictPrecision": false, "maxValue": "{ans}", "mustBeReducedPC": 0, "precisionMessage": "You have not given your answer to the correct precision."}], "type": "gapfill", "prompt": "

What was the bill before VAT?

\n

£[[0]]

", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "scripts": {}, "steps": [{"prompt": "

The price includes VAT already, so the $\\var{VAT}$% has already been added on. So the price of £$\\var{price}$ corresponds to $(100 + \\var{VAT})\\% = \\var{100+VAT}\\%$. One method is to find 1% first and then 100%. 

", "type": "information", "variableReplacementStrategy": "originalfirst", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "unitTests": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true}], "variableReplacementStrategy": "originalfirst"}], "rulesets": {}, "ungrouped_variables": ["VAT", "VATnew", "price", "ans", "VATa", "VATnewa", "word"], "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"price": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(40..85#0.1)", "name": "price"}, "VAT": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(13.5,20.5,21.5,22.5,23.5)", "name": "VAT"}, "word": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random([\"A mobile phone\",\"A car service\",\"An internet\",\" A restaurant\"])", "name": "word"}, "VATnew": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "random(20..24 except VAT)", "name": "VATnew"}, "VATnewa": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "100 + {VATnew}", "name": "VATnewa"}, "VATa": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "100+{VAT}", "name": "VATa"}, "ans": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "{price}/({VATa}/100)", "name": "ans"}}, "name": "Simon's copy of Q14 Price Excluding VAT", "variable_groups": [], "statement": "

$\\var{word}$ bill was £{dpformat(price,2)}. This includes VAT at $\\var{VAT}$%.

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