CASCALC89 COMMAND · NOT ON THE TI-89
linSolve(
Solves a system of linear equations and returns the values of the variables as a list.
Syntax
linSolve({equations}, {vars})
- Group
- Algebra
- Arguments
- Takes a list of equations and a list of variables, each in braces.
- Availability
- Pro feature in Calc89
- Origin
- TI-Nspire CAS style command; the TI-89 Titanium handheld does not have it
Example
| Input | Result |
|---|---|
| linSolve({x+y=3,x-y=1},{x,y}) | {2,1} |
Typing linSolve({x+y=3,x-y=1},{x,y}) on the home screen and pressing ENTER returns {2,1}.
Related commands
- nSolve(Finds one real solution of an equation numerically.
- piecewise(Defines a piecewise function from pairs of values and conditions; each value applies where its condition is true.
- polyCoeffs(Returns the coefficients of a polynomial as a list, starting with the highest power.
- polyDegree(Returns the degree of a polynomial, the highest power of the variable that occurs.
- polyGcd(Returns the greatest common divisor of two polynomials.
- polyQuotient(Divides one polynomial by another and returns the quotient, as in polynomial long division.
- polyRemainder(Divides one polynomial by another and returns the remainder, as in polynomial long division.
- polyRoots(Returns the real roots of a polynomial as a list.