|
|
|
# Integral Examples
|
|
|
|
|
|
|
|
Original MathML:
|
|
|
|
```html
|
|
|
|
<math>
|
|
|
|
<munderover>
|
|
|
|
<mi>∫</mi>
|
|
|
|
<mn>0</mn>
|
|
|
|
<mn>10</mn>
|
|
|
|
</munderover>
|
|
|
|
<mi>x</mi>
|
|
|
|
<mi>dx</mi>
|
|
|
|
<mo>+</mo>
|
|
|
|
<munderover>
|
|
|
|
<mi>∫</mi>
|
|
|
|
<mn>10</mn>
|
|
|
|
<mn>20</mn>
|
|
|
|
</munderover>
|
|
|
|
<mi>x</mi>
|
|
|
|
<mi>dx</mi>
|
|
|
|
<mo>=</mo>
|
|
|
|
<munderover>
|
|
|
|
<mi>∫</mi>
|
|
|
|
<mn>0</mn>
|
|
|
|
<mn>20</mn>
|
|
|
|
</munderover>
|
|
|
|
<mi>x</mi>
|
|
|
|
<mi>dx</mi>
|
|
|
|
</math>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Semantic Tree:
|
|
|
|
```html
|
|
|
|
<stree>
|
|
|
|
<relseq role="equality" id="24">
|
|
|
|
=
|
|
|
|
<content>
|
|
|
|
<relation role="equality" id="13">=</relation>
|
|
|
|
</content>
|
|
|
|
<children>
|
|
|
|
<infixop role="addition" id="23">
|
|
|
|
+
|
|
|
|
<content>
|
|
|
|
<operator role="addition" id="6">+</operator>
|
|
|
|
</content>
|
|
|
|
<children>
|
|
|
|
<integral role="integral" id="22">
|
|
|
|
<children>
|
|
|
|
<limboth role="integral" id="3">
|
|
|
|
<children>
|
|
|
|
<largeop role="integral" id="0">∫</largeop>
|
|
|
|
<number role="integer" font="normal" id="1">0</number>
|
|
|
|
<number role="integer" font="normal" id="2">10</number>
|
|
|
|
</children>
|
|
|
|
</limboth>
|
|
|
|
<identifier role="latinletter" font="italic" id="4">x</identifier>
|
|
|
|
<identifier role="unknown" font="normal" id="5">dx</identifier>
|
|
|
|
</children>
|
|
|
|
</integral>
|
|
|
|
<integral role="integral" id="21">
|
|
|
|
<children>
|
|
|
|
<limboth role="integral" id="10">
|
|
|
|
<children>
|
|
|
|
<largeop role="integral" id="7">∫</largeop>
|
|
|
|
<number role="integer" font="normal" id="8">10</number>
|
|
|
|
<number role="integer" font="normal" id="9">20</number>
|
|
|
|
</children>
|
|
|
|
</limboth>
|
|
|
|
<identifier role="latinletter" font="italic" id="11">x</identifier>
|
|
|
|
<identifier role="unknown" font="normal" id="12">dx</identifier>
|
|
|
|
</children>
|
|
|
|
</integral>
|
|
|
|
</children>
|
|
|
|
</infixop>
|
|
|
|
<integral role="integral" id="20">
|
|
|
|
<children>
|
|
|
|
<limboth role="integral" id="17">
|
|
|
|
<children>
|
|
|
|
<largeop role="integral" id="14">∫</largeop>
|
|
|
|
<number role="integer" font="normal" id="15">0</number>
|
|
|
|
<number role="integer" font="normal" id="16">20</number>
|
|
|
|
</children>
|
|
|
|
</limboth>
|
|
|
|
<identifier role="latinletter" font="italic" id="18">x</identifier>
|
|
|
|
<identifier role="unknown" font="normal" id="19">dx</identifier>
|
|
|
|
</children>
|
|
|
|
</integral>
|
|
|
|
</children>
|
|
|
|
</relseq>
|
|
|
|
</stree>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Semantically enriched MathML:
|
|
|
|
```html
|
|
|
|
<math type="relseq" role="equality" id="24" children="23,20" content="13">
|
|
|
|
<mrow type="infixop" role="addition" id="23" children="22,21" content="6" parent="24">
|
|
|
|
<mrow type="integral" role="integral" id="22" children="3,4,5" parent="23">
|
|
|
|
<munderover type="limboth" role="integral" id="3" children="0,1,2" parent="22">
|
|
|
|
<mi type="largeop" role="integral" id="0" parent="3">∫</mi>
|
|
|
|
<mn type="number" role="integer" id="1" parent="3">0</mn>
|
|
|
|
<mn type="number" role="integer" id="2" parent="3">10</mn>
|
|
|
|
</munderover>
|
|
|
|
<mi type="identifier" role="latinletter" id="4" parent="22">x</mi>
|
|
|
|
<mi type="identifier" role="unknown" id="5" parent="22">dx</mi>
|
|
|
|
</mrow>
|
|
|
|
<mo type="operator" role="addition" id="6" operator="infixop,+" parent="23">+</mo>
|
|
|
|
<mrow type="integral" role="integral" id="21" children="10,11,12" parent="23">
|
|
|
|
<munderover type="limboth" role="integral" id="10" children="7,8,9" parent="21">
|
|
|
|
<mi type="largeop" role="integral" id="7" parent="10">∫</mi>
|
|
|
|
<mn type="number" role="integer" id="8" parent="10">10</mn>
|
|
|
|
<mn type="number" role="integer" id="9" parent="10">20</mn>
|
|
|
|
</munderover>
|
|
|
|
<mi type="identifier" role="latinletter" id="11" parent="21">x</mi>
|
|
|
|
<mi type="identifier" role="unknown" id="12" parent="21">dx</mi>
|
|
|
|
</mrow>
|
|
|
|
</mrow>
|
|
|
|
<mo type="relation" role="equality" id="13" operator="relseq,=" parent="24">=</mo>
|
|
|
|
<mrow type="integral" role="integral" id="20" children="17,18,19" parent="24">
|
|
|
|
<munderover type="limboth" role="integral" id="17" children="14,15,16" parent="20">
|
|
|
|
<mi type="largeop" role="integral" id="14" parent="17">∫</mi>
|
|
|
|
<mn type="number" role="integer" id="15" parent="17">0</mn>
|
|
|
|
<mn type="number" role="integer" id="16" parent="17">20</mn>
|
|
|
|
</munderover>
|
|
|
|
<mi type="identifier" role="latinletter" id="18" parent="20">x</mi>
|
|
|
|
<mi type="identifier" role="unknown" id="19" parent="20">dx</mi>
|
|
|
|
</mrow>
|
|
|
|
</math>
|
|
|
|
|
|
|
|
``` |
|
|
|
\ No newline at end of file |