next up previous contents
Next: Linear algebra. Up: 1. Previous: Linear differential equations systems

Taylor series and other functions utilities.

  This section describes the FUNC directory. The main utility is TAYLR which performs Taylor expansion. This program is very similar to the built-in instruction. In addition, Taylor expansion at any point is made easier by the ability to type at level 2 an equation, e.g. 'X=1' instead of 'X' if you want to know a Taylor expansion at x=1 instead of at x=0. Moreover, TAYLR of ALGB can solve some undetermined forms (like the third example)

Examples:
:

* 'EXP(SIN(X))' 'X' 3 TAYLR
  -> 3: 0
     2: { 1 1 1/2 0 }
     1: '1+X+1/2*X^2'
* '\v/X' 'X=1' 4 TAYLR
  -> 3: 0
     2: { 1 1/2 -1/8 1/16 -5/128 }
     1: '1+1/2*(X-1)-1/8*(X-1)^2+1/16*(X-1)^3-5/128*(X-1)^4'
* 'EXP(1/X*LN(1+X)) 'X' 4 TAYLR
  -> 3: 0
     2: { 'e' '-e/2' '11*e/24' }
     1: 'e+-e/2*X+11*e/24*X^2'
Note that the last example can not be computed using the inbuild TAYLR instruction.

At level 1, you see the Taylor expansion (algebraic form) and at levels 2 and 3 the list form of the Taylor expansion (level 3 is a real: the valuation).

The other programs are: