// Numbas version: exam_results_page_options {"name": "Matrix Multiplication (2x3 by 3x2 matrices)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"b12": {"name": "b12", "description": "", "group": "Ungrouped variables", "definition": "random(-3..1)", "templateType": "anything"}, "c12": {"name": "c12", "description": "", "group": "Ungrouped variables", "definition": "a12+b12", "templateType": "anything"}, "ba23": {"name": "ba23", "description": "", "group": "Ungrouped variables", "definition": "b21*a13+b22*a23", "templateType": "anything"}, "ba13": {"name": "ba13", "description": "", "group": "Ungrouped variables", "definition": "b11*a13+b12*a23", "templateType": "anything"}, "ac12": {"name": "ac12", "description": "", "group": "Ungrouped variables", "definition": "a11*c12+a12*c22", "templateType": "anything"}, "b22": {"name": "b22", "description": "", "group": "Ungrouped variables", "definition": "random(-3..-1)", "templateType": "anything"}, "a23": {"name": "a23", "description": "", "group": "Ungrouped variables", "definition": "random(-2..3)", "templateType": "anything"}, "ac21": {"name": "ac21", "description": "", "group": "Ungrouped variables", "definition": "a21*c11+a22*c21", "templateType": "anything"}, "ba21": {"name": "ba21", "description": "", "group": "Ungrouped variables", "definition": "b21*a11+b22*a21", "templateType": "anything"}, "cb22": {"name": "cb22", "description": "", "group": "Ungrouped variables", "definition": "c21*b12+c22*b22", "templateType": "anything"}, "ba33": {"name": "ba33", "description": "", "group": "Ungrouped variables", "definition": "b31*a13+b32*a23", "templateType": "anything"}, "ba12": {"name": "ba12", "description": "", "group": "Ungrouped variables", "definition": "b11*a12+b12*a22", "templateType": "anything"}, "ba32": {"name": "ba32", "description": "", "group": "Ungrouped variables", "definition": "b31*a12+b32*a22", "templateType": "anything"}, "b32": {"name": "b32", "description": "", "group": "Ungrouped variables", "definition": "random(2..5)", "templateType": "anything"}, "ac22": {"name": "ac22", "description": "", "group": "Ungrouped variables", "definition": "a21*c12+a22*c22", "templateType": "anything"}, "c21": {"name": "c21", "description": "", "group": "Ungrouped variables", "definition": "random(2..5)", "templateType": "anything"}, "b21": {"name": "b21", "description": "", "group": "Ungrouped variables", "definition": "random(2,3)", "templateType": "anything"}, "cb21": {"name": "cb21", "description": "", "group": "Ungrouped variables", "definition": "c21*b11+c22*b21", "templateType": "anything"}, "c22": {"name": "c22", "description": "", "group": "Ungrouped variables", "definition": "random(0,1)", "templateType": "anything"}, "a13": {"name": "a13", "description": "", "group": "Ungrouped variables", "definition": "random(0..2)", "templateType": "anything"}, "a12": {"name": "a12", "description": "", "group": "Ungrouped variables", "definition": "random(1..4)", "templateType": "anything"}, "b31": {"name": "b31", "description": "", "group": "Ungrouped variables", "definition": "random(-1..1)", "templateType": "anything"}, "a21": {"name": "a21", "description": "", "group": "Ungrouped variables", "definition": "random(-2..2)", "templateType": "anything"}, "ab22": {"name": "ab22", "description": "", "group": "Ungrouped variables", "definition": "a21*b12+a22*b22+a23*b32", "templateType": "anything"}, "a11": {"name": "a11", "description": "", "group": "Ungrouped variables", "definition": "random(-2,1,2)", "templateType": "anything"}, "ba31": {"name": "ba31", "description": "", "group": "Ungrouped variables", "definition": "b31*a11+b32*a21", "templateType": "anything"}, "ba11": {"name": "ba11", "description": "", "group": "Ungrouped variables", "definition": "b11*a11+b12*a21", "templateType": "anything"}, "ab11": {"name": "ab11", "description": "", "group": "Ungrouped variables", "definition": "a11*b11+a12*b21+a13*b31", "templateType": "anything"}, "ba22": {"name": "ba22", "description": "", "group": "Ungrouped variables", "definition": "b21*a12+b22*a22", "templateType": "anything"}, "ac11": {"name": "ac11", "description": "", "group": "Ungrouped variables", "definition": "a11*c11+a12*c21", "templateType": "anything"}, "ab12": {"name": "ab12", "description": "", "group": "Ungrouped variables", "definition": "a11*b12+a12*b22+a13*b32", "templateType": "anything"}, "cb12": {"name": "cb12", "description": "", "group": "Ungrouped variables", "definition": "c11*b12+c12*b22", "templateType": "anything"}, "b11": {"name": "b11", "description": "", "group": "Ungrouped variables", "definition": "random(-3,-1,0,3)", "templateType": "anything"}, "c11": {"name": "c11", "description": "", "group": "Ungrouped variables", "definition": "random(1,0,4)", "templateType": "anything"}, "cb11": {"name": "cb11", "description": "", "group": "Ungrouped variables", "definition": "c11*b11+c12*b21", "templateType": "anything"}, "ab21": {"name": "ab21", "description": "", "group": "Ungrouped variables", "definition": "a21*b11+a22*b21+a23*b31", "templateType": "anything"}, "a22": {"name": "a22", "description": "", "group": "Ungrouped variables", "definition": "random(1..3)", "templateType": "anything"}}, "preamble": {"css": "", "js": ""}, "name": "Matrix Multiplication (2x3 by 3x2 matrices)", "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "

