MathGroup Archive 2005

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

Search the Archive

Re: numerical solutions to two non algebraic equations.


Bob,

NMinimize[{0, Sin[x] - Exp[-x] == 0}, {x, 2.5, 3.5}]
{0., {x -> 3.0963639322936016}}
Sin[x] - Exp[-x] /. x -> 3.0963639322936016
1.1163282104265093*^-10

NMinimize[{0, (9^x)*Log[x] == Log[9]}, {x, 1., 2.}]
{0., {x -> 1.179067993922227}}
x^(9^x) - 9 /. x -> 1.179067993922227
-3.026201333966583*^-8

You could increase the default accuracy if needed, by setting NMinimize 
options.

Regards,
Janos D. Pinter, PhD, DSc
PCS Inc.
E-mail: jdpinter at hfx.eastlink.ca
Web: www.pinterconsulting.com



At 03:39 AM 3/26/2005, Robert G. Wilson v wrote:

>Hello,
>
>         I am trying to get the decimal expansion of solution to
>sin(x)-exp(-x)=0 around pi, its about 3.093639, and the decimal
>expansion of solution to x^(9^x)=9, its about 1.179.
>
>         Thank you for your time and consideration.
>
>Bob.
>
>
>


  • Prev by Date: Re: point in convex hull
  • Next by Date: Re: 3D Plots: Specifying GridLine spacing for FaceGrids
  • Previous by thread: Re: numerical solutions to two non algebraic equations.
  • Next by thread: Re: numerical solutions to two non algebraic equations.