Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: function that gives list of roots

  • To: mathgroup at
  • Subject: [mg47399] Re: function that gives list of roots
  • From: bobhanlon at (Bob Hanlon)
  • Date: Thu, 8 Apr 2004 05:45:57 -0400 (EDT)
  • References: <c5273s$ds8$>
  • Sender: owner-wri-mathgroup at

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>, e9926600 at (philipp)

<< 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