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

This is a test of Sage in MathAction.

Sage stands for:

  Software for Algebra and Geometry Experimentation

Sage has native computer algebra capabilities as well as interfaces to other systems such as GAP , PARI , Singular and Maxima.

Sage was recently extended (version 1.4.1.2) to include support for Axiom.

Here is a summary of features


This is how to enter Sage commands:

  Commands can be used inline, for example: $1+2=\sage{1+2}$ and $\sqrt{1+2}=\sage{sqrt(1+2)}$.
  Or we can evaluate a block of Sage commands:
  \begin{sageblock}
  # do some stuff
  E = EllipticCurve("37a")
  # more stuff
  \end{sageblock}

  Now the elliptic curve $E$ given by $\sage{E}$
  has discriminant $\sage{E.discriminant()}$.

To get this:

Commands can be used inline, for example: LatexWiki Image and LatexWiki Image. Or we can evaluate a block of Sage commands:

LatexWiki Image

Now the elliptic curve LatexWiki Image given by LatexWiki Image has discriminant LatexWiki Image.

Maxima commands in Sage look like this:

LatexWiki Image

The \sage commands can occur in other LaTeX contexts such as:

  \begin{equation}
     \int \sage{f} dx = \sage{g}.
  \end{equation}

This produces:

LatexWiki Image(1)

---------

Axiom commands in Sage look like this:

LatexWiki Image

The \sage commands can occur in other LaTeX contexts such as:

  \begin{equation}
     {\int \sage{fAxiom} dx} = {\sage{gAxiom}}.
  \end{equation}

This produces:

LatexWiki Image(2)

Using Axiom to guess integer sequences:

LatexWiki Image

Gives:

LatexWiki Image 

---------

Sage and literate programming --Bill Page, Wed, 16 Aug 2006 08:17:56 -0500 reply
Sage also works in pamphlet files. See SandBoxSagePamphlet




subject:
  ( 7 subscribers )  
Please rate this page: