Lade Daten...
randRange(-2, 4, ROWS, COLS) randRange(-2, 4, ROWS, COLS) randFromArray(["+", "-"]) deepZipWith(2, function(a, b) { if (OPERATION === "+") { return a + b; } else { return a - b; } }, MAT_A, MAT_B) matrixPad(SOLN_MAT, 3, 3) BLUE GREEN PINK printSimpleMatrix(MAT_A, MAT_A_COLOR) printSimpleMatrix(MAT_B, MAT_B_COLOR) printMatrix(function(a, b) { a = colorMarkup(a, MAT_A_COLOR); b = colorMarkup(b, MAT_B_COLOR); return a + OPERATION + b; }, MAT_A, MAT_B) printSimpleMatrix(SOLN_MAT, SOLN_MAT_COLOR)
\Large{ PRETTY_MAT_A + OPERATION + PRETTY_MAT_B = {?} }

Um die Summe Differenz der beiden Matrizen zu finden, müssen wir die korrespondierenden Elemente jeder Matrix miteinander addieren voneinander subtrahieren.

\Large{PRETTY_HINT_MAT}

Nun vereinfachen wir:

\Large{PRETTY_SOLN_MAT}
elem elem
2 2
2 3
3 1
3 2