login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for AxiomTutorial revision 3 of 3

1 2 3
Editor: page
Time: 2008/06/29 06:08:12 GMT-7
Note: Alasdair's blog

changed:
-- and an Axiom tutorial and a collection of exercises by Christophe Conil
- an Axiom tutorial and a collection of exercises by Christophe Conil

added:
- and a blog by
!"Alasdair McAndrew":http://amca01.wordpress.com/category/axiom/
containing an excellent introduction to Axiom.


The Axiom Volume 1: Tutorial is available in printed format at http://lulu.com

A Quick Tutorial

On this web site you can enter Axiom commands and see the output in proper mathematical form. These commands can also be typed directly into Axiom installed on your own computer.

You must enclose each set of Axiom commands in a \begin{axiom} \end{axiom} section. For example:

    \begin{axiom}
    [1/2, 3/4, 2/3]
    \end{axiom}

When you save the changes you make to a page, Axiom processes the contents of each section you have marked and the Axiom output is displayed.

Try this command:

axiom
[1/7, 3/4, 5/6]
LatexWiki Image(1)
Type: List Fraction Integer

Please feel free to play with this in the SandBox!

Advanced Examples

Let's see if we can perform a finite window Fourier inversion.

axiom
simplify(integrate(exp(%i*_\omega*t) * exp(-%i*_\omega * _\tau), _\omega=-_\Omega .. _\Omega))
LatexWiki Image(2)
Type: Expression Complex Integer

Try this integrating this

axiom
2*x/sin(x)^2
LatexWiki Image(3)
Type: Expression Integer

axiom
integrate(%,x)
LatexWiki Image(4)
Type: Union(Expression Integer,...)

Now differentiate it

axiom
D(%,x)
LatexWiki Image(5)
Type: Expression Integer
axiom
simplify(%)
LatexWiki Image(6)
Type: Expression Integer

Expressions (3) and (6) are really that same.

axiom
simplify(%%(3) - %%(6))
LatexWiki Image(7)
Type: Expression Integer

axiom
D(x^x,x)
LatexWiki Image(8)
Type: Expression Integer

See, that was easy!

Here are some more things to try.

axiom
integrate(log(sin(x)),x=0..%pi)
LatexWiki Image(9)
Type: Union(pole: potentialPole,...)

axiom
limit(sum(1/i^2,i=1..n),n=%plusInfinity)
LatexWiki Image(10)
Type: Union("failed",...)

Can you explain these results?

Advanced Programming

For more details see: AxiomProgramming .

Spad

To include Spad programs on web pages in this website click edit (or when adding comments or in bug reports) use:

       \begin{spad}
       )abbrev ...
       ...
       \end{spad}

Aldor

To include Aldor programs on pages in this website use:

       \begin{aldor}
       ...
       \end{aldor}

or:

       \begin{aldor}[name]
       ...
       \end{aldor}

LaTeX

You can add LaTeX formatted equations to pages on this web site by:

       $$
       ...
       $$

and inline symbols are written like this: $\alpha +\beta$

To include arbitrary LaTeX on pages in this website use:

       \begin{latex}
       ...
       \end{latex}

Lisp

To include Lisp programs on pages in this website use:

       \begin{lisp}
       ...
       \end{lisp}

Boot

To include Boot programs on pages in this website use:

       \begin{boot}
       ...
       \end{boot}