// Numbas version: exam_results_page_options {"name": "Inverse of a matrix", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Inverse of a matrix", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

\\[A = \\left(\\begin{array}{rrr} \\var{a11} & \\var{a12} & \\var{a13}\\\\ \\var{a21} & \\var{a22} & \\var{a23}\\\\ \\var{a31} & \\var{a32} & \\var{a33}\\\\ \\end{array}\\right)\\]

", "advice": "

Please see lecture slides for worked example.

", "rulesets": {}, "extensions": [], "variables": {"a11": {"name": "a11", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a12": {"name": "a12", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a13": {"name": "a13", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a21": {"name": "a21", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a22": {"name": "a22", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a23": {"name": "a23", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a31": {"name": "a31", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a32": {"name": "a32", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "a33": {"name": "a33", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything"}, "detA": {"name": "detA", "group": "Ungrouped variables", "definition": "det(A)", "description": "", "templateType": "anything"}, "A": {"name": "A", "group": "Ungrouped variables", "definition": "matrix([a11,a12,a13],[a21,a22,a23],[a31,a32,a33])", "description": "", "templateType": "anything"}, "c11": {"name": "c11", "group": "Cofactors", "definition": "a22*a33-a32*a23", "description": "", "templateType": "anything"}, "c12": {"name": "c12", "group": "Cofactors", "definition": "a23*a31-a21*a33", "description": "", "templateType": "anything"}, "c13": {"name": "c13", "group": "Cofactors", "definition": "a21*a32-a31*a22", "description": "", "templateType": "anything"}, "c21": {"name": "c21", "group": "Cofactors", "definition": "a32*a13-a12*a33", "description": "", "templateType": "anything"}, "c22": {"name": "c22", "group": "Cofactors", "definition": "a11*a33-a31*a13", "description": "", "templateType": "anything"}, "c23": {"name": "c23", "group": "Cofactors", "definition": "a12*a31-a11*a32", "description": "", "templateType": "anything"}, "c31": {"name": "c31", "group": "Cofactors", "definition": "a12*a23-a22*a13", "description": "", "templateType": "anything"}, "c32": {"name": "c32", "group": "Cofactors", "definition": "a13*a21-a11*a23", "description": "", "templateType": "anything"}, "c33": {"name": "c33", "group": "Cofactors", "definition": "a11*a22-a12*a21", "description": "", "templateType": "anything"}, "C": {"name": "C", "group": "Cofactors", "definition": "matrix([c11,c21,c31],[c12,c22,c32],[c13,c23,c33])", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "det(A)<>0", "maxRuns": 100}, "ungrouped_variables": ["a11", "a12", "a13", "a21", "a22", "a23", "a31", "a32", "a33", "detA", "A"], "variable_groups": [{"name": "Cofactors", "variables": ["c11", "c12", "c13", "c21", "c22", "c23", "c31", "c32", "c33", "C"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the inverse of matrix $A$

\n

(Note, this is presented with the determinant as a fraction)

\n

$A^{-1} = 1/$ [[0]][[1]]

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "detA", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "detA", "maxValue": "detA", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "matrix", "useCustomName": true, "customName": "cofA", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "correctAnswer": "C", "correctAnswerFractions": false, "numRows": "3", "numColumns": "3", "allowResize": false, "tolerance": 0, "markPerCell": false, "allowFractions": false, "minColumns": 1, "maxColumns": 0, "minRows": 1, "maxRows": 0}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Heather Driscoll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1703/"}]}]}], "contributors": [{"name": "Heather Driscoll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1703/"}]}