Re: Table through zero...strange
- To: mathgroup at smc.vnet.net
- Subject: [mg67017] Re: [mg66988] Table through zero...strange
- From: Sseziwa Mukasa <mukasa at jeol.com>
- Date: Wed, 7 Jun 2006 05:09:24 -0400 (EDT)
- References: <200606061027.GAA20673@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On Jun 6, 2006, at 6:27 AM, leptonic wrote: > 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. It's a precision problem from using machine precision numbers, if it's a problem you can use exact values: Table[x,{x,-1/10,0,1/50}] Regards, Ssezi
- References:
- Table through zero...strange
- From: "leptonic" <leptonic@gmx.ch>
- Table through zero...strange