TIB: TI-86 math error?


[Prev][Next][Index][Thread]

TIB: TI-86 math error?




I found a bug in a program I made.  It turns out that it is not my fault
but somthing the ti-86 does. Why does this give me the wrong answer?
Here is some sample code.  You can get the acutal program from my homepage
called Conversion.

Sorry can't copy the code directly because it uses a lot of wierd symbols.
The "-->" stands for the store command.  

:.001->U
:.000001->m
:"6U/3m"->eq
:Disp eq
:St->Eq(eq,eq)
:Disp eq
:DelVar(U
:DelVar(m

The TI-86 gives 2*10^-9 or 2E-9.  The answer should be .002.  I get the
right answer if I type 6E-6/3E-3.  Which is useless since I need to be
using a variable for my program.
------------------------------------------
Jeff Glover
jglover@geocities.com
http://jglover.home.ml.org


Follow-Ups: