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

MathGroup Archive 2009

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

Search the Archive

Re: Re: kernel crash with integrating the

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104913] Re: [mg104854] Re: [mg104833] kernel crash with integrating the
  • From: George Woodrow III <georgevw3 at mac.com>
  • Date: Fri, 13 Nov 2009 05:53:54 -0500 (EST)
  • References: <200911110927.EAA29333@smc.vnet.net>

I do confirm the crash on my iMac (OS X 10.6.2, Mathematica 7.0.1). It forces the kernel to quit.

The fix also works.

george

On Nov 12, 2009, at 6:00 AM, Leonid Shifrin wrote:

> Hi Sjoerd,
> 
> I do confirm the crash (M7.0, WinXp 32).  The following seems to help:
> redefine your function to guard against non-numerical arguments as
> 
> In[1] :=
> 
> Clear[sp1,x];
> sp1[x_?NumericQ] = D[sp[x], x];
> 
> In[2]:= NIntegrate[sp1[x], {x, -9, 4}]
> 
> Out[2]= 12.5726
> 
> Regards,
> Leonid
> 
> 
> On Wed, Nov 11, 2009 at 12:27 PM, Sjoerd C. de Vries <
> sjoerd.c.devries at gmail.com> wrote:
> 
>> Hi all,
>> 
>> The following leads to a consistent crash on my PC:
>> 
>> tbl =
>> {{3.7372349521625203`, 7.8999536564180906`}, {-1.5683136806862397`,
>>  3.549628027104541`}, {-9.326537784015741`, -5.7268546790245844`},
>> {-6.8805945246545`, 6.849090400951159`}}
>> 
>> sp = Interpolation[tbl, Method -> "Spline"];
>> 
>> sp1[x_] = D[sp[x], x];
>> 
>> NIntegrate[sp1[x], {x, -9, 4}].
>> 
>> Same on yours?
>> 
>> Cheers -- Sjoerd
>> 
>> 
> 
> 



  • Prev by Date: Re: Using For[] for Generating Multiple Output Cells
  • Next by Date: Re: Re: Mathematica skill level snippet(s)
  • Previous by thread: Re: kernel crash with integrating the derivative of an
  • Next by thread: Solving Weissinger's ODE