Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: tiny negative numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92880] Re: [mg92849] tiny negative numbers
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 16 Oct 2008 05:07:04 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Look up Chop


Bob Hanlon

---- a <arorahina at gmail.com> wrote: 

=============
Hi,

I am trying to solve a set of differential equations using NDSolve.
But I'm seeing some really tiny negative numbers like this one:
-1.28E-12. I'm guessing this is a machine-precision related problem.
So I was wondering if I can somehow ensure that the variable values
never go below 0, or alternatively, ensure that these tiny numbers
equate to 0?

Thanks!
a


--

Bob Hanlon



  • Prev by Date: SetDelayed
  • Next by Date: Strange results of Integrate
  • Previous by thread: tiny negative numbers
  • Next by thread: Re: tiny negative numbers