Re: Table through zero...strange
- To: mathgroup at smc.vnet.net
- Subject: [mg67012] Re: Table through zero...strange
- From: "ben" <benjamin.friedrich at gmail.com>
- Date: Wed, 7 Jun 2006 05:09:10 -0400 (EDT)
- References: <e63mqt$kqd$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, What's the problem with 10^-18? That's practically zero. When you use numeric quantities such as 0.1, you must not worry about round-off errors anyway. Try Chop[] if you like. If you do worry about round-off errors, you may prefer Table[x, {x, -1/10, 0, 2/100}]. Bye Ben leptonic schrieb: > Hello, > > When i type in Mathematica (version 4) Table[x, {x, -0.1, 0, 0.02}] > > it gives me {-0.1, -0.08, -0.06, -0.04, -0.02, -3.46945 x 10-18]} > but for example Table[x, {x, -0.1, 0, 0.05}] will give a reasonable > {-0.1, -0.05, 0.}. > > Probably a very stupid question but i can't figure out why the zero > makes problem. > > Thanks for any help.