// Numbas version: exam_results_page_options {"name": "MATH1510 Financial Mathematics 1 Practical 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {"growthy": {"definition": "var cells = [value];\nvar inty = 1 + ((int1/100) / 1);\n\nfor (i=0; i1. Firstly, remember that the interest rate payable p-thly must be converted into the interest rate per period using $i_{[p]}={i^{(p)} \\over p}$

\n

As interest is gained on the balance, you must multiply the initial value, $x$ of the previous month by the interest rate to the power of the month in which the interest is received:

\n

$x(1+i_{[p]})^{floor({month \\over {12 \\over p}},1)}$

\n

where:

\n\n

In order to find out the potential growth at a particular month, substitute in the relevant number.

\n

2. In order to see how many months one must keep an initial amount in an account so that it accumulates to a certain sum, you must find out what $n$ is in the formula:

\n

$n={12 \\over p}{ln({accum \\over initial}) \\over ln({1+ i_{[p]}})}$

\n

where:

\n\n

In order to see how many months you must keep it in the account,

\n

$months={12 \\over p}ceiling({pn \\over 12},1)$

\n

where:

\n\n

Substituting in the numbers in the question will give you the number of months.

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

What is the sum (to two decimal places) of the potential growth corresponding to months {m-38}, {m-29}, {m-22}, {m-16}, {m-9}, {m-3} and {m} for each of the accounts?

\n

Monthly: [[0]]

\n

Quarterly: [[1]]

\n

Yearly: [[2]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "

You have not given your answer to two decimal places.

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{growthm[m-37]}+{growthm[m-28]}+{growthm[m-21]}+{growthm[m-15]}+{growthm[m-8]}+{growthm[m-2]}+{growthm[m+1]}", "minValue": "{growthm[m-37]}+{growthm[m-28]}+{growthm[m-21]}+{growthm[m-15]}+{growthm[m-8]}+{growthm[m-2]}+{growthm[m+1]}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": "5", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "

You have not given your answer to two decimal places.

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{growthq[m-37]}+{growthq[m-28]}+{growthq[m-21]}+{growthq[m-15]}+{growthq[m-8]}+{growthq[m-2]}+{growthq[m+1]}", "minValue": "{growthq[m-37]}+{growthq[m-28]}+{growthq[m-21]}+{growthq[m-15]}+{growthq[m-8]}+{growthq[m-2]}+{growthq[m+1]}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": "5", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "

You have not given your answer to two decimal places.

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{growthy[m-37]}+{growthy[m-28]}+{growthy[m-21]}+{growthy[m-15]}+{growthy[m-8]}+{growthy[m-2]}+{growthy[m+1]}", "minValue": "{growthy[m-37]}+{growthy[m-28]}+{growthy[m-21]}+{growthy[m-15]}+{growthy[m-8]}+{growthy[m-2]}+{growthy[m+1]}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": "5", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

For each account, how long (in months) will it take for the balance to reach £{value1}?

\n

Monthly: [[0]]

\n

Quarterly: [[1]]

\n

Yearly: [[2]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{ceiltargetm}", "minValue": "{ceiltargetm}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{ceiltargetq}", "minValue": "{ceiltargetq}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{ceiltargety}", "minValue": "{ceiltargety}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Construct a spreadsheet that will analytically compute the number of months a certain amount should be held in these accounts in order for this value to accumulate to a certain sum.

\n

Calculate the number of months you will need to hold £{value2} in each of the accounts so that it reaches £{sum}.

\n

Monthly: [[0]]

\n

Quarterly: [[1]]

\n

Yearly: [[2]]

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "ceila", "minValue": "ceila", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "5", "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "ceilb", "minValue": "ceilb", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "5", "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "ceilc", "minValue": "ceilc", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "5", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

A bank offers you three savings account:

\n

a) with nominal interest payable monthly into the account at a rate of {int12}%

\n

b) with nominal interest payable quaterly into the account at a rate of {int4}%

\n

c) with nominal interest payable yearly into the account at a rate of {int1}%

\n

Recall that if the interest is payable quarterly then the accrued interest is added to the account at the end of each quarter. Similarly, if the interest is payable yearly, then the accrued interest is added to the account at the end of each year.

\n

You have £{value} to deposit in a savings account.

\n

Create a spreadsheet that shows the potential growth of the wealth on each of these accounts over {m} months. The spreadsheet should look similar to:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
MonthInterest payable monthlyInterest payable quarterlyInterest payable yearly
0{value}{value}{value}
1{Month1}{value}{value}
2.........
............
{m}.........
\n

\n

Click on the button below for hints in Excel.

\n

\n
\n\n
", "variable_groups": [{"variables": [], "name": "Unnamed group"}, {"variables": [], "name": "Unnamed group"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"growthy": {"definition": "growthy(value,int1,m)", "templateType": "anything", "group": "Ungrouped variables", "name": "growthy", "description": ""}, "interest1": {"definition": "random(0.02..0.04#0.005)", "templateType": "randrange", "group": "Ungrouped variables", "name": "interest1", "description": ""}, "targetm": {"definition": "sum(map(if(s