From: Bob Hanlon on

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(a)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.