Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13694

Re: A bug-looking behavior during integration

From Scott Hemphill <hemphill@hemphills.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: A bug-looking behavior during integration
Date 2013-03-04 03:58 +0000
Message-ID <kh164a$saf$1@smc.vnet.net> (permalink)
References <kgmn7f$8gj$1@smc.vnet.net> <kgsa2f$ine$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


daniel.lichtblau0@gmail.com writes:

[snip]

> Yes, it looks like this runs into some fragility in the UnitStep handling code. To work around that area I'd suggest using a Piecewise equivalent.
>
> In[2]:= Integrate[                                                              
>          Piecewise[{{1, Sqrt[Sqrt[x^2 + y^2] + x] - .7*Sqrt[x^2 + y^2] >= 0}},  
>            0], {x, -Infinity, Infinity}, {y, -Infinity, Infinity}]              
>
> Out[2]= 19.6268

Or, replacing the ".7" with 7/10, you get:

        15000 Pi
Out[1]= --------
          2401

Scott
-- 
Scott Hemphill	hemphill@alumni.caltech.edu
"This isn't flying.  This is falling, with style."  -- Buzz Lightyear

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

A bug-looking behavior during integration Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2013-02-28 04:42 +0000
  Re: A bug-looking behavior during integration daniel.lichtblau0@gmail.com - 2013-03-02 07:34 +0000
    Re: A bug-looking behavior during integration Scott Hemphill <hemphill@hemphills.net> - 2013-03-04 03:58 +0000

csiph-web