Axiom

From StatWiki
Jump to: navigation, search

Expressions

<Axiom echo="true"> matrix [ [i*x**i + j* %i*y**j for i in 1..2] for j in 3..4] D(x^3, x) </Axiom>

<Axiom echo="true"> integrate(1/(a+x^2),x) </Axiom>

<Axiom echo="true"> S := [3*x**3 + y + 1 = 0,y**2 = 4] radicalSolve(S) </Axiom>

Subscript:

<Axiom echo="true"> D((y[1] - x)^2 + (y[2] - 21 * sin(x))^2, x) </Axiom>

Longer, Line breaks missing, no echo

<Axiom>integrate(1/(x**3 * (a+b*x)**(1/3)),x)</Axiom>

<Axiom echo="true"> p(0) == 1 p(1) == x p(n) == ((2*n-1)*x*p(n-1) - (n-1) * p(n-2))/n [D(p(i),x) for i in 1..] </Axiom>

Greek letters

You can write LaTeX formula as names of variables but you must escape the backslash \ and braces { } by preceding them with an underscore _

<Axiom echo="true"> _\theta/_\beta + 1 </Axiom>

Not working

Please provide ones.

Security Check

<Axiom>)system ls</Axiom> <Axiom>)lisp ls</Axiom> <Axiom>)fin ls</Axiom>

VeryLongLatex

From Axiom Wiki

<Axiom echo="true"> (x+y+z)^10 integrate (1/(x**3 * (a+b*x)**(-1/3)),x) </Axiom>

Empty output

<axiom echo="true"> n:=4; </axiom>

Workspace Support

<axiom echo="true" workspace="workspaceAxiomTest"> n:=4 </axiom>

bla bla

<axiom echo="true" workspace="workspaceAxiomTest"> n </axiom>

Equation Numbering Support

<axiom numbering="true"> n^2/5 + 3 + 4 </axiom>

bar foo

<axiom numbering="true"> 1 + 4 + n^3/7 </axiom>