mathml/testfiles-lua/cases.mlr

146 lines
3.5 KiB
Plaintext
Raw Normal View History

2024-08-14 20:10:21 +02:00
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mi>𝑎</mi>
<mo lspace="0.278em" rspace="0.278em">=</mo>
<mi>𝑏</mi>
2021-11-02 02:27:20 +01:00
</math>
2024-08-14 20:10:21 +02:00
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
2021-11-02 02:27:20 +01:00
<mo fence="true" lspace="0" rspace="0" symmetric="true">(</mo>
<mspace width="-4.981pt" />
<mpadded lspace="+4.981pt" width="+9.963pt">
<mtable>
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
</mtable>
</mpadded>
<mspace width="-4.981pt" />
<mo fence="true" lspace="0" rspace="0" symmetric="true">)</mo>
</mrow>
2024-08-14 20:10:21 +02:00
<mo lspace="0.278em" rspace="0.278em">=</mo>
<mrow>
<mo fence="true" lspace="0" rspace="0" symmetric="true">{</mo>
2021-11-02 02:27:20 +01:00
<mpadded lspace="+4.981pt" width="+9.963pt">
<mtable>
<mtr>
<mtd columnalign="left">
<mn>1</mn>
</mtd>
<mtd columnalign="left">
<mtext>if&#160;
2024-08-14 20:10:21 +02:00
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mi>𝑎</mi>
<mo lspace="0.278em" rspace="0.278em">=</mo>
<mi>𝑏</mi>
2021-11-02 02:27:20 +01:00
</math></mtext>
</mtd>
</mtr>
<mtr>
<mtd columnalign="left">
<mn>2</mn>
</mtd>
<mtd columnalign="left">
<mtext>else</mtext>
</mtd>
</mtr>
</mtable>
</mpadded>
<mspace width="1.196pt" />
</mrow>
</math>
2024-08-14 20:10:21 +02:00
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mi>𝑥</mi>
<mo lspace="0.278em" rspace="0.278em">=</mo>
2021-11-02 02:27:20 +01:00
<mfrac>
<mrow>
2024-08-14 20:10:21 +02:00
<mo lspace="0" rspace="0.222em"></mo>
<mi>𝑏</mi>
<mo lspace="0.222em" rspace="0.222em">±</mo>
2021-11-02 02:27:20 +01:00
<msqrt>
<mrow>
<msup>
2024-08-14 20:10:21 +02:00
<mi>𝑏</mi>
2021-11-02 02:27:20 +01:00
<mn>2</mn>
</msup>
2024-08-14 20:10:21 +02:00
<mo lspace="0.222em" rspace="0.222em"></mo>
2021-11-02 02:27:20 +01:00
<mn>4</mn>
2024-08-14 20:10:21 +02:00
<mi>𝑎</mi>
<mi>𝑐</mi>
2021-11-02 02:27:20 +01:00
</mrow>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
2024-08-14 20:10:21 +02:00
<mi>𝑎</mi>
2021-11-02 02:27:20 +01:00
</mrow>
</mfrac>
2024-08-14 20:10:21 +02:00
<mo lspace="0" rspace="0">.</mo>
2021-11-02 02:27:20 +01:00
</math>
2024-08-14 20:10:21 +02:00
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mi>𝑏</mi>
2021-11-02 02:27:20 +01:00
</math>
2024-08-14 20:10:21 +02:00
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
2021-11-02 02:27:20 +01:00
<munder>
2024-08-14 20:10:21 +02:00
<mo lspace="0" movablelimits="true" rspace="0.167em">∑</mo>
<mi>𝑎</mi>
2021-11-02 02:27:20 +01:00
</munder>
<munder>
2024-08-14 20:10:21 +02:00
<mi>𝑐</mi>
2021-11-02 02:27:20 +01:00
<mo>_</mo>
</munder>
<mover>
2024-08-14 20:10:21 +02:00
<mi>𝑏</mi>
2021-11-02 02:27:20 +01:00
<mo stretchy="false">_</mo>
</mover>
<msup>
2024-08-14 20:10:21 +02:00
<mi>𝑐</mi>
<mi mathvariant="normal"></mi>
2021-11-02 02:27:20 +01:00
</msup>
</math>
2024-08-14 20:10:21 +02:00
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mi mathvariant="normal">sin</mi>
<mo lspace="0" rspace="0" stretchy="false">(</mo>
<mi>𝑥</mi>
<mo lspace="0" rspace="0" stretchy="false">)</mo>
<mo lspace="0.222em" rspace="0.222em"></mo>
<mi mathvariant="normal">sin</mi>
<mo lspace="0" rspace="0" stretchy="false">(</mo>
<mi>𝑥</mi>
<mo lspace="0.222em" rspace="0.222em">+</mo>
2021-11-02 02:27:20 +01:00
<mn>2</mn>
2024-08-14 20:10:21 +02:00
<mi>𝜋</mi>
<mo lspace="0" rspace="0" stretchy="false">)</mo>
<mo lspace="0.278em" rspace="0.278em">=</mo>
2021-11-02 02:27:20 +01:00
<mn>0</mn>
</math>