// Numbas version: finer_feedback_settings {"name": "Simple Interest easy", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["nnn", "nn", "initial", "answer1", "n", "p", "answer2", "interest"], "name": "Simple Interest easy", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
Simple Interest, $I=P\\times t\\times r$
\n$I=\\var{initial}\\times \\var{n}\\times \\var{p}/100$
\n$I=\\var{interest}$
\nAdding the interest to the initial amount gives €$\\var{answer1}$.
\n\n", "rulesets": {}, "parts": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "answer1+0.02", "strictPrecision": false, "minValue": "answer1-0.02", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": "50", "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": "2", "showPrecisionHint": false, "type": "numberentry"}], "extensions": [], "statement": "An investor puts €$\\var{initial}$ in a savings account that pays $\\var{p}\\%$ simple interest at the end of each year. How much would the investor have after $\\var{n}$ years?
\nGive your answer to $2$ decimal places.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"nnn": {"definition": "random(1..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "nnn", "description": ""}, "nn": {"definition": "random(1..4#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "nn", "description": ""}, "initial": {"definition": "random(2000..10000#100)", "templateType": "randrange", "group": "Ungrouped variables", "name": "initial", "description": ""}, "answer1": {"definition": "initial*(1 + n*p/100)", "templateType": "anything", "group": "Ungrouped variables", "name": "answer1", "description": ""}, "n": {"definition": "nnn + nn", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "p": {"definition": "random(5..15#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "p", "description": ""}, "interest": {"definition": "n*p*initial/100", "templateType": "anything", "group": "Ungrouped variables", "name": "interest", "description": ""}, "answer2": {"definition": "initial*(1+nnn*p/100)*(1+nn*p/100)", "templateType": "anything", "group": "Ungrouped variables", "name": "answer2", "description": ""}}, "metadata": {"description": "Simple interest.
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}