Manual Maple 2.8.4.mws

Comandos Úteis e Simples

Seção 2.8: Os Pacotes do Maple

Session 2.8.4: MathML

>    restart;

>    with( MathML );

[Export, ExportContent, ExportPresentation, Import, ImportContent]

>    p := x^2 - 2*b*x + c;

p := x^2-2*b*x+c

>    s := solve( p, x );

s := b+sqrt(b^2-c), b-sqrt(b^2-c)

>    r1 := ExportPresentation( s[1] ):

>    XMLTools[Print]( r1 );

<math xmlns='http://www.w3.org/1998/Math/MathML'>

  <mrow>

    <mi>b</mi>

    <mo>+</mo>

    <msqrt>

      <mrow>

        <mfenced>

          <msup>

            <mi>b</mi>

            <mn>2</mn>

          </msup>

        </mfenced>

        <mo>-</mo>

        <mi>c</mi>

      </mrow>

    </msqrt>

  </mrow>

</math>

>