Use Ctrl+Enter to enter expression.
; at the end of an expression.
Using Maxima for Linear Algebra
row1 : [1,2,3]
- Defining matrix:
mat : matrix(row1, row2, row3)
Solving linear system
linsolve. Group the linear system in brackets, e.g.
eq1: y = 2*x + 3 + z; eq2: y = 4*x + 6 + 2*z linsolve([eq1, eq2], [x, y])
solve can be used to solve both linear and non-linear systems, but with a
different function protocol, e.g.
But note that
solve must have the same number of equations and unknowns.