// Numbas version: exam_results_page_options {"name": "MATH1510 Financial Mathematics 1 Practical 4A", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["value1", "value2", "value3", "n", "m", "interest", "int", "intm", "intw", "intd", "force", "monthly", "weekly", "daily", "cont"], "name": "MATH1510 Financial Mathematics 1 Practical 4A", "tags": [], "advice": "

In order to obtain the NPV, you must first change the nominal rate per annum payable monthly/weekly/yearly/continuously into an effective rate per month.

\n\n

As $i^{(12)}$={interest}%, divide this by 12 to obtain $i_{[p]}$ as $i_{[p]}={i^{(p)} \\over p}$ so then the interest rate payable per month is $i_{[12]}$={int}*$1 \\over 12$.

\n\n

As we assume that each month has 4 weeks then we use:

\n

$1+i=(1+{i^{(p)} \\over p})^p$

\n

(see Numbas- Nominal Rates)

\n

with:

\n\n

In this case, $i$={intw}

\n\n

As we assume that each month has 30 days then we use:

\n

$1+i=(1+{i^{(p)} \\over p})^p$

\n

(see Numbas- Nominal Rates)

\n

with:

\n\n

In this case, $i$= {intd}

\n

\n\n

The force of interest $\\delta$ is the nominal rate payable continuously.

\n

$(1+{i^{(p)} \\over p})^p=e^\\delta$ and so $i_{[p]}=e^{\\delta \\over p}-1$

\n

(see Force of Interest)

\n

with:

\n\n

In this case, $i_{[12]}$= {force}

\n\n

In order to work out the NPV, you must discount each value to time $t=0$:

\n

$NPV=x_1v+x_2v^2+...+x_nv^n$

\n

(see Numbas- Net Present Value)

\n

In this case we have:

\n

$NPV=-x_1-x_2v^1-x_2v^2...-x_2v^{n-2}+x_3v^n$

\n

where:

\n\n

Substituting in the interest rates obtained above into the NPV expression gives the NPV if the nominal rate is {interest}% payable monthly/weekly/daily/continuously.

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

the nominal interest rate payable monthly is {interest}%?

", "precisionMessage": "

You have not given your answer to two decimal places.

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{monthly}", "minValue": "{monthly}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": "10", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "

the nominal interest rate payable weekly {interest}%? (assume that there are 4 weeks per month)

", "precisionMessage": "

You have not given your answer to two decimal places.

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{weekly}", "minValue": "{weekly}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": "15", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "

the nominal interest rate payable daily is {interest}%? (assume that there are 30 days per month)

", "precisionMessage": "

You have not given your answer to two decimal places.

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{daily}", "minValue": "{daily}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": "15", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "

the force of interest, $\\delta$, corresponds to a nominal interest rate of {interest}% per annum?

", "precisionMessage": "

You have not given your answer to two decimal places.

", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{cont}", "minValue": "{cont}", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": "15", "type": "numberentry", "showPrecisionHint": false}], "statement": "

At time t=0, a construction company pays £{value1} to purchase a plot of land and materials to build a house. The company hires some workers that are paid a total of £{value2} at the end of each month for {m} months. The company sells the house at the end of year {n} for £{value3}.

\n

Construct an Excel spreadsheet that shows the cashflow of each month and which analytically calculates the net present value at different interest rates.

\n

(Either use the formula introduced in lecture to convert between interest rates or the Excel function =EFFECT)

\n

\n

What is the NPV (to two decimal places) if:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"intd": {"definition": "((1+({intm}/30))^30)-1", "templateType": "anything", "group": "Ungrouped variables", "name": "intd", "description": ""}, "force": {"definition": "(e^{intm})-1", "templateType": "anything", "group": "Ungrouped variables", "name": "force", "description": ""}, "value1": {"definition": "random(30000..40000#1000)", "templateType": "randrange", "group": "Ungrouped variables", "name": "value1", "description": ""}, "int": {"definition": "random(0.02..0.05#0.001)", "templateType": "randrange", "group": "Ungrouped variables", "name": "int", "description": ""}, "m": {"definition": "(12*n)-2", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "daily": {"definition": "-{value1}-(({value2)*12*((1-((1+{intd})^-{m}))/(12*{intd})))+({value3}/((1+{intd})^(12*{n})))", "templateType": "anything", "group": "Ungrouped variables", "name": "daily", "description": ""}, "n": {"definition": "random(1..3#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "n", "description": ""}, "monthly": {"definition": "-{value1}-(({value2)*12*((1-((1+{intm})^-{m}))/{int}))+({value3}/((1+{intm})^(12*{n})))", "templateType": "anything", "group": "Ungrouped variables", "name": "monthly", "description": ""}, "intw": {"definition": "((1+({intm}/4))^4)-1", "templateType": "anything", "group": "Ungrouped variables", "name": "intw", "description": ""}, "value3": {"definition": "random(200000..300000#5000)", "templateType": "randrange", "group": "Ungrouped variables", "name": "value3", "description": ""}, "intm": {"definition": "{int}/12", "templateType": "anything", "group": "Ungrouped variables", "name": "intm", "description": ""}, "interest": {"definition": "{int}*100", "templateType": "anything", "group": "Ungrouped variables", "name": "interest", "description": ""}, "cont": {"definition": "-{value1}-(({value2)*12*((1-((1+{force})^-{m}))/(12*{force})))+({value3}/((1+{force})^(12*{n})))", "templateType": "anything", "group": "Ungrouped variables", "name": "cont", "description": ""}, "value2": {"definition": "random(3000..5500#500)", "templateType": "randrange", "group": "Ungrouped variables", "name": "value2", "description": ""}, "weekly": {"definition": "-{value1}-(({value2)*12*((1-((1+{intw})^-{m}))/(12*{intw})))+({value3}/((1+{intw})^(12*{n})))", "templateType": "anything", "group": "Ungrouped variables", "name": "weekly", "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": "James Fung", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/699/"}]}]}], "contributors": [{"name": "James Fung", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/699/"}]}