terrible bug in Mathematica (//N), but why????



Evaluating (using //N) two exact same expressions, gives wrong answer unless
fullsimplify is used first, I spent 2 days on a problem thinking my answer
was wrong, but turned out Mathematica 5 was giving me buggy answers, I
debugged it to this point, but WHY in the world is this happening? Please
help!!!

cut and paste below to see the test case:

In[243]:=
\!\(\(Cosh[\(43\ \[Pi]\)\/\@2] + \((1 - Cosh[43\ \@2\ \[Pi]])\)\ Csch[
43\ \@2\ \[Pi]]\ Sinh[\(43\ \[Pi]\)\/\@2] // FullSimplify\) //
N\[IndentingNewLine]
Cosh[\(43\ \[Pi]\)\/\@2] + \((1 - Cosh[43\ \@2\ \[Pi]])\)\ Csch[
43\ \@2\ \[Pi]]\ Sinh[\(43\ \[Pi]\)\/\@2] // N\)
Out[243]=
\!\(6.551787517854307`*^-42\)
Out[244]=
\!\(\(-1.9342813113834067`*^25\)\)



thanks,




.



Relevant Pages

  • terrible mathematica bug ( //N ) but WHY??
    ... Evaluating two exact same expressions, ... fullsimplify is used first, I spent 2 days on a problem thinking my answer ...
    (sci.math.num-analysis)
  • baffled by //N bug in mathematica, WHY?
    ... Evaluating two exact same expressions, ... fullsimplify is used first, I spent 2 days on a problem thinking my answer ...
    (sci.math)
  • Re: Why I am unwilling to use Mathematica if I can help it
    ... >>fullsimplify is used first, I spent 2 days on a problem thinking my answer ... >>was wrong, but turned out Mathematica 5 was giving me buggy answers, I ...
    (sci.math.num-analysis)
  • Re: Duane: Calendar report by hours over 2 days
    ... working idea before I spent the time ... >You would need to use similar expressions. ... >Duane Hookom ... If I am trying to to calulate the ...
    (microsoft.public.access.reports)
  • Re: terrible bug in Mathematica (//N), but why????
    ... can you explain how such huge error occurs if FullSimplify is not used? ... > N does numerical evaluation to double precision, ... > Your claim that you were using "two exact same expressions" ... >> was wrong, but turned out Mathematica 5 was giving me buggy answers, I ...
    (sci.math.symbolic)