// Numbas version: exam_results_page_options {"name": "L1 - 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": [{"functions": {}, "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers"]}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "
Multiplication of matrices of different sizes.
"}, "variablesTest": {"condition": "", "maxRuns": 100}, "name": "L1 - Matrix Multiplication (2x3 by 3x2 matrices)", "ungrouped_variables": ["a21", "a22", "b22", "b21", "b12", "b11", "a11", "a12", "a13", "a23", "b31", "b32", "a", "b"], "extensions": [], "parts": [{"adaptiveMarkingPenalty": 0, "marks": 0, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "type": "gapfill", "extendBaseMarkingAlgorithm": true, "unitTests": [], "gaps": [{"adaptiveMarkingPenalty": 0, "marks": "1", "allowResize": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "numRows": "2", "type": "matrix", "correctAnswerFractions": false, "extendBaseMarkingAlgorithm": true, "numColumns": "2", "unitTests": [], "showCorrectAnswer": true, "customName": "ab", "useCustomName": true, "correctAnswer": "{a}*{b}", "scripts": {}, "tolerance": 0, "allowFractions": false, "markPerCell": false, "variableReplacementStrategy": "originalfirst"}], "showCorrectAnswer": true, "customName": "", "sortAnswers": false, "useCustomName": false, "scripts": {}, "prompt": "$AB = \\var{a}\\times\\var{b} = $ [[0]]
", "variableReplacementStrategy": "originalfirst"}, {"adaptiveMarkingPenalty": 0, "marks": 0, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "type": "gapfill", "extendBaseMarkingAlgorithm": true, "unitTests": [], "gaps": [{"adaptiveMarkingPenalty": 0, "marks": "1", "allowResize": false, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacements": [], "numRows": "3", "type": "matrix", "correctAnswerFractions": false, "extendBaseMarkingAlgorithm": true, "numColumns": "3", "unitTests": [], "showCorrectAnswer": true, "customName": "ba", "useCustomName": true, "correctAnswer": "{b}*{a}", "scripts": {}, "tolerance": 0, "allowFractions": false, "markPerCell": false, "variableReplacementStrategy": "originalfirst"}], "showCorrectAnswer": true, "customName": "", "sortAnswers": false, "useCustomName": false, "scripts": {}, "prompt": "$BA = \\var{b}\\times\\var{a} = $ [[0]]
", "variableReplacementStrategy": "originalfirst"}], "variable_groups": [], "preamble": {"js": "", "css": ""}, "variables": {"b": {"name": "b", "definition": "matrix([b11,b12],[b21,b22],[b31,b32])", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "a11": {"name": "a11", "definition": "random(-2,1,2)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "a23": {"name": "a23", "definition": "random(-2..3)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b12": {"name": "b12", "definition": "random(-3..1)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "a": {"name": "a", "definition": "matrix([a11,a12,a13],[a21,a22,a23])", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b11": {"name": "b11", "definition": "random(-3,-1,0,3)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b22": {"name": "b22", "definition": "random(-3..-1)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "a22": {"name": "a22", "definition": "random(1..3)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "a21": {"name": "a21", "definition": "random(-2..2)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b31": {"name": "b31", "definition": "random(-1..1)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b21": {"name": "b21", "definition": "random(2,3)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b32": {"name": "b32", "definition": "random(2..5)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "a13": {"name": "a13", "definition": "random(0..2)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "a12": {"name": "a12", "definition": "random(1..4)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}}, "tags": [], "advice": "", "statement": "Let
\\[A=\\var{a},\\;\\; B=\\var{b},\\;\\; \\]
Calculate the following products of these matrices: