MathGroup Archive 2005

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

Search the Archive

Re: refer to the result of FindRoot[ ]


x/.FindRoot[Sin[x]==Exp[x],{x,1}]

-6.28131

x/.Solve[a*x^2+b*x+c==0,x]

{(-b - Sqrt[b^2 - 4*a*c])/(2*a), (Sqrt[b^2 - 4*a*c] - b)/
   (2*a)}


Bob Hanlon

> 
> From: perimeterbow at gmail.com
To: mathgroup at smc.vnet.net
> Date: 2005/10/21 Fri AM 12:38:04 EDT
> Subject: [mg61544] [mg61520] refer to the result of FindRoot[ ]
> 
> FindRoot[] returns result in this format {x->2.123}, how can I get rid
> of the x-> so I can use the number directly to automate calculation
> flow?
> Thanks.
> 
> 


  • Prev by Date: Eliminating parameters
  • Next by Date: incompatible standard packages
  • Previous by thread: Re: refer to the result of FindRoot[ ]
  • Next by thread: Re: refer to the result of FindRoot[ ]