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

Finding Elements of a Matrix

\n

For each of the given matrices, determine the value of the specific element

", "advice": "

We are presented with random matrices and asked to identify certain elements of those matrices.

\n

What you need to remember is:

\n

In matrix $A$ the element in row $i$ and column $j$ is denoted by $a_{ij}$ .

\n

 

\n

In easier terms, in the subscript the numbers represent row then column

\n

 

\n

So given the matrix  $A=\\var{A}$

\n

$a_{\\var{n1}\\var{m1}}$ is the element in row $\\var{n1}$ and column $\\var{m1}$. Therefore,  $a_{\\var{n1}\\var{m1}}=\\var{E1}$

\n

 

\n

given the matrix  $B=\\var{B}$

\n

$b_{\\var{n2}\\var{m2}}$ is the element in row $\\var{n2}$ and column $\\var{m2}$. Therefore,  $b_{\\var{n2}\\var{m2}}=\\var{E2}$

\n

 

\n

given the matrix  $C=\\var{C}$

\n

$c_{\\var{n3}\\var{m3}}$ is the element in row $\\var{n3}$ and column $\\var{m3}$. Therefore,  $c_{\\var{n3}\\var{m3}}=\\var{E3}$

\n

$c_{\\var{n4}\\var{m4}}$ is the element in row $\\var{n4}$ and column $\\var{m4}$. Therefore,  $c_{\\var{n4}\\var{m4}}=\\var{E4}$

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"m1": {"name": "m1", "group": "A", "definition": "random(1..2)", "description": "", "templateType": "anything", "can_override": false}, "A": {"name": "A", "group": "A", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n1),m1)))", "description": "", "templateType": "anything", "can_override": false}, "n2": {"name": "n2", "group": "B", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "m2": {"name": "m2", "group": "B", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "B": {"name": "B", "group": "B", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n2),m2)))", "description": "", "templateType": "anything", "can_override": false}, "n3": {"name": "n3", "group": "C", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "m3": {"name": "m3", "group": "C", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "C": {"name": "C", "group": "C", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n3),m3)))", "description": "", "templateType": "anything", "can_override": false}, "n4": {"name": "n4", "group": "D", "definition": "random(1..(n3-1) except n3)", "description": "", "templateType": "anything", "can_override": false}, "m4": {"name": "m4", "group": "D", "definition": "random(1..(m3-1) except m3)", "description": "", "templateType": "anything", "can_override": false}, "n1": {"name": "n1", "group": "A", "definition": "random(1..(m3-1) except m3)", "description": "", "templateType": "anything", "can_override": false}, "D": {"name": "D", "group": "D", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n4),m4)))", "description": "", "templateType": "anything", "can_override": false}, "n5": {"name": "n5", "group": "E", "definition": "m3", "description": "", "templateType": "anything", "can_override": false}, "m5": {"name": "m5", "group": "E", "definition": "n4", "description": "", "templateType": "anything", "can_override": false}, "EE": {"name": "EE", "group": "E", "definition": "transpose(matrix(repeat(repeat(random(-9..9),n5),m5)))", "description": "", "templateType": "anything", "can_override": false}, "e1": {"name": "e1", "group": "A", "definition": "A[n1-1][m1-1]", "description": "", "templateType": "anything", "can_override": false}, "E2": {"name": "E2", "group": "B", "definition": "b[n2-1][m2-1]", "description": "", "templateType": "anything", "can_override": false}, "E3": {"name": "E3", "group": "C", "definition": "c[n3-1][m3-1]", "description": "", "templateType": "anything", "can_override": false}, "E4": {"name": "E4", "group": "C", "definition": "c[n4-1][m4-1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "A", "variables": ["n1", "m1", "A", "e1"]}, {"name": "B", "variables": ["n2", "m2", "B", "E2"]}, {"name": "C", "variables": ["n3", "m3", "C", "E3", "E4"]}, {"name": "D", "variables": ["n4", "m4", "D"]}, {"name": "E", "variables": ["n5", "m5", "EE"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Consider the matrices:

\n

$$
A=\\var{A}, \\ \\ 
B=\\var{B}, \\ \\ 
C=\\var{C}
$$

\n

Give the values of the following elements:

\n

$a_{\\var{n1}\\var{m1}}=$ [[0]]

\n

 

\n

$b_{\\var{n2}\\var{m2}}=$ [[1]]

\n

 

\n

$c_{\\var{n3}\\var{m3}}=$ [[2]]

\n

 

\n

$c_{\\var{n4}\\var{m4}}=$ [[3]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "A[n1-1][m1-1]", "maxValue": "A[n1-1][m1-1]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "b[n2-1][m2-1]", "maxValue": "b[n2-1][m2-1]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c[n3-1][m3-1]", "maxValue": "c[n3-1][m3-1]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c[n4-1][m4-1]", "maxValue": "c[n4-1][m4-1]", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Tamsin Smith", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14108/"}, {"name": "Fraser Buxton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/24224/"}]}]}], "contributors": [{"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Tamsin Smith", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14108/"}, {"name": "Fraser Buxton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/24224/"}]}