MathGroup Archive 1999

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

Search the Archive

Re: Function evaluation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17587] Re: Function evaluation
  • From: "Neal E. Tornberg" <neal.e.tornberg at boeing.com>
  • Date: Mon, 17 May 1999 02:14:33 -0400
  • Organization: Boeing
  • References: <7hgdks$4c6@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Use the function Chop[] on your numerical result.

phpcp at csv.warwick.ac.uk wrote:
> 
> I have a function defined as
> 
> f[s_,n_]:=BesselK[0,n*(1-s)]-BesselK[0,n]*BesselI[0,n*(1-s)]/BesselI[0,n]
> 
> We can see that at s=0, f is zero. but mathematica returns a small number,
> i think it is the workingprecision. I have tried to change the working
> precision, but that does not help. the function still evaluates to a
> 10^-16 number. I am using this function to define other functions. Ccan
> someone help me find a way to evaluate this function correctly.
> 
> cheers,
> sanjay

-- 
Neal E. Tornberg
neal.e.tornberg at boeing.com

Nobody here thinks I speak for Boeing.
You shouldn't either.



  • Prev by Date: Re: Help! How to make the fonts in the help larger?
  • Next by Date: Re: ask for help on Mathematica
  • Previous by thread: Re: Function evaluation
  • Next by thread: Re: Function evaluation