Element pl-matrix-input: Matrix algebra with complex values

Two matrices $A$ and $B$ are given as follows:

1
2
A = [-1.00-0.80j 0.90+0.20j; -0.90-0.30j -0.70+0.60j];
B = [0.50+0.50j 0.70-0.20j; -0.50+0.90j 0.90-0.40j];
1
2
A = {{-1.00-0.80j, 0.90+0.20j}, {-0.90-0.30j, -0.70+0.60j}};
B = {{0.50+0.50j, 0.70-0.20j}, {-0.50+0.90j, 0.90-0.40j}};
1
2
3
4
import numpy as np

A = np.array([[-1.00-0.80j, 0.90+0.20j], [-0.90-0.30j, -0.70+0.60j]])
B = np.array([[0.50+0.50j, 0.70-0.20j], [-0.50+0.90j, 0.90-0.40j]])
1
2
A = matrix(c(-1.00-0.80j, 0.90+0.20j, -0.90-0.30j, -0.70+0.60j), nrow = 2, ncol = 2, byrow = TRUE)
B = matrix(c(0.50+0.50j, 0.70-0.20j, -0.50+0.90j, 0.90-0.40j), nrow = 2, ncol = 2, byrow = TRUE)
1
2
3
4
from sympy import *

A = Matrix([[-1.00-0.80j, 0.90+0.20j], [-0.90-0.30j, -0.70+0.60j]])
B = Matrix([[0.50+0.50j, 0.70-0.20j], [-0.50+0.90j, 0.90-0.40j]])

Find the product of these two matrices:

Correct answer

Student view placeholder

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

Staff information

Question

Title:
Element pl-matrix-input: Matrix algebra with complex values

Variant

Started at:
2026-09-19 09:08:07 (CDT)
Duration:
0s
Show/Hide answer
{
  "C": {
    "_type": "complex_ndarray",
    "_dtype": "complex128",
    "_value": {
      "imag": [
        [
          -0.18999999999999995,
          -0.54
        ],
        [
          -1.53,
          0.79
        ]
      ],
      "real": [
        [
          -0.73,
          0.03000000000000007
        ],
        [
          -0.49000000000000005,
          -1.08
        ]
      ]
    }
  }
}
History
dec frac
rad deg