// Numbas version: finer_feedback_settings {"name": "Nominal 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", "ip", "ad"], "name": "Nominal 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^{(p)}$ the subject of the formula gives:
\n$i^{(p)}=p((1+i)^{1/p}-1)$
\nIn the above question:
\nSubstituting these values in the above equation gives the nominal rate $i^{(p)}$.
", "rulesets": {}, "parts": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to 2 decimal places
", "allowFractions": false, "scripts": {}, "precision": "2", "maxValue": "{ip}", "minValue": "{ip}", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "marks": "3", "type": "numberentry", "showPrecisionHint": false}], "statement": "What is the interest rate (% to two decimal places) payable {p} times a year if the effective interest rate is {a} %?
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(0.5..7#0.25)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a", "description": ""}, "p": {"definition": "random([0.5,2,3,4,6,12,52,365])", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "ad": {"definition": "{a}/100", "templateType": "anything", "group": "Ungrouped variables", "name": "ad", "description": ""}, "ip": {"definition": "(((1+{ad})^(1/{p}))-1)*{p}*100", "templateType": "anything", "group": "Ungrouped variables", "name": "ip", "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/"}]}