**Introduction**

This program evaluates Taylor series of the form C_{K}X^{K}
or
C_{K}(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.

If you have a TI Connectivity Cable, you can download the program SERIES.86p

**The Program **

:Prompt x, N | {Prompt is in PRGM under I/O} {x is the x-VAR} |

:0K | {The 0 is a zero} {The arrow is STO } |

:0S | |

:Lbl P | {Lbl is in PRGM under CTL} |

:y1+SS | {y1 is in CATLG-VARS under EQU} |

:IS>(K,N) | {IS> is in PRGM under CTL} |

:Goto P | {Goto is in PRGM under CTL} |

:Disp "SERIES VALUE" | {Disp and " are in PRGM under I/O} |

:Disp S | |

:Disp "F(x) VALUE" | |

:Disp y2 |

**Running the Program**

You will need to enter an expression and the corresponding function f(x)
into y1 and y2, respectively. 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 e^{x} into y2 .
Use x = 0.5, N = 3.

Your answer will be

Series Value

1.6458333333

F(x) Value

1.6487212707