Introduction
This program estimates the value of a derivative at a point
using the difference quotient
If you have not used one of the programs posted on this website before,
you should read through
the information in the Intro to Programming
section first.
The Program
'DIFFQUO' | {' is in ALPHA} {This is the name of the program} |
Lbl 1 | {Lbl is in PRGM under JMP} |
"A"?X | {" is in ALPHA} {? is in PRGM} { is on the , button} |
"H"?H | |
f1B | { is in PRGM} {f1 is in Fmem. Choose fn, then type a 1} |
X+HX | |
f1C | |
(C-B) HD | |
D | { is in PRGM} |
Goto 1 | {Goto is in PRGM under JMP} |
Running the Program
You will need to enter a function f(x) into f1 before running
the program. Store your function by hitting Fmem.
Store your equation in position 1. To test the program try the following:
f(x) = x3, A=2, H=0.01.
The answer should be 12.0601