i1 : needsPackage "NumericalAlgebraicGeometry" --warning: symbol "generalEquations" in PHCpack#"private dictionary" is shadowed by a symbol in NAGtypes.Dictionary -- no synonym is available --warning: symbol "addSlackVariables" in PHCpack#"private dictionary" is shadowed by a symbol in NAGtypes.Dictionary -- no synonym is available --warning: symbol "tDegree" in NumericalAlgebraicGeometry#"private dictionary" is shadowed by a symbol in PHCpack.Dictionary -- use the synonym NumericalAlgebraicGeometry$tDegree --warning: symbol "gamma" in NumericalAlgebraicGeometry#"private dictionary" is shadowed by a symbol in PHCpack.Dictionary -- use the synonym NumericalAlgebraicGeometry$gamma --warning: symbol "tDegree" in NumericalAlgebraicGeometry.Dictionary is shadowed by a symbol in PHCpack.Dictionary -- use the synonym NumericalAlgebraicGeometry$tDegree --warning: symbol "gamma" in NumericalAlgebraicGeometry.Dictionary is shadowed by a symbol in PHCpack.Dictionary -- use the synonym NumericalAlgebraicGeometry$gamma o1 = NumericalAlgebraicGeometry o1 : Package |
i2 : R = CC[x,y]; |
i3 : sols = solveSystem{x^2+y^2-3, x^3-y^3-7} o3 = {{-1.7957-1.31322*ii, 1.7957-1.31322*ii}, {-.101284+.779159*ii, ------------------------------------------------------------------------ -1.89699-.041601*ii}, {-1.7957+1.31322*ii, 1.7957+1.31322*ii}, ------------------------------------------------------------------------ {-.101284-.779159*ii, -1.89699+.041601*ii}, {1.89699+.041601*ii, ------------------------------------------------------------------------ .101284-.779159*ii}, {1.89699-.041601*ii, .101284+.779159*ii}} o3 : List |
i4 : norm(infinity, first sols) o4 = 2.22465672063909 o4 : RR (of precision 53) |
i5 : norm(2.5, last sols) o5 = 1.97857011037553 o5 : RR (of precision 53) |