home *** CD-ROM | disk | FTP | other *** search
- !echo
- ; This file shows how to evaluate derivatives.
- !deriv x, 7 : 2*x + 5
- !deriv x, 5 : x^2 - 2*x + 3
- !deriv x, 4 : (x + 1) ^ 2
- !deriv x, pi()/3 : sin(x)
- ;
- ; The following uses a limited range because the function is
- ; undefined at x = 200.1.
- ;
- !deriv x, 200, 0.09 : 1 / (x - 200.1)
- !noecho
-