ND
ND[
f
,
x
,
]
gives a numerical approximation to
evaluated at the point
.
ND[
f
,
{
x
,
n
},
]
gives the
derivative.
You should realize that with sufficiently pathological examples, the algorithms used for
ND
can give wrong answers.
See also:
D
,
SolveODE
.
Examples
Using InstantCalculators
Here are the InstantCalculators for the
ND
function. Enter the parameters for your calculation and click
Calculate
to see the result.
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Entering Commands Directly
You can paste a template for this command via the Text Input button on the
ND
Function Controller.
Here is a numerical approximation of the derivative of
at
x
= 2.
In[3]:=
Out[3]=
Here is a numerical approximation of the second derivative of
at
x
= 2.
In[4]:=
Out[4]=