// Numbas version: exam_results_page_options {"name": "present value - simple interest", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "functions": {}, "parts": [{"variableReplacementStrategy": "originalfirst", "unitTests": [], "variableReplacements": [], "type": "gapfill", "showCorrectAnswer": true, "showFeedbackIcon": true, "useCustomName": false, "scripts": {}, "marks": 0, "sortAnswers": false, "customName": "", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "prompt": "
\n
\n
An investor currently holds a financial asset that has a maturity value of $\\$\\var{S}$ in $\\var{n}$ days. The investor decides to sell the asset today at a current market yield of $\\var{ipa}\\%$. What is the present value of the asset?
\n
\n
\n

\n

$\\$\\,$[[0]] (to the nearest cent)

", "gaps": [{"unitTests": [], "maxValue": "P", "showPrecisionHint": false, "variableReplacements": [], "type": "numberentry", "showFeedbackIcon": true, "precisionMessage": "You have not given your answer to the nearest cent.", "marks": 1, "allowFractions": false, "minValue": "P", "customName": "", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "precisionPartialCredit": 0, "useCustomName": false, "scripts": {}, "mustBeReducedPC": 0, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "strictPrecision": false, "precisionType": "dp", "precision": "2"}]}], "advice": "

We are asked to find the present value using simple interest. Therefore we will use the equation

\n

$\\displaystyle P=\\frac{S}{(1+rt)}$,

\n

where $P$ is the present value, $S$ is the future value, $r$ is the interest rate per annum and $t$ is the time in years.

\n

In our situation we have,

\n

$S=\\$\\var{S}$,

\n

$r=\\var{ipa}\\%=\\var{ipadec}$,

\n

$t=\\frac{\\var{n}}{\\var{period[1]}}$, 

\n

and therefore

\n

$\\begin{align}P&=\\frac{\\var{S}}{1+\\var{ipadec}\\times \\frac{\\var{n}}{\\var{period[1]}}}\\\\&=\\$ \\var{Prounded} \\text{        (to the nearest cent)}\\end{align}$ 

", "extensions": [], "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "Using simple interest determine the present value, time periods are in days, months, or quarters."}, "ungrouped_variables": ["S", "period", "n", "ipa", "ipadec", "P", "Prounded"], "name": "present value - simple interest", "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "

If you are unsure of how to do a question, click on Reveal answers to see the full working. Then, once you understand how to do the question, click on Try another question like this one to start again. Do each question repeatedly to ensure you have mastered it.

", "rulesets": {}, "preamble": {"css": "", "js": ""}, "variables": {"Prounded": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "Prounded", "definition": "precround(P,2)"}, "P": {"templateType": "anything", "description": "

present value

", "group": "Ungrouped variables", "name": "P", "definition": "S/(1+ipadec*n/period[1])"}, "n": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "n", "definition": "random(7..365)"}, "period": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "period", "definition": "['days', 365]"}, "ipa": {"templateType": "anything", "description": "

interest per annum as a percentage (add the symbol afterwards)

", "group": "Ungrouped variables", "name": "ipa", "definition": "random(3..9#0.01)"}, "S": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "S", "definition": "random(1000..100000#1000)"}, "ipadec": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "ipadec", "definition": "ipa/100"}}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}