// Numbas version: finer_feedback_settings {"name": "AER", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["perc", "apr2", "int", "perc2", "apr"], "name": "AER", "tags": ["AER", "Annual Equivalent Rate", "REBEL", "rebel", "Rebel", "rebelmaths"], "preamble": {"css": "", "js": ""}, "advice": "

The quarterly interest rate is $\\var{perc}$% per quarter. There are 4 quarters in one year so the equivalent annual rate of interest can be calculated as follows:

\n

$i=(1+\\frac{\\var{perc}}{100})^{4}-1=\\var{apr2}-1=\\var{apr}$

\n

Therefore the equivalent annual rate is $\\var{perc2}$%

\n

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

Please give your answer as a percentage to two decimal places. 

\n

[[0]]%

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "perc2+0.01", "minValue": "perc2-0.01", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "5", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

A savings account earns compound interest at a rate of $\\var{perc}$% per quarter.
Calculate the equivalent annual rate of interest.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"perc": {"definition": "random(1.4..2.5#0.1)", "templateType": "anything", "group": "Ungrouped variables", "name": "perc", "description": ""}, "int": {"definition": "perc/100", "templateType": "anything", "group": "Ungrouped variables", "name": "int", "description": ""}, "perc2": {"definition": "precround(apr*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "perc2", "description": ""}, "apr": {"definition": "precround(apr2-1,4)", "templateType": "anything", "group": "Ungrouped variables", "name": "apr", "description": ""}, "apr2": {"definition": "precround((1+int)^4,4)", "templateType": "anything", "group": "Ungrouped variables", "name": "apr2", "description": ""}}, "metadata": {"description": "

A savings account earns compound interest at 1.5% per month.
Calculate the equivalent annual rate of interest

\n

rebelmaths

", "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/"}], "resources": []}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}