packages feed

scholdoc-texmath-0.1: tests/src/complex2.mml

<?xml version="1.0" encoding="UTF-8"?>

<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mtable>
    <mtr>
      <mtd>
        <mtext>Quadratic Equation</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>x</mi> 
          <mo>=</mo> 
          <mfrac>
            <mrow>
              <mo>-</mo> 
              <mi>b</mi> 
              <mo>&#x00B1;</mo> 
              <msqrt>
                <mrow>
                  <msubsup>
                    <mi>b</mi> 
                    <mrow></mrow> 
                    <mn>2</mn> 
                  </msubsup> 
                  <mo>-</mo> 
                  <mn>4</mn> 
                  <mi>a</mi> 
                  <mi>c</mi> 
                </mrow> 
              </msqrt> 
            </mrow> 
            <mrow>
              <mn>2</mn> 
              <mi>a</mi> 
            </mrow> 
          </mfrac> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>DisplayQuadratic Equation</mtext> 
      </mtd> 
      <mtd>
        <mstyle displaystyle="true">
          <mi>x</mi> 
          <mo>=</mo> 
          <mfrac>
            <mrow>
              <mo>-</mo> 
              <mi>b</mi> 
              <mo>&#x00B1;</mo> 
              <msqrt>
                <mrow>
                  <msubsup>
                    <mi>b</mi> 
                    <mrow></mrow> 
                    <mn>2</mn> 
                  </msubsup> 
                  <mo>-</mo> 
                  <mn>4</mn> 
                  <mi>a</mi> 
                  <mi>c</mi> 
                </mrow> 
              </msqrt> 
            </mrow> 
            <mrow>
              <mn>2</mn> 
              <mi>a</mi> 
            </mrow> 
          </mfrac> 
        </mstyle> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Rational Function</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>f</mi> 
          <mo stretchy="false">(</mo> 
          <mi>x</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <mfrac>
            <mrow>
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>2</mn> 
              </msubsup> 
            </mrow> 
            <mrow>
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>3</mn> 
              </msubsup> 
            </mrow> 
          </mfrac> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Rational Function</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>f</mi> 
          <mo stretchy="false">(</mo> 
          <mi>x</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <mfrac>
            <mrow>
              <mo stretchy="false">(</mo> 
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>2</mn> 
              </msubsup> 
              <mo stretchy="false">)</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>3</mn> 
              </msubsup> 
            </mrow> 
            <mrow>
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>3</mn> 
              </msubsup> 
            </mrow> 
          </mfrac> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Rational Function</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>f</mi> 
          <mo stretchy="false">(</mo> 
          <mi>x</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <mfrac>
            <mrow>
              <mo stretchy="false">(</mo> 
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>2</mn> 
              </msubsup> 
              <mo stretchy="false">)</mo> 
              <mo stretchy="false">(</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>3</mn> 
              </msubsup> 
              <mo>-</mo> 
              <mn>5</mn> 
              <mi>x</mi> 
              <mo stretchy="false">)</mo> 
            </mrow> 
            <mrow>
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>3</mn> 
              </msubsup> 
            </mrow> 
          </mfrac> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Parametrize Rational Function</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>f</mi> 
          <mo stretchy="false">(</mo> 
          <mi>x</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <mfrac>
            <mrow>
              <mo stretchy="false">(</mo> 
              <msubsup>
                <mi>a</mi> 
                <mi>i</mi> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>2</mn> 
              </msubsup> 
              <msubsup>
                <mo stretchy="false">)</mo> 
                <mrow></mrow> 
                <mn>5</mn> 
              </msubsup> 
            </mrow> 
            <mrow>
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>3</mn> 
              </msubsup> 
            </mrow> 
          </mfrac> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Stacked exponents</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>g</mi> 
          <mo stretchy="false">(</mo> 
          <mi>z</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <msubsup>
            <mi>e</mi> 
            <mrow></mrow> 
            <mrow>
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mrow></mrow> 
                <mn>2</mn> 
              </msubsup> 
            </mrow> 
          </msubsup> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Stacked exponents</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>g</mi> 
          <mo stretchy="false">(</mo> 
          <mi>z</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <msubsup>
            <mi>e</mi> 
            <mrow></mrow> 
            <mrow>
              <mo>-</mo> 
              <mo stretchy="false">(</mo> 
              <mi>z</mi> 
              <mo>-</mo> 
              <mi>a</mi> 
              <msubsup>
                <mo stretchy="false">)</mo> 
                <mrow></mrow> 
                <mn>2</mn> 
              </msubsup> 
            </mrow> 
          </msubsup> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Stacked exponents</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>g</mi> 
          <mo stretchy="false">(</mo> 
          <mi>z</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <msubsup>
            <mi>e</mi> 
            <mrow></mrow> 
            <mrow>
              <mo>-</mo> 
              <munderover>
                <mo>&#x2211;</mo> 
                <mrow>
                  <mi>i</mi> 
                  <mo>=</mo> 
                  <mn>0</mn> 
                </mrow> 
                <mi>&#x221E;</mi> 
              </munderover> 
              <msubsup>
                <mi>z</mi> 
                <mi>i</mi> 
                <mn>2</mn> 
              </msubsup> 
            </mrow> 
          </msubsup> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Stacked exponents</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>g</mi> 
          <mo stretchy="false">(</mo> 
          <mi>y</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <msubsup>
            <mi>e</mi> 
            <mrow></mrow> 
            <mrow>
              <mo>-</mo> 
              <munderover>
                <mo>&#x2211;</mo> 
                <mrow>
                  <mi>i</mi> 
                  <mo>=</mo> 
                  <mn>0</mn> 
                </mrow> 
                <mi>&#x221E;</mi> 
              </munderover> 
              <msubsup>
                <mi>y</mi> 
                <mi>i</mi> 
                <mn>2</mn> 
              </msubsup> 
            </mrow> 
          </msubsup> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Stacked exponents</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mi>g</mi> 
          <mo stretchy="false">(</mo> 
          <mi>z</mi> 
          <mo stretchy="false">)</mo> 
          <mo>=</mo> 
          <msubsup>
            <mi>e</mi> 
            <mrow></mrow> 
            <mrow>
              <mo>-</mo> 
              <munderover>
                <mo>&#x2211;</mo> 
                <mrow>
                  <mi>i</mi> 
                  <mo>=</mo> 
                  <mn>0</mn> 
                </mrow> 
                <mi>&#x221E;</mi> 
              </munderover> 
              <msubsup>
                <mi>z</mi> 
                <mrow></mrow> 
                <mfrac>
                  <mn>2</mn> 
                  <mrow>
                    <mi>a</mi> 
                    <mo>-</mo> 
                    <mi>i</mi> 
                  </mrow> 
                </mfrac> 
              </msubsup> 
            </mrow> 
          </msubsup> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Cross Product</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
          </mfrac> 
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
          </mfrac> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Cross Product</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mo stretchy="false">(</mo> 
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
          </mfrac> 
          <mo stretchy="false">)</mo> 
          <mo stretchy="false">(</mo> 
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
          </mfrac> 
          <mo stretchy="false">)</mo> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Cross Product</mtext> 
      </mtd> 
      <mtd>
        <mrow>
          <mo>(</mo> 
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
          </mfrac> 
          <mo>)</mo> 
          <mo>(</mo> 
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
            <mrow>
              <msubsup>
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow></mrow> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup>
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow></mrow> 
              </msubsup> 
            </mrow> 
          </mfrac> 
          <mo>)</mo> 
        </mrow> 
      </mtd> 
    </mtr> 
    <mtr>
      <mtd>
        <mtext>Cross Product</mtext> 
      </mtd> 
      <mtd>
        <mfrac>
          <mrow>
            <mo stretchy="false">(</mo> 
            <msubsup>
              <mi>x</mi> 
              <mn>1</mn> 
              <mrow></mrow> 
            </msubsup> 
            <mo>-</mo> 
            <msubsup>
              <mi>x</mi> 
              <mn>2</mn> 
              <mrow></mrow> 
            </msubsup> 
            <mo stretchy="false">)</mo> 
            <mo stretchy="false">(</mo> 
            <msubsup>
              <mi>x</mi> 
              <mn>3</mn> 
              <mrow></mrow> 
            </msubsup> 
            <mo>-</mo> 
            <msubsup>
              <mi>x</mi> 
              <mn>4</mn> 
              <mrow></mrow> 
            </msubsup> 
            <mo stretchy="false">)</mo> 
          </mrow> 
          <mrow>
            <mo stretchy="false">(</mo> 
            <msubsup>
              <mi>x</mi> 
              <mn>1</mn> 
              <mrow></mrow> 
            </msubsup> 
            <mo>-</mo> 
            <msubsup>
              <mi>x</mi> 
              <mn>4</mn> 
              <mrow></mrow> 
            </msubsup> 
            <mo stretchy="false">)</mo> 
            <mo stretchy="false">(</mo> 
            <msubsup>
              <mi>x</mi> 
              <mn>2</mn> 
              <mrow></mrow> 
            </msubsup> 
            <mo>-</mo> 
            <msubsup>
              <mi>x</mi> 
              <mn>3</mn> 
              <mrow></mrow> 
            </msubsup> 
            <mo stretchy="false">)</mo> 
          </mrow> 
        </mfrac> 
      </mtd> 
    </mtr> 
  </mtable> </math>