Re: TIB: TI-86 math error?


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

Re: TIB: TI-86 math error?




ok can you simplify the "6U/(3m)" to "2U/m" and factor out that 3?




---Jeff Glover <jglover@geocities.com> wrote:
>
> 
> I forgot to mention that due to the nature of my program it would be a
> pain.  If that's the only way to do this then I guess I'll have to. 
The
> funny thing is that I only have problems dividing E-6 and E-3.  I
don't
> undetstand why it would need parenthesis with those 2.
> 
> At 02:28 PM 10/5/98 -0700, you wrote:
> >
> >
> >try using parenthesis around the 3m on the "6U/3m"->eq line.  it
would
> >then be
> >:"6U/(3m)"->eq
> >
> >
> >
> >---Jeff Glover <jglover@geocities.com> wrote:
> >>
> >> 
> >> 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
> >> 
> >
> >==
> >The Garth Johnson
> >
> >Visit my website!  http://www.bigfoot.com/~garthjohnson
> >
> >
> >
> >_________________________________________________________
> >DO YOU YAHOO!?
> >Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> >
> ------------------------------------------
> Jeff Glover
> jglover@geocities.com
> http://jglover.home.ml.org
> 

==
The Garth Johnson

Visit my website!  http://www.bigfoot.com/~garthjohnson



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


Follow-Ups: