Introduction
This program evaluates Taylor series of the form CKXK
or
CK(X-A)K.
It also compares that value to the corresponding function value, f(x).
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
'SERIES' | {' is in ALPHA} {This is the name of the program} |
"X"?X | {" is in ALPHA} {? is in PRGM} { is on the , button} |
"N"?N | |
0K | {The 0 is a zero}. |
0S | {The 0 is a zero}. |
Lbl 1 | {Lbl is in PRGM under JMP} |
f1+SS | {f1 is in Fmem. Choose fn, then type a 1} |
K+1K | |
KN Goto 1 | {, Goto are in PRGM under JMP} { is in PRGM under REL} |
"SERIES" | |
S | { is in PRGM} |
"F(X)" | |
f2 |
Running the Program
You will need to enter an expression and the corresponding function F(X)
into f1 and f2, respectively. Store your functions by hitting
Fmem.
Store your equations in positions 1 and 2. The program will ask for the X value and
N (the number of terms to be evaluated).
To test the program try the following:
Enter
into Y1 and ex into Y2 .
Use X = 0.5, N = 3.
Your answer will be
SERIES
1.6458333333
F(X)
1.6487212707