MathGroup Archive 1992

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

Search the Archive

Re: setting tolerance for small answers

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Re: setting tolerance for small answers
  • From: wallraff at acds.physik.rwth-aachen.de (Wolfgang Wallraff)
  • Date: Sun, 20 Sep 92 14:56:51 GMT

Hi susan

This is done by the Chop[] function.
For example

Chop[1.9*10^-19,10^-10]
Returns
0

The first argument of Chop is the expression the second argument is the prcision at wich you want to set a number to zero!

Hope this is a help for you!

			Andreas 8-)

Andreas Wallraff                          
Krefelder Str. 10   
5100 Aachen           
email: wallraff at acds.physik.rwth-aachen.de 
Tel.: GERMANY (0)241/159875

________________________________________________________________________________






  • Prev by Date: Mathematica short course-please post
  • Next by Date: Re: fluorine
  • Previous by thread: setting tolerance for small answers
  • Next by thread: Re: setting tolerance for small answers