Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg47399] Re: function that gives list of roots
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Thu, 8 Apr 2004 05:45:57 -0400 (EDT)
  • References: <c5273s$ds8$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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