You are viewing this question as it will appear in the manual grading interface. Return to the normal view when you are done.

Multiply two matrices

Suppose ${\bf A}$ is the following matrix:

${\bf A} = \begin{bmatrix} 0.1 & 0.2 & 0.3\\ 0.2 & 0.8 & 0.1\\ 0.4 & 0.1 & 0.8\\\end{bmatrix}$

In code this is:

1
A = [0.1 0.2 0.3; 0.2 0.8 0.1; 0.4 0.1 0.8];
1
A = {{0.1, 0.2, 0.3}, {0.2, 0.8, 0.1}, {0.4, 0.1, 0.8}};
1
2
3
import numpy as np

A = np.array([[0.1, 0.2, 0.3], [0.2, 0.8, 0.1], [0.4, 0.1, 0.8]])
1
A = matrix(c(0.1, 0.2, 0.3, 0.2, 0.8, 0.1, 0.4, 0.1, 0.8), nrow = 3, ncol = 3, byrow = TRUE)
1
2
3
from sympy import *

A = Matrix([[0.1, 0.2, 0.3], [0.2, 0.8, 0.1], [0.4, 0.1, 0.8]])

What is the matrix ${\bf B} = {\bf A}{\bf A}^T$?

Correct answer

${\bf B} =$ [0.14 0.21 0.30; 0.21 0.69 0.24; 0.30 0.24 0.81]

${\bf B} =$ [[0.14, 0.21, 0.30], [0.21, 0.69, 0.24], [0.30, 0.24, 0.81]]

Student view placeholder

In student views this area is used for assessment and score info.
Tools

Staff information

Question

Title:
Multiply two matrices

Variant

Started at:
2026-09-19 08:00:48 (CDT)
Duration:
0s
Show/Hide answer
{
  "B": {
    "_type": "ndarray",
    "_dtype": "float64",
    "_value": [
      [
        0.14,
        0.21000000000000002,
        0.3
      ],
      [
        0.21000000000000002,
        0.6900000000000001,
        0.24000000000000005
      ],
      [
        0.3,
        0.24000000000000005,
        0.8100000000000002
      ]
    ]
  }
}
History
dec frac
rad deg