MathGroup Archive 2010

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

Search the Archive

Re: Re: second , third and fourth derivatives of a

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107450] Re: [mg107438] Re: second , third and fourth derivatives of a
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 12 Feb 2010 07:02:40 -0500 (EST)
  • Reply-to: hanlonr at cox.net

f[x_] = a*x^3 + b*x^2 + c*x + d;

coef = Solve[{f[x0] == y0, f'[x0] == y0p, f[x1] == y1, 
     f[x2] == y2}, {a, b, c, d}] // Simplify;

{f''[x3], f'''[x3], f''''[x3]} /. coef


Bob Hanlon

---- barefoot gigantor <barefoot1980 at gmail.com> wrote: 

=============
How can I do this with Mathematica?


 suppose we know the following for a function

 x0 and f(x0)

 x0 and f ' (x0) (first derivative at x0)

 x1 and f(x1)

 x2 and f(x2)

 how can we approximate second, third and fourth derivatives of f(x)
  for example say at  a point x3.



  • Prev by Date: Re: Define an antisymmetric function
  • Next by Date: Re: download data from database
  • Previous by thread: char** and uuid_t type issue with DefineDLLFunction
  • Next by thread: Find-Replace using an evaluated expression