MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: function that gives list of roots


f[a_,b_,c_,d_] :=
    Evaluate[x/.Solve[x^4+a*x^3+b*x^2+c*x+d==0, x]];


Bob Hanlon

In article <c5273s$ds8$1 at smc.vnet.net>, e9926600 at stud4.tuwien.ac.at (philipp)
wrote:

<< i would like to define a function, that gives me back the nth root
(symbolic) of a given 4thorder equation; i want the result as a list
of only expressions and not with that "x->"
there is for sure no problem in solving the equation; i did it already
outside the function; outside the function i also could transform the
solutions into a normal list by using x/.%, but inside that wont work


  • Prev by Date: fixed point _convergence _check
  • Next by Date: Re: Why do two equivalent expression give different answers?
  • Previous by thread: function that gives list of roots
  • Next by thread: Re: function that gives list of roots