// Numbas version: finer_feedback_settings {"name": "Q3 Calculating the standard percentage rate", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["name", "salary", "credit", "ans", "rate", "tax"], "name": "Q3 Calculating the standard percentage rate", "tags": ["rebelmaths"], "advice": "
First, calculate the gross income tax; $€\\var{credit} + €\\var{tax}$
\nThen to find the standard rate of income tax, as a percentage, divide by the salary and multiply by 100.
\nTo summarise:
\n$(\\var{credit} + \\var{tax}) \\div \\frac{\\var{salary}}{100}$
\nOr
\n$(\\var{credit} + \\var{tax}) \\times\\frac{100}{\\var{salary}} = \\var{ans}$%
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "$\\var{name}$ has an annual salary of €$\\var{salary}$. His tax credit is €$\\var{credit}$, and he pays income tax on all his income at the standard rate of $x$%. If he pays €$\\var{tax}$ in income tax for the year, find the standard rate ($x$%).
\n[[0]]%
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "1", "maxValue": "{ans}", "minValue": "{ans}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": "1", "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "Usually we calculate net tax = gross tax - credits.
\nFor this question we need to turn that around.
\nnet tax + credits = gross tax.
\nWhat percentage of his income is the gross tax?
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": [], "statement": "Solve the following to 1 decimal place:
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"salary": {"definition": "random(30000..50000#1000)", "templateType": "anything", "group": "Ungrouped variables", "name": "salary", "description": ""}, "name": {"definition": " random('Robert','John','Liam','Karl','Victor')", "templateType": "anything", "group": "Ungrouped variables", "name": "name", "description": ""}, "tax": {"definition": "((salary*rate)/100)-credit", "templateType": "anything", "group": "Ungrouped variables", "name": "tax", "description": ""}, "credit": {"definition": "random(2800..3500#100)", "templateType": "anything", "group": "Ungrouped variables", "name": "credit", "description": ""}, "rate": {"definition": "random(18..23)", "templateType": "anything", "group": "Ungrouped variables", "name": "rate", "description": ""}, "ans": {"definition": "({credit}+{tax})/({salary}/100)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}}, "metadata": {"description": "Income 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/"}]}