// Numbas version: finer_feedback_settings {"name": "Simon's copy of Q 3 VAT", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Simon's copy of Q 3 VAT", "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "metadata": {"description": "

Finding the cost including VAT

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"ans": {"templateType": "anything", "definition": "{a}*{newVAT1}", "name": "ans", "description": "", "group": "Ungrouped variables"}, "a": {"templateType": "anything", "definition": "random(50..100)", "name": "a", "description": "", "group": "Ungrouped variables"}, "newVAT": {"templateType": "anything", "definition": "100+{VAT}", "name": "newVAT", "description": "", "group": "Ungrouped variables"}, "word": {"templateType": "anything", "definition": "random([\"cost\",\"selling\"])", "name": "word", "description": "", "group": "Ungrouped variables"}, "VAT": {"templateType": "anything", "definition": "random(21..23)", "name": "VAT", "description": "", "group": "Ungrouped variables"}, "newVAT1": {"templateType": "anything", "definition": "{newVAT}/100", "name": "newVAT1", "description": "", "group": "Ungrouped variables"}}, "tags": [], "functions": {}, "ungrouped_variables": ["word", "a", "VAT", "ans", "newVAT", "newVAT1"], "statement": "

Evaluate the following to the nearest penny:

", "extensions": [], "preamble": {"js": "", "css": ""}, "rulesets": {}, "advice": "

Method 1:

\n

First find $\\var{VAT}$% of $£\\var{a}$. To do this we need to multiply $£\\var{a}$ by $\\var{VAT}$ and divide by 100. The easiest way is to multiply $£\\var{a}$ by $\\frac{\\var{VAT}}{100} =\\var{a*VAT/100} $. This is the amount of VAT that must be paid. Add this on to the original cost price to give $£\\var{a} + £\\var{a*VAT/100} = £\\var{a+a*VAT/100}$, which is the total selling price including VAT.

\n

\n

\n

\n

Method 2:

\n

We want to increase the price by $\\var{VAT}$%. This is the same as multiplying by $ \\frac{\\var{100+vat}}{100} = \\var{newVAT1}$

\n

$£\\var{a} \\times \\var{newVAT1} = £\\var{ans}$

", "parts": [{"variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "sortAnswers": false, "steps": [{"variableReplacementStrategy": "originalfirst", "variableReplacements": [], "marks": 0, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "type": "information", "prompt": "

VAT is Value Added Tax. It must be added to the price. First we need to find out how much the VAT is. Find $\\var{VAT}$% of $£\\var{a}$. Add this to the cost price.

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

The cost price of an item was £$\\var{a}$ before VAT. What was the price including VAT at $\\var{VAT}$%?

\n

£[[0]]

", "type": "gapfill", "unitTests": [], "scripts": {}}], "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/"}]}