MathGroup Archive 2005

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

Search the Archive

Re: refer to the result of FindRoot[ ]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61544] Re: [mg61520] refer to the result of FindRoot[ ]
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 22 Oct 2005 00:35:30 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

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