MathGroup Archive 2006

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

Search the Archive

Re: machine precision in plot


Joerg,

How about...

Plot[P1[x * 10^-17], {x, 5.85, 7.15}]

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 

From: Joerg Schaber [mailto:schaber at molgen.mpg.de]
To: mathgroup at smc.vnet.net


Hi,

I have defined a function that takes as arguments small values and also 
returns small values:

In[237]:=
P1[7.5`*^-17]

Out[237]=
-2.1926`*^7

However, when plotting the function with
Plot[P1[x], {x, 5.85`*^-17, 7.15`*^-17}]
I get an error message:
Plot::"plld" Endpoints for x in {x, 5.85`*^-17, 7.15`*^-17} must have 
distinct machine-precision numerical values.

I thought Mathematica can handle such small numbers.
Any hint?

best,

joerg



  • Prev by Date: Re: TeX or LaTeX input for Mathematica
  • Next by Date: Re: mathematica programming
  • Previous by thread: Re: machine precision in plot
  • Next by thread: Re: machine precision in plot