NapkinCalc

Start Here — A Complete Tour

Matrices & linear algebra

continues from lesson 7 — values defined earlier in the course stay live here

Write a matrix with nested brackets, then use the built-in linear-algebra functions — det, inv, transpose, multiplication with *, and more.

matrixA:=[[1,2],[3,4]]matrix_{A} := [[1, 2], [3, 4]] = [[1,2],[3,4]][[1, 2], [3, 4]] a 2×2 matrix
detA=det(matrixA)det_{A} = \mathrm{det}\left(matrix_{A}\right) = 2-2 its determinant
✓ pass detA==2det_{A} == -2