// Numbas version: finer_feedback_settings {"name": "Accounting Rate of Return Practice", "metadata": {"description": "", "licence": "All rights reserved"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", ""], "variable_overrides": [[], [], [], [], []], "questions": [{"name": "Compound Interest", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Yvonne Wancke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3703/"}], "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

£{prin} is invested for {years} years at a rate of {r}%. Calculate the total amount at the end of the period.

", "advice": "

Remember to use the formula for compound interest

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"finamount": {"name": "finamount", "group": "Ungrouped variables", "definition": "prin*(1+(r/100))^years", "description": "

Final amount

", "templateType": "anything", "can_override": false}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "random(3,15)\n", "description": "

This is the rate of interest

", "templateType": "anything", "can_override": false}, "years": {"name": "years", "group": "Ungrouped variables", "definition": "random(3..10)", "description": "

This is the number of years

", "templateType": "anything", "can_override": false}, "prin": {"name": "prin", "group": "Ungrouped variables", "definition": "random(1000..3000)", "description": "

This is the amount invested

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["prin", "years", "r", "finamount"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Give your answer correct to 2 decimal places.

", "minValue": "finamount", "maxValue": "finamount", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Profit method", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Yvonne Wancke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3703/"}], "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

Compare the investments for the following 3 projects (A, B and C) using the profit method.

\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
YearProject AProject BProject C
0-{A0}-{B0}-{C0}
1{A1}{B1}{C1}
2{A2}{B2}{C2}
3{A3}{B3}{C3}
4{A4}{B4}{C4}
\n

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"A1": {"name": "A1", "group": "Ungrouped variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "A2": {"name": "A2", "group": "Ungrouped variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "A3": {"name": "A3", "group": "Ungrouped variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "A4": {"name": "A4", "group": "Ungrouped variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "B1": {"name": "B1", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "B2": {"name": "B2", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "B3": {"name": "B3", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "B4": {"name": "B4", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "C1": {"name": "C1", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "C2": {"name": "C2", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "C3": {"name": "C3", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "C4": {"name": "C4", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "A1tot": {"name": "A1tot", "group": "Ungrouped variables", "definition": "A1", "description": "", "templateType": "anything", "can_override": false}, "A2tot": {"name": "A2tot", "group": "Ungrouped variables", "definition": "A1+A2", "description": "", "templateType": "anything", "can_override": false}, "A3tot": {"name": "A3tot", "group": "Ungrouped variables", "definition": "A1+A2+A3", "description": "", "templateType": "anything", "can_override": false}, "A4tot": {"name": "A4tot", "group": "Ungrouped variables", "definition": "A1+A2+A3+A4", "description": "", "templateType": "anything", "can_override": false}, "B1tot": {"name": "B1tot", "group": "Ungrouped variables", "definition": "B1", "description": "", "templateType": "anything", "can_override": false}, "B2tot": {"name": "B2tot", "group": "Ungrouped variables", "definition": "B1+B2", "description": "", "templateType": "anything", "can_override": false}, "B3tot": {"name": "B3tot", "group": "Ungrouped variables", "definition": "B1+B2+B3", "description": "", "templateType": "anything", "can_override": false}, "B4tot": {"name": "B4tot", "group": "Ungrouped variables", "definition": "B1+B2+B3+B4", "description": "", "templateType": "anything", "can_override": false}, "C1tot": {"name": "C1tot", "group": "Ungrouped variables", "definition": "C1", "description": "", "templateType": "anything", "can_override": false}, "C2tot": {"name": "C2tot", "group": "Ungrouped variables", "definition": "C1+C2", "description": "", "templateType": "anything", "can_override": false}, "C3tot": {"name": "C3tot", "group": "Ungrouped variables", "definition": "C1+C2+C3", "description": "", "templateType": "anything", "can_override": false}, "C4tot": {"name": "C4tot", "group": "Ungrouped variables", "definition": "C1+C2+C3+C4", "description": "", "templateType": "anything", "can_override": false}, "A0": {"name": "A0", "group": "Ungrouped variables", "definition": "random(2300..1900)", "description": "", "templateType": "anything", "can_override": false}, "B0": {"name": "B0", "group": "Ungrouped variables", "definition": "random(3300..2900)", "description": "", "templateType": "anything", "can_override": false}, "C0": {"name": "C0", "group": "Ungrouped variables", "definition": "random(6300..5900)", "description": "", "templateType": "anything", "can_override": false}, "Aavinc": {"name": "Aavinc", "group": "Ungrouped variables", "definition": "(A1+A2+A3+A4)/4", "description": "", "templateType": "anything", "can_override": false}, "Bavinc": {"name": "Bavinc", "group": "Ungrouped variables", "definition": "(A1+A2+A3+A4)/4", "description": "", "templateType": "anything", "can_override": false}, "Cavinc": {"name": "Cavinc", "group": "Ungrouped variables", "definition": "(C1+C2+C3+C4)/4", "description": "", "templateType": "anything", "can_override": false}, "Aprofit": {"name": "Aprofit", "group": "Ungrouped variables", "definition": "A1+A2+A3+A4-A0", "description": "", "templateType": "anything", "can_override": false}, "Bprofit": {"name": "Bprofit", "group": "Ungrouped variables", "definition": "B1+B2+B3+B4-B0", "description": "", "templateType": "anything", "can_override": false}, "Cprofit": {"name": "Cprofit", "group": "Ungrouped variables", "definition": "C1+C2+C3+C4-C0", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["A1", "A2", "A3", "A4", "B1", "B2", "B3", "B4", "C1", "C2", "C3", "C4", "A1tot", "A2tot", "A3tot", "A4tot", "B1tot", "B2tot", "B3tot", "B4tot", "C1tot", "C2tot", "C3tot", "C4tot", "A0", "B0", "C0", "Aavinc", "Bavinc", "Cavinc", "Aprofit", "Bprofit", "Cprofit"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the profit for Project A?

", "minValue": "Aprofit", "maxValue": "Aprofit", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the profit for Project B?

", "minValue": "Bprofit", "maxValue": "Bprofit", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the profit for Project C?

", "minValue": "Cprofit", "maxValue": "Cprofit", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Average income", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Yvonne Wancke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3703/"}], "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

Compare the investments for the following 3 projects (A, B and C) using the average income method.

\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
YearProject AProject BProject C
0{A0}{B0}{C0}
1{A1}{B1}{C1}
2{A2}{B2}{C2}
3{A3}{B3}{C3}
4{A4}{B4}{C4}
\n

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"A1": {"name": "A1", "group": "Ungrouped variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "A2": {"name": "A2", "group": "Ungrouped variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "A3": {"name": "A3", "group": "Ungrouped variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "A4": {"name": "A4", "group": "Ungrouped variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "B1": {"name": "B1", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "B2": {"name": "B2", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "B3": {"name": "B3", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "B4": {"name": "B4", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "C1": {"name": "C1", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "C2": {"name": "C2", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "C3": {"name": "C3", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "C4": {"name": "C4", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "", "templateType": "anything", "can_override": false}, "A1tot": {"name": "A1tot", "group": "Ungrouped variables", "definition": "A1", "description": "", "templateType": "anything", "can_override": false}, "A2tot": {"name": "A2tot", "group": "Ungrouped variables", "definition": "A1+A2", "description": "", "templateType": "anything", "can_override": false}, "A3tot": {"name": "A3tot", "group": "Ungrouped variables", "definition": "A1+A2+A3", "description": "", "templateType": "anything", "can_override": false}, "A4tot": {"name": "A4tot", "group": "Ungrouped variables", "definition": "A1+A2+A3+A4", "description": "", "templateType": "anything", "can_override": false}, "B1tot": {"name": "B1tot", "group": "Ungrouped variables", "definition": "B1", "description": "", "templateType": "anything", "can_override": false}, "B2tot": {"name": "B2tot", "group": "Ungrouped variables", "definition": "B1+B2", "description": "", "templateType": "anything", "can_override": false}, "B3tot": {"name": "B3tot", "group": "Ungrouped variables", "definition": "B1+B2+B3", "description": "", "templateType": "anything", "can_override": false}, "B4tot": {"name": "B4tot", "group": "Ungrouped variables", "definition": "B1+B2+B3+B4", "description": "", "templateType": "anything", "can_override": false}, "C1tot": {"name": "C1tot", "group": "Ungrouped variables", "definition": "C1", "description": "", "templateType": "anything", "can_override": false}, "C2tot": {"name": "C2tot", "group": "Ungrouped variables", "definition": "C1+C2", "description": "", "templateType": "anything", "can_override": false}, "C3tot": {"name": "C3tot", "group": "Ungrouped variables", "definition": "C1+C2+C3", "description": "", "templateType": "anything", "can_override": false}, "C4tot": {"name": "C4tot", "group": "Ungrouped variables", "definition": "C1+C2+C3+C4", "description": "", "templateType": "anything", "can_override": false}, "A0": {"name": "A0", "group": "Ungrouped variables", "definition": "random(-2300..-1900)", "description": "", "templateType": "anything", "can_override": false}, "B0": {"name": "B0", "group": "Ungrouped variables", "definition": "random(-3300..-2900)", "description": "", "templateType": "anything", "can_override": false}, "C0": {"name": "C0", "group": "Ungrouped variables", "definition": "random(-6300..-5900)", "description": "", "templateType": "anything", "can_override": false}, "Aavinc": {"name": "Aavinc", "group": "Ungrouped variables", "definition": "(A1+A2+A3+A4)/4", "description": "", "templateType": "anything", "can_override": false}, "Bavinc": {"name": "Bavinc", "group": "Ungrouped variables", "definition": "(B1+B2+B3+B4)/4", "description": "", "templateType": "anything", "can_override": false}, "Cavinc": {"name": "Cavinc", "group": "Ungrouped variables", "definition": "(C1+C2+C3+C4)/4", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["A1", "A2", "A3", "A4", "B1", "B2", "B3", "B4", "C1", "C2", "C3", "C4", "A1tot", "A2tot", "A3tot", "A4tot", "B1tot", "B2tot", "B3tot", "B4tot", "C1tot", "C2tot", "C3tot", "C4tot", "A0", "B0", "C0", "Aavinc", "Bavinc", "Cavinc"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the average income for Project A?

", "minValue": "Aavinc", "maxValue": "Aavinc", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the average income for Project B?

", "minValue": "Bavinc", "maxValue": "Bavinc", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the average income for Project C?

", "minValue": "Cavinc", "maxValue": "Cavinc", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Accounting Rate of Return", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Yvonne Wancke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3703/"}], "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

£{amount} is invested. There is an income of £{anninc} for  each year of {years} years. Calculate the Accounting Rate of Return.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"arr": {"name": "arr", "group": "Ungrouped variables", "definition": "(anninc/amount)*100", "description": "", "templateType": "anything", "can_override": false}, "anninc": {"name": "anninc", "group": "Ungrouped variables", "definition": "random(6000..8000)", "description": "", "templateType": "anything", "can_override": false}, "amount": {"name": "amount", "group": "Ungrouped variables", "definition": "random(10000..30000)", "description": "

Initial investment

", "templateType": "anything", "can_override": false}, "years": {"name": "years", "group": "Ungrouped variables", "definition": "random(3..6)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["amount", "anninc", "years", "arr"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "arr", "maxValue": "arr", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Accounting Rate of Return 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Yvonne Wancke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3703/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

£{amount} is initially invested in a project. In the first year there is an income of £{incone} and for the later years there is an income of £{inclater}. Calculate the Accounting Rate of Return at the end of {years} years.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"amount": {"name": "amount", "group": "Ungrouped variables", "definition": "random(12000..30000)", "description": "

initial investment

", "templateType": "anything", "can_override": false}, "inclater": {"name": "inclater", "group": "Ungrouped variables", "definition": "random(6000..10000)", "description": "", "templateType": "anything", "can_override": false}, "years": {"name": "years", "group": "Ungrouped variables", "definition": "random(4..8)", "description": "", "templateType": "anything", "can_override": false}, "incone": {"name": "incone", "group": "Ungrouped variables", "definition": "random(3000..6000)", "description": "

in

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["amount", "incone", "inclater", "years"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "(((incone+(inclater*(years-1)))/years)/amount)*100", "maxValue": "(((incone+(inclater*(years-1)))/years)/amount)*100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": [], "enterreviewmodeimmediately": true, "showexpectedanswerswhen": "inreview", "showpartfeedbackmessageswhen": "always", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showadvicewhen": "inreview"}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "type": "exam", "contributors": [{"name": "Yvonne Wancke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3703/"}], "extensions": [], "custom_part_types": [], "resources": []}