Multiplication of  matrices of different sizes.

", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "functions": {}, "tags": [], "extensions": [], "parts": [{"unitTests": [], "showCorrectAnswer": true, "gaps": [{"unitTests": [], "allowResize": false, "showCorrectAnswer": true, "tolerance": 0, "numRows": "2", "correctAnswer": "matrix([\n [ab11,ab12],\n [ab21,ab22]\n])", "adaptiveMarkingPenalty": 0, "extendBaseMarkingAlgorithm": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "numColumns": "2", "customMarkingAlgorithm": "", "scripts": {}, "variableReplacements": [], "markPerCell": false, "customName": "", "useCustomName": false, "correctAnswerFractions": false, "showFeedbackIcon": true, "marks": "1", "type": "matrix"}], "adaptiveMarkingPenalty": 0, "extendBaseMarkingAlgorithm": true, "prompt": "

$AB = \\begin{pmatrix} \\var{a11}&\\var{a12}&\\var{a13}\\\\ \\var{a21}&\\var{a22}&\\var{a23}\\\\ \\end{pmatrix}\\begin{pmatrix} \\var{b11}&\\var{b12}\\\\ \\var{b21}&\\var{b22}\\\\ \\var{b31}&\\var{b32}\\end{pmatrix} = $ [[0]]

", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "scripts": {}, "sortAnswers": false, "variableReplacements": [], "customName": "", "useCustomName": false, "showFeedbackIcon": true, "marks": 0, "type": "gapfill"}, {"unitTests": [], "showCorrectAnswer": true, "gaps": [{"unitTests": [], "allowResize": false, "showCorrectAnswer": true, "tolerance": 0, "numRows": "3", "correctAnswer": "matrix([\n [ba11,ba12,ba13],\n [ba21,ba22,ba23],\n [ba31,ba32,ba33]\n])", "adaptiveMarkingPenalty": 0, "extendBaseMarkingAlgorithm": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "numColumns": "3", "customMarkingAlgorithm": "", "scripts": {}, "variableReplacements": [], "markPerCell": false, "customName": "", "useCustomName": false, "correctAnswerFractions": false, "showFeedbackIcon": true, "marks": "1", "type": "matrix"}], "adaptiveMarkingPenalty": 0, "extendBaseMarkingAlgorithm": true, "prompt": "

$BA = \\begin{pmatrix} \\var{b11}&\\var{b12}\\\\ \\var{b21}&\\var{b22}\\\\ \\var{b31}&\\var{b32}\\end{pmatrix}\\begin{pmatrix} \\var{a11}&\\var{a12}&\\var{a13}\\\\ \\var{a21}&\\var{a22}&\\var{a23}\\\\ \\end{pmatrix}=$ [[0]]

", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "scripts": {}, "sortAnswers": false, "variableReplacements": [], "customName": "", "useCustomName": false, "showFeedbackIcon": true, "marks": 0, "type": "gapfill"}], "statement": "

Do the following matrix problems :
Let
\\[A=\\begin{pmatrix} \\var{a11}&\\var{a12}&\\var{a13}\\\\ \\var{a21}&\\var{a22}&\\var{a23}\\\\ \\end{pmatrix},\\;\\; B=\\begin{pmatrix} \\var{b11}&\\var{b12}\\\\ \\var{b21}&\\var{b22}\\\\ \\var{b31}&\\var{b32}\\end{pmatrix},\\;\\; \\]
Calculate the following products of these matrices:

", "ungrouped_variables": ["ba21", "a21", "a22", "ba22", "cb21", "b22", "b21", "cb22", "ac22", "ac21", "ab22", "ab21", "b12", "b11", "c12", "c11", "c22", "a11", "cb11", "cb12", "a12", "c21", "ba11", "ba12", "ab12", "ab11", "ac12", "ac11", "a13", "a23", "b31", "b32", "ba13", "ba23", "ba31", "ba32", "ba33"], "advice": "", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers"]}, "contributors": [{"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Violeta CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1030/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}