MathGroup Archive 1999

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

Search the Archive

Re: Numerical calculation of derivative functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17020] Re: [mg17000] Numerical calculation of derivative functions
  • From: BobHanlon at aol.com
  • Date: Wed, 14 Apr 1999 02:11:44 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 4/10/99 8:06:42 AM, lvenema at kvi.nl writes:

>Probably this question is very trivial, but can someone inform me
>how I can force mathematica to calculate the numerical result from a
>previously evaluated formal solution, like
>
>f[x_]:=D[sin[x],x];
>f[x]/.x->1
>Also N[%] is not more specific than D[sin[1]].
>
>I think the problem is related that I cannot force Mathematica to first
>evaluate the differential and subsequently substitutes the x by 1 in the
>cos. (My real problem involves unknown dimensions of arrays in a non-linear
>optimization problem).
>

Lars,

Mathematica is case-sensitive.  You need to use Sin vice sin.

Bob Hanlon


  • Prev by Date: Re: Re: Eigenvalue Problem
  • Next by Date: Re:Matrix manipulation
  • Previous by thread: Numerical calculation of derivative functions
  • Next by thread: Re: Numerical calculation of derivative functions