// Numbas version: exam_results_page_options {"name": "Q14 Price Excluding 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", "word"], "name": "Q14 Price Excluding VAT", "tags": ["Rebel", "REBEL", "rebel", "rebelmaths", "teame", "VAT"], "preamble": {"css": "", "js": ""}, "advice": "
Price including VAT of $\\var{VAT}$% = $€\\var{price}$ (Total Vat $= \\var{VATa}$%)
\nFirst get 1%, then multipy by 100 to get 100% or price before VAT.
\nThen, multiply by $\\var{VATnewa}$%, (or multiply by $\\frac{\\var{VATnewa}}{100})$
\n$(€\\var{price} \\div \\frac{\\var{VATa}}{100})$
\nOr
\n$€\\var{price} \\times \\frac{100}{\\var{VATa}} = €\\var{ans}$
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "What was the bill 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%.
\nNote, 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": false, "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": "$\\var{word}$ bill was €{dpformat(price,2)}. This includes VAT at $\\var{VAT}$%.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"word": {"definition": "random([\"A mobile phone\",\"A car service\",\"An internet\",\" A resturant\"])", "templateType": "anything", "group": "Ungrouped variables", "name": "word", "description": ""}, "price": {"definition": "random(40..85#0.1)", "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": "Finding the exVAT price
\nrebelmaths
", "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/"}]}