// Numbas version: finer_feedback_settings {"name": "Annual Effective Rates", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["p", "a"], "name": "Annual Effective Rates", "tags": [], "advice": "
The nominal interest rate, $i^{(p)}$, is the nominal rate per annum payable p times a year over p periods. A capital amount $C$ accumulates to $C(1+i_{[p]})^p$ where $i_{[p]}={i^{(p)} \\over p}$
\nComparing this with $C(1+i)$ gives:
\n$1+i=(1+{i^{(p)} \\over p})^p$
\nwhere:
\nRe-arranging this equation to make $i$ the subject of the formula gives:
\n$i=(1+{i^{(p)} \\over p})^p-1$
\nIn the above question:
\nSubstituting these values in the above equation gives the annual effective rate $i$.
", "rulesets": {}, "parts": [{"precisionType": "dp", "precisionMessage": "What is the annual effective rate (% to two decimal places) if $i^{\\var{p}}$={a}%?
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(1..10#0.5)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a", "description": ""}, "p": {"definition": "random([0.5,1,2,3,4,6,12,52,365])", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Habiba Gora", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/494/"}]}]}], "contributors": [{"name": "Habiba Gora", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/494/"}]}