Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: machine precision in plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65815] Re: [mg65745] machine precision in plot
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 17 Apr 2006 02:29:11 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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