Sponsored links: Algebra eBooks ### Related

##### trunc

expr: 999999 * trunc(...

Calculate

##### trunc

eq1:(trunc(ln(0.73500...

Calculate

##### trunc

expr: 62 - (999999 * ...

Calculate

? trunc;

Calculate

##### trunc

expr: 1330 / 100;

trunc (expr);

Calculate

##### trunc

expr: 62 - (999999 * ...

Calculate

##### trunc

expr: 61 - (999999 * ...

Calculate

##### trunc

16 * (trunc(255/ 16) ...

Calculate

##### trunc

expr: 61 - (999999 * ...

Calculate

##### trunc

eq1:(trunc(ln(0.73500...

Calculate

### trunc

Run Example
```(%i1)niceindices(powerseries(%e^x, x, 0));
inf
====   i
\     x
(%o1)                               >    --
/     i!
====
i = 0
(%i2) taylor(%e^x, x, 0, 6);
2    3    4    5     6
x    x    x    x     x
(%o2)/T/           1 + x + -- + -- + -- + --- + --- + . . .
2    6    24   120   720
(%i3) plot2d([trunc(taylor(%e^x, x, 0, 6)), %e^x], [x,-5,5]);
plot ```
Run Example
```? trunc;

-- Function: trunc (<expr>)
Annotates the internal representation of the general expression
<expr> so that it is displayed as if its sums were truncated
Taylor series.  <expr> is not otherwise modified.

Example:

(%i1) expr: x^2 + x + 1;
2
(%o1)                      x  + x + 1
(%i2) trunc (expr);
2
(%o2)                  1 + x + x  + . . .
(%i3) is (expr = trunc (expr));
(%o3)                         true

There are also some inexact matches for `trunc'.
Try `?? trunc' to see them.

(%o1)                                true
(%i2) ```
Run Example
```taylor( %e^(cos(x)-1) ,x , 0, 2);
2
x
(%o1)/T/                        1 - -- + . . .
2
(%i2) plot2d([trunc(%), %e^x], [x,-5,5]);
plot ```

### Related Help

Help for Trunc 