Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Example Calculator

Example

Function: example (<topic>)

example(limit);
limit(x^2+1,x,2);
limit((x^2-9)/(x-3),x,3);

Function: example () example (<topic>) displays some examples of <topic>, which is a symbol or a string. To get examples for operators like if, do, or lambda the argument must be a string, e.g. example ("do"). example is not case sensitive. Most topics are function names.

example () returns the list of all recognized topics.

The name of the file containing the examples is given by the global option variable manual_demo, which defaults to "manual.demo".

example quotes its argument. example returns done unless no examples are found or there is no argument, in which case example returns the list of all recognized topics.

Examples:

          (%i1) example(append);
          (%i2) append([x+y,0,-3.2],[2.5E+20,x])
          (%o2)                    [y + x, 0, - 3.2, 2.5E+20, x]
          (%o2)                                done
          (%i3) example("lambda");
          (%i4) lambda([x,y,z],z^2+y^2+x^2)
                                                     2    2    2
          (%o4)                   lambda([x, y, z], z  + y  + x )
          (%i5) %(1,2,a)
                                               2
          (%o5)                               a  + 5
          (%i6) a+2+1
          (%o6)                                a + 3
          (%o6)                                done
          (%i7) example("allROOTS");
          (%i8) (1+2*x)^3 = 13.5*(1+x^5)
                                             3          5
          (%o8)                     (2 x + 1)  = 13.5 (x  + 1)
          (%i9) allroots(%)
          (%o9) [x = .8296749902129361, x = - 1.015755543828121,
          x = .9659625152196369 %i - .4069597231924075,
          x = - .9659625152196369 %i - .4069597231924075, x = 1.0]
          (%o9)                                done

(%o1)                                true
(%i2) 

Example Example

Related Examples

example-simp

example(simp);

Calculate

example-radcan

example(radcan);

Calculate

example-loadfile

example(loadfile);

Calculate

example-matrix

example(matrix);

Calculate

example-hessian

example(hessian);

Calculate

example-isolate

example (isolate);

Calculate

example-limit-tex

example (limit);

tex(%i4);

Calculate

example-limit

example(limit);

limit(x^2+1,x,2);

limit((x^2-9)/(x-3),x...

Calculate

example-infinity-limit-sqrt

limit(1/x,x,0, plus);

sqrt((2*x+1)/(x+3));

limit(sqrt((2*x+1)/(x...

Calculate

example-isolate

example(isolate);

Calculate