Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Interval arithmetic bug

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90761] Interval arithmetic bug
  • From: green tea <cetech07 at gmail.com>
  • Date: Wed, 23 Jul 2008 05:58:04 -0400 (EDT)

In[1]:= Limit[Sin[x], x -> Infinity]

Out[1]= Interval[{-1, 1}]




In[2]:= Limit[Sin[x + Pi/4], x -> Infinity]

Out[2]= Interval[{-Sqrt[2], Sqrt[2]}]




In[3]:= TrigExpand[Sin[x + Pi/4]]

Out[3]= Cos[x]/Sqrt[2] + Sin[x]/Sqrt[2]




In[4]:= (Limit[#1, x -> Infinity] & ) /@ {Cos[x]/Sqrt[2],
  Sin[x]/Sqrt[2]}

Out[4]= {Interval[{-(1/Sqrt[2]), 1/Sqrt[2]}],
   Interval[{-(1/Sqrt[2]), 1/Sqrt[2]}]}




In[5]:= Plus @@ %

Out[5]= Interval[{-Sqrt[2], Sqrt[2]}]




In[6]:= $Version

Out[6]= "6.0 for Microsoft Windows (32-bit) (May 21, 2008)"




oh my god..


  • Prev by Date: Re: NDSolve[] with nested If[] and Piecewise[] usage:
  • Next by Date: How to call or run a NB file in another NB file?
  • Previous by thread: Re: Re: Text search within a documentation page?
  • Next by thread: Re: Interval arithmetic bug