Diff menu – HP 40gs User Manual
Page 198

14-16
Computer Algebra System (CAS)
DIFF menu
DERIV
Derivative and partial derivative
DERIV has two arguments: an expression (or a function)
and a variable.
DERIV returns the derivative of the expression (or the
function) with respect to the variable given as the second
parameter (used for calculating partial derivatives).
Example
Calculate:
Typing:
DERIV(X·Y
2
·Z
3
+ X·Y,Z)
gives:
DERVX
Derivative
DERVX has one argument: an expression. DERVX
calculates the derivative of the expression with respect to
the variable stored in VX.
For example, given:
calculate the derivative of f.
Type:
Or, if you have stored the definition of f(x) in F, that is, if
you have typed:
then type:
∂ x y
2
z
3
⋅
⋅
x y
⋅
+
(
)
∂z
----------------------------------------------
3 x y
2
z
2
⋅ ⋅
⋅
f x
( )
x
x
2
1
–
--------------
x 1
+
x 1
–
------------
⎝
⎠
⎛
⎞
ln
+
=
DERVX
X
X
2
1
–
--------------- LN X 1
+
X 1
–
-------------
⎝
⎠
⎛
⎞
+
⎝
⎠
⎛
⎞
TORE
X
X
2
1
–
--------------- LN X 1
+
X 1
–
-------------
⎝
⎠
⎛
⎞ F
,
+
⎝
⎠
⎛
⎞
hp40g+.book Page 16 Friday, December 9, 2005 1:03 AM