[back] [prev] [next] [index] [root]

 


Solve

Solves an equation or computes the roots of a polynomial.

Syntax:

L := Solve(t, A);
L := Solve(o, a);
L := Solve(f);

list
  L  
Thue object
  t  
int
  A  
order
  o  
int | algebraic element
  a  
polynomial
  f  

See also:  OrderNormEquation, ThueSolve, PolyZeros

Description:

At the moment two kinds of equations can be solved using Solve. Furthermore it is possible to compute the roots of a polynomial.


Example:

Compute all x,y \in Z with x^3 + x^2 y - 6 x y^2 + 2 y^3 = 2:

kash> t := Thue( [1, 1, -6, 2] );
X^3 + X^2 Y - 6 X Y^2 + 2 Y^3
kash> Solve(t, 2);
> [ [ -724, -411 ], [ -4, -11 ], [ -3, 1 ], [ -1, -1 ], [ 0, 1 ], [ 2, 1 ] ]


<- back[back] [prev] [next] [index] [root]