// Numbas version: exam_results_page_options {"name": "Simon's copy of Net Present Value", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

An investment of €x invested today will give a return of €y in n years time Calculate the net present value (NPV) of the investment given that the discount rate is 3.5% per annum.

\n

rebelmaths

"}, "question_groups": [{"name": "", "pickQuestions": 0, "questions": [], "pickingStrategy": "all-ordered"}], "ungrouped_variables": ["Invest", "Return1", "perc", "int", "NPV", "n1", "num"], "variables": {"n1": {"name": "n1", "definition": "random(3..5#1)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "int": {"name": "int", "definition": "perc/100", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "NPV": {"name": "NPV", "definition": "precround(Return1/(1+int)^n1,2)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "num": {"name": "num", "definition": "(1+int)^n1", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "Invest": {"name": "Invest", "definition": "random(50000..150000#20000)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "Return1": {"name": "Return1", "definition": "siground(Invest*(1+int+0.01)^n1,4)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "perc": {"name": "perc", "definition": "random(2..7#0.5)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}}, "variable_groups": [], "functions": {}, "advice": "

We wish to calculate the present value of an investment that will be worth €$\\var{Return1}$ in $\\var{n1}$ years time. Using the present value formula:

\n

$P=\\frac{A}{(1+i)^{n}}$ 

\n

where $A$ is €$\\var{Return1}$, $n$ is $\\var{n1}$ and $i$ is $\\frac{\\var{perc}}{100}=\\var{int}$ gives:

\n

$P=\\frac{\\var{Return1}}{(1+\\var{int})^{\\var{n}}}$ 

\n

$P=\\frac{\\var{Return1}}{\\var{num}}$ 

\n

$P=\\var{NPV}$ 

\n

\n

", "statement": "

An investment will give a return of €$\\var{Return1}$ in $\\var{n1}$ years time. 

", "parts": [{"variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"allowFractions": false, "showPrecisionHint": false, "variableReplacements": [], "correctAnswerFraction": false, "scripts": {}, "maxValue": "NPV+0.1", "minValue": "NPV-0.1", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "marks": "5"}], "scripts": {}, "variableReplacementStrategy": "originalfirst", "prompt": "

Calculate the present value of the investment given that the discount rate is $\\var{perc}$% per annum.

\n

\n

€[[0]]

", "type": "gapfill", "marks": 0}], "tags": ["present value", "rebel", "Rebel", "REBEL", "rebelmaths"], "variablesTest": {"maxRuns": 100, "condition": ""}, "name": "Simon's copy of Net Present Value", "rulesets": {}, "preamble": {"css": "", "js": ""}, "showQuestionGroupNames": false, "extensions": [], "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}