// Numbas version: finer_feedback_settings {"name": "Pay during discount period or not", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Pay during discount period or not", "tags": [], "metadata": {"description": "Financial maths. To be used with the question on opportunity cost.", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "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.
", "advice": "The opportunity cost of forgoing a discount is $\\var{OC}\\%$ p.a., this is equivalent to borrowing at $\\var{OC}\\%$ p.a. However, you can actually borrow at $\\var{B}\\%$ p.a. Since you want to minimise the interest rate you are borrowing at it makes sense to borrow money to pay within the discount period. avoid borrowing and just miss the discount.
\n", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"yesborrow": {"name": "yesborrow", "group": "Ungrouped variables", "definition": "if(BSuppose the opportunity cost of not paying an invoice within a discount period is $\\var{OC}\\%$ p.a. You don't have the funds to pay within the discount period, however, you can borrow at a rate of $\\var{B}\\%$ p.a.
\nShould you borrow money to pay the invoice within the discount period?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": "1", "showBlankOption": true, "showCellAnswerState": true, "choices": ["Yes. Borrow and get the discount.", "No. Don't borrow and just pay after the discount period."], "matrix": ["yesborrow", "no"], "distractors": ["", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Daniel Sutherland", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/16947/"}], "resources": []}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Daniel Sutherland", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/16947/"}]}