// Numbas version: finer_feedback_settings {"name": "Q6 Calculating Gross wage given tax information 2", "extensions": [], "custom_part_types": [], "resources": [["question-resources/incometaxpreparer.jpg", "/srv/numbas/media/question-resources/incometaxpreparer.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["name", "cut", "tax", "credit", "standard", "higher", "ansone", "anstwo"], "name": "Q6 Calculating Gross wage given tax information 2", "tags": ["rebelmaths"], "advice": "

Calculate the gross income by; 

\n

tax credit + income tax

\n

then, divide it by $\\var{standard}$% (or multiply by $\\frac{100}{\\var{standard}}$)

\n

$(\\var{tax}+\\var{credit}) \\times \\frac{100}{\\var{standard}} = €\\var{ansone}$

\n

Note 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.

\n

 

", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "

Calculate her gross salary for the year, to the nearest cent.

\n

€[[0]]

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{ansone}", "minValue": "{ansone}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

Use what you learned in Question 4.

\n

Note 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"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": [], "statement": "

\n

$\\var{name}$ paid €$\\var{tax}$ in income tax for the year. Her tax credits amount to €$\\var{credit}$ and she paid income tax on all of her salary at the standard rate of income tax of $\\var{standard}$%.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"cut": {"definition": "random(25000..30000#500)", "templateType": "anything", "group": "Ungrouped variables", "name": "cut", "description": ""}, "anstwo": {"definition": "((({tax}+{credit})-({cut}*({standard}/100)))*(100/{higher}))+{cut}", "templateType": "anything", "group": "Ungrouped variables", "name": "anstwo", "description": ""}, "name": {"definition": "random('Susan','Rose','Lisa','Karen','Kate','Vicky')", "templateType": "anything", "group": "Ungrouped variables", "name": "name", "description": ""}, "ansone": {"definition": "({tax}+{credit})*(100/{standard})", "templateType": "anything", "group": "Ungrouped variables", "name": "ansone", "description": ""}, "tax": {"definition": "random(4000..7300)", "templateType": "anything", "group": "Ungrouped variables", "name": "tax", "description": ""}, "standard": {"definition": "random(20..22#0.5)", "templateType": "anything", "group": "Ungrouped variables", "name": "standard", "description": ""}, "credit": {"definition": "random(2500..({tax}-1000))", "templateType": "anything", "group": "Ungrouped variables", "name": "credit", "description": ""}, "higher": {"definition": "random(40..43)", "templateType": "anything", "group": "Ungrouped variables", "name": "higher", "description": ""}}, "metadata": {"description": "

rebelmaths

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