// Numbas version: finer_feedback_settings {"name": "Identify Classes", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Identify Classes", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Identify the classes for the Markov chain with the following transitional probability matrix:

\n

$\\mathbf{P}= \\begin{bmatrix}\\var{a1} & \\var{a2} & \\var{a3} & \\var{a4} & \\var{a5} \\\\ \\var{b1} & \\var{b2} & \\var{b3} & \\var{b4} & \\var{b5} \\\\ \\var{c1} & \\var{c2} & \\var{c3} & \\var{c4} & \\var{c5} \\\\ \\var{d1} & \\var{d2} & \\var{d3} & \\var{d4} & \\var{d5} \\\\ \\var{e1} & \\var{e2} & \\var{e3} & \\var{e4} & \\var{e5} \\\\ \\end{bmatrix} $

", "advice": "

Periodicity is determined by the GCD of steps taken to return to the state.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a1": {"name": "a1", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 1/random(3..6))", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1/random(2..4),\n Dec=3, 1/random(3..6))", "description": "", "templateType": "anything", "can_override": false}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1-a1-a2,\n Dec=3, 1-a1-a2)", "description": "", "templateType": "anything", "can_override": false}, "a4": {"name": "a4", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "a5": {"name": "a5", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1-a1-a2-a3-a4,\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1/random(3..6),\n Dec=3, 1/random(3..6))", "description": "", "templateType": "anything", "can_override": false}, "b2": {"name": "b2", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 1/random(3..6))", "description": "", "templateType": "anything", "can_override": false}, "b3": {"name": "b3", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1 -b1 -b2,\n Dec=3, 1 -b1 -b2)", "description": "", "templateType": "anything", "can_override": false}, "b4": {"name": "b4", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "b5": {"name": "b5", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1-b1-b2-b3-b4,\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1/random(3..6),\n Dec=3, 1/random(3..6))", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1-c1-c3,\n Dec=3, 1-c1-c3)", "description": "", "templateType": "anything", "can_override": false}, "c3": {"name": "c3", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 1/random(3..6))", "description": "", "templateType": "anything", "can_override": false}, "c4": {"name": "c4", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "d1": {"name": "d1", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "d2": {"name": "d2", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "d3": {"name": "d3", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1/2,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "d4": {"name": "d4", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1/random(3,4),\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "d5": {"name": "d5", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1-d1-d2-d3-d4,\n Dec=2, 1-d3-d4,\n Dec=3, 1)", "description": "", "templateType": "anything", "can_override": false}, "e1": {"name": "e1", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "e2": {"name": "e2", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "e3": {"name": "e3", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "e4": {"name": "e4", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1/random(5..10),\n Dec=2, 1/random(2,3),\n Dec=3, 1)", "description": "", "templateType": "anything", "can_override": false}, "e5": {"name": "e5", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1-e1-e2-e3-e4,\n Dec=2, 1-e4,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "Dec": {"name": "Dec", "group": "Ungrouped variables", "definition": "random(1 .. 3#1)", "description": "

Chooses from the 3 answers.

", "templateType": "randrange", "can_override": false}, "c5": {"name": "c5", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1-c1-c2-c3-c4,\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 1,\n Dec=2, 0,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}, "ans3": {"name": "ans3", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 0,\n Dec=2, 0,\n Dec=3, 1)", "description": "", "templateType": "anything", "can_override": false}, "ans2": {"name": "ans2", "group": "Ungrouped variables", "definition": "switch(\n Dec=1, 0,\n Dec=2, 1,\n Dec=3, 0)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a1", "a2", "a3", "a4", "a5", "b1", "b2", "b3", "b4", "b5", "c1", "c2", "c3", "c4", "c5", "d1", "d2", "d3", "d4", "d5", "e1", "e2", "e3", "e4", "e5", "Dec", "ans1", "ans2", "ans3"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {"mark": {"script": "// Reveal answers, score and advice\nthis.display.revealAnswer();\nthis.display.showScore();\nNumbas.controls.getAdvice();", "order": "before"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\{A, B, C, D, E\\}$ - aperiodic, recurrent", "$\\{A, B, C\\}$ - aperiodic, recurrent, $\\{D, E\\}$ - transient", "$\\{A, B, C\\}$ - aperiodic, recurrent, $\\{D, E\\}$ - period = 2, recurrent"], "matrix": ["{ans1}", "{ans2}", "{ans3}"], "distractors": ["", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "adam bretherton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18177/"}], "resources": []}]}], "contributors": [{"name": "adam bretherton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18177/"}]}