# Maxima

# wxMaxima

Use Ctrl+Enter to enter expression.

Usually, put `;`

at the end of an expression.

# Using Maxima for Linear Algebra

## Basics

- Assignment:
`row1 : [1,2,3]`

- Defining matrix:
`mat : matrix(row1, row2, row3)`

## Solving linear system

Use

`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])`

Note `solve`

can be used to solve both linear and non-linear systems, but with a
different function protocol, e.g.

```
solve([eq1, eq2])
```

But note that `solve`

must have the same number of equations and unknowns.