prev  ( testsuite > TortureTests > Complexity > complex2  )  next (show test run result)

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:TortureTests/Complexity/complex2
CVS-ID:
Author:Design Science, Inc. (D. Doyle, E. Cannon, E. Tabacman, R.Miner)
Description:short complexity test

passed (p) failed (f) not-tested (n) broken-test (b) some parts pass (s)


Sample Rendering:

Created by: mathplayer

Your browser's rendering:

Quadratic Equation x = - b ± b 2 - 4 a c 2 a DisplayQuadratic Equation x = - b ± b 2 - 4 a c 2 a Rational Function f ( x ) = 1 - x 2 1 - x 3 Rational Function f ( x ) = ( 1 - x 2 ) x 3 1 - x 3 Rational Function f ( x ) = ( 1 - x 2 ) ( x 3 - 5 x ) 1 - x 3 Parametrize Rational Function f ( x ) = ( a i - x 2 ) 5 1 - x 3 Stacked exponents g ( z ) = e - x 2 Stacked exponents g ( z ) = e - ( z - a ) 2 Stacked exponents g ( z ) = e - i = 0 z i 2 Stacked exponents g ( y ) = e - i = 0 y i 2 Stacked exponents g ( z ) = e - i = 0 z 2 a - i Cross Product x 1 - x 2 x 3 - x 4 x 1 - x 4 x 2 - x 3 Cross Product ( x 1 - x 2 x 3 - x 4 ) ( x 1 - x 4 x 2 - x 3 ) Cross Product ( x 1 - x 2 x 3 - x 4 ) ( x 1 - x 4 x 2 - x 3 ) Cross Product ( x 1 - x 2 ) ( x 3 - x 4 ) ( x 1 - x 4 ) ( x 2 - x 3 )

Source Code:

<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/> 
                    <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/> 
                    <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/> 
                <mn>2</mn> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <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/> 
                <mn>2</mn> 
              </msubsup> 
              <mo stretchy="false">)</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mrow/> 
                <mn>3</mn> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <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/> 
                <mn>2</mn> 
              </msubsup> 
              <mo stretchy="false">)</mo> 
              <mo stretchy="false">(</mo> 
              <msubsup> 
                <mi>x</mi> 
                <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/> 
                <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/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mrow/> 
                <mn>2</mn> 
              </msubsup> 
              <msubsup> 
                <mo stretchy="false">)</mo> 
                <mrow/> 
                <mn>5</mn> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <mn>1</mn> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <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> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <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> 
              <mo>-</mo> 
              <mo stretchy="false">(</mo> 
              <mi>z</mi> 
              <mo>-</mo> 
              <mi>a</mi> 
              <msubsup> 
                <mo stretchy="false">)</mo> 
                <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> 
              <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> 
              <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> 
              <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/> 
                <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/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
          </mfrac> 
          <mfrac> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>3</mn> 
                <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/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
          </mfrac> 
          <mo stretchy="false">)</mo> 
          <mo stretchy="false">(</mo> 
          <mfrac> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>3</mn> 
                <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/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>3</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
          </mfrac> 
          <mo>)</mo> 
          <mo>(</mo> 
          <mfrac> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>1</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>4</mn> 
                <mrow/> 
              </msubsup> 
            </mrow> 
            <mrow> 
              <msubsup> 
                <mi>x</mi> 
                <mn>2</mn> 
                <mrow/> 
              </msubsup> 
              <mo>-</mo> 
              <msubsup> 
                <mi>x</mi> 
                <mn>3</mn> 
                <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/> 
            </msubsup> 
            <mo>-</mo> 
            <msubsup> 
              <mi>x</mi> 
              <mn>2</mn> 
              <mrow/> 
            </msubsup> 
            <mo stretchy="false">)</mo> 
            <mo stretchy="false">(</mo> 
            <msubsup> 
              <mi>x</mi> 
              <mn>3</mn> 
              <mrow/> 
            </msubsup> 
            <mo>-</mo> 
            <msubsup> 
              <mi>x</mi> 
              <mn>4</mn> 
              <mrow/> 
            </msubsup> 
            <mo stretchy="false">)</mo> 
          </mrow> 
          <mrow> 
            <mo stretchy="false">(</mo> 
            <msubsup> 
              <mi>x</mi> 
              <mn>1</mn> 
              <mrow/> 
            </msubsup> 
            <mo>-</mo> 
            <msubsup> 
              <mi>x</mi> 
              <mn>4</mn> 
              <mrow/> 
            </msubsup> 
            <mo stretchy="false">)</mo> 
            <mo stretchy="false">(</mo> 
            <msubsup> 
              <mi>x</mi> 
              <mn>2</mn> 
              <mrow/> 
            </msubsup> 
            <mo>-</mo> 
            <msubsup> 
              <mi>x</mi> 
              <mn>3</mn> 
              <mrow/> 
            </msubsup> 
            <mo stretchy="false">)</mo> 
          </mrow> 
        </mfrac> 
      </mtd> 
    </mtr> 
  </mtable> 
</math>