MathGroup Archive 2002

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

Search the Archive

Re: Problem with ND

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37968] Re: [mg37938] Problem with ND
  • From: Vladimir Bondarenko <vvb at mail.strace.net>
  • Date: Fri, 22 Nov 2002 04:16:47 -0500 (EST)
  • In-reply-to: <200211201409.JAA06475@smc.vnet.net>
  • References: <200211201409.JAA06475@smc.vnet.net>
  • Reply-to: Vladimir Bondarenko <vvb at mail.strace.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Daniel Nettels <Daniel.Nettels at unifr.ch> wrote on Wednesday, November 20, 2002, 10:09:11 AM :

DN> I'd like to pass a function f[x] which can only be evaluated when x is a
DN> number to ND as in the following example.

DN> <<NumericalMath`NLimit`
DN> f[x_]:=NIntegrate[t,{t,0,x}]
DN> ND[f[x],x,4]

DN> Unfortunatly, this does not work.

Despite all my efforts I was not able to identify any problem with your
inputs in the following Mathematica versions

4.2 for Microsoft Windows (June 5, 2002)
4.2 for Microsoft Windows (February 28, 2002)
4.1 for Microsoft Windows (November 2, 2000)
4.0 for Microsoft Windows (April 21, 1999)
Microsoft Windows 3.0 (April 25, 1997)
Windows 387 2.2 (April 9, 1993)

The output is always like the shown below.

  In[1] := $Version

  Out[1] = 4.2 for Microsoft Windows (June 5, 2002)

  In[2] := << NumericalMath`NLimit`

  In[3] := f[x_] := Integrate[t, {t, 0, x}]

  In[4] := ND[Evaluate[f[x]], x, 4]

  Out[4] = 4.


What version of Mathematica do you use?


Best wishes,

Vladimir Bondarenko
Mathematical and Production Director
Symbolic Testing Group
Email:  vvb at mail.strace.net

Web  :  http://www.CAS-testing.org/ (under development, 95% ready)
        http://maple.bug-list.org/  (under development, 20% ready)

Voice:  (380)-652-447325 Mon-Fri 6 a.m. - 3 p.m. GMT
ICQ  :  173050619
Mail :  76 Zalesskaya Str, Simferopol, Crimea, Ukraine




  • References:
  • Prev by Date: Re: Extracting a sub-list?
  • Next by Date: Re: Interactivity?
  • Previous by thread: Problem with ND
  • Next by thread: Re[2]: Problem with ND