// Numbas version: finer_feedback_settings {"name": "Q2 Calculating Annual Net Tax", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["name", "wage", "cut", "credit", "standard", "higher", "ans"], "name": "Q2 Calculating Annual Net Tax", "tags": ["rebelmaths"], "advice": "
{standard}% => $\\frac{\\var{standard}}{100}$
\n{higher}% => $\\frac{\\var{higher}}{100}$
\n\nCalculate the gross income tax for the week first as follows:
\nCalculate the standard cut-off point amount first by $\\frac{\\var{standard}}{100} \\times \\var{cut}$
\nThen, the income tax at the higher rate by $\\frac{\\var{higher}}{100} \\times (\\var{wage} - \\var{cut})$
\nFinally, add them to get the gross income tax
\n$(\\frac{\\var{standard}}{100} \\times \\var{cut}) + (\\frac{\\var{higher}}{100} \\times (\\var{wage} - \\var{cut}))$
\n\n
Using the gross income tax calculated in above
\nSubtract the tax credit, $\\var{credit}$, giving the amount of income tax paid.
\n$(\\frac{\\var{standard}}{100} \\times \\var{cut}) + (\\frac{\\var{higher}}{100} \\times (\\var{wage} - \\var{cut})) - \\var{credit} = \\var{ans}$
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "Calculate the amount of income tax she pays for the year.
\nTo the nearest euro!!
\n€[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "{ans}", "minValue": "{ans}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "$\\var{name}$ pays tax at $\\var{standard}$% on the first $\\var{cut}$ of her money, so you need to find $\\var{standard}$% of $\\var{cut}$.
\nShe pays tax at $\\var{higher}$% on everything above $\\var{cut}$, so you need to find out how much she earns above the cut off $\\var{cut}$ and get $\\var{higher}$% of that.
\nAdd the two tax bills together to find the gross tax that $\\var{name}$ owes.
\nSubtract her tax credits from this.
\nThe result is the net tax that she has to pay.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": [], "statement": "$\\var{name}$ has an annual salary of €$\\var{wage}$. Her standard cut-off point is €$\\var{cut}$, and her tax credit is €$\\var{credit}$. The standard rate of income tax is $\\var{standard}$% and the higher rate is $\\var{higher}$%.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"wage": {"definition": "random(40000..59000#1000)", "templateType": "anything", "group": "Ungrouped variables", "name": "wage", "description": ""}, "cut": {"definition": "random(32000..35000#500)", "templateType": "anything", "group": "Ungrouped variables", "name": "cut", "description": ""}, "name": {"definition": "random('Niamh','Rose','Sarah','Susan','Kate')", "templateType": "anything", "group": "Ungrouped variables", "name": "name", "description": ""}, "standard": {"definition": "random(20..23)", "templateType": "anything", "group": "Ungrouped variables", "name": "standard", "description": ""}, "credit": {"definition": "random(4000..5200#100)", "templateType": "anything", "group": "Ungrouped variables", "name": "credit", "description": ""}, "ans": {"definition": "((({standard}/100)*{cut})+(({higher}/100)*({wage}-{cut})))-{credit}", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}, "higher": {"definition": "random(40..43)", "templateType": "anything", "group": "Ungrouped variables", "name": "higher", "description": ""}}, "metadata": {"description": "Net Tax
\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/"}]}