|
# Integral Examples
|
|
# Integral Examples
|
|
|
|
|
|
|
|
## Example 1
|
|
|
|
|
|
|
|
Original MathML:
|
|
|
|
```html
|
|
|
|
<math>
|
|
|
|
<mi>∫</mi>
|
|
|
|
<mi>a</mi>
|
|
|
|
<mo>+</mo>
|
|
|
|
<mi>b</mi>
|
|
|
|
<mi>dx</mi>
|
|
|
|
</math>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Semantic Tree:
|
|
|
|
```html
|
|
|
|
<stree>
|
|
|
|
<integral role="integral" id="6">
|
|
|
|
<children>
|
|
|
|
<largeop role="integral" id="0">∫</largeop>
|
|
|
|
<infixop role="addition" id="5">
|
|
|
|
+
|
|
|
|
<content>
|
|
|
|
<operator role="addition" id="2">+</operator>
|
|
|
|
</content>
|
|
|
|
<children>
|
|
|
|
<identifier role="latinletter" font="italic" id="1">a</identifier>
|
|
|
|
<identifier role="latinletter" font="italic" id="3">b</identifier>
|
|
|
|
</children>
|
|
|
|
</infixop>
|
|
|
|
<identifier role="unknown" font="normal" id="4">dx</identifier>
|
|
|
|
</children>
|
|
|
|
</integral>
|
|
|
|
</stree>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Semantically enriched MathML:
|
|
|
|
```html
|
|
|
|
<math type="integral" role="integral" id="6" children="0,5,4">
|
|
|
|
<mi type="largeop" role="integral" id="0" parent="6">∫</mi>
|
|
|
|
<mrow type="infixop" role="addition" id="5" children="1,3" content="2" parent="6">
|
|
|
|
<mi type="identifier" role="latinletter" id="1" parent="5">a</mi>
|
|
|
|
<mo type="operator" role="addition" id="2" operator="infixop,+" parent="5">+</mo>
|
|
|
|
<mi type="identifier" role="latinletter" id="3" parent="5">b</mi>
|
|
|
|
</mrow>
|
|
|
|
<mi type="identifier" role="unknown" id="4" parent="6">dx</mi>
|
|
|
|
</math>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Example 2
|
|
|
|
|
|
|
|
Original MathML:
|
|
|
|
```html
|
|
|
|
<math>
|
|
|
|
<mi>∫</mi>
|
|
|
|
<mi>∫</mi>
|
|
|
|
<mi>∫</mi>
|
|
|
|
<mi>dx</mi>
|
|
|
|
<mi>dy</mi>
|
|
|
|
<mi>dz</mi>
|
|
|
|
</math>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Semantic Tree:
|
|
|
|
```html
|
|
|
|
<stree>
|
|
|
|
<integral role="integral" id="9">
|
|
|
|
<children>
|
|
|
|
<largeop role="integral" id="0">∫</largeop>
|
|
|
|
<integral role="integral" id="8">
|
|
|
|
<children>
|
|
|
|
<largeop role="integral" id="1">∫</largeop>
|
|
|
|
<integral role="integral" id="7">
|
|
|
|
<children>
|
|
|
|
<largeop role="integral" id="2">∫</largeop>
|
|
|
|
<empty role="unknown" id="6"/>
|
|
|
|
<identifier role="unknown" font="normal" id="3">dx</identifier>
|
|
|
|
</children>
|
|
|
|
</integral>
|
|
|
|
<identifier role="unknown" font="normal" id="4">dy</identifier>
|
|
|
|
</children>
|
|
|
|
</integral>
|
|
|
|
<identifier role="unknown" font="normal" id="5">dz</identifier>
|
|
|
|
</children>
|
|
|
|
</integral>
|
|
|
|
</stree>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
Semantically enriched MathML:
|
|
|
|
```html
|
|
|
|
<math type="integral" role="integral" id="9" children="0,8,5">
|
|
|
|
<mi type="largeop" role="integral" id="0" parent="9">∫</mi>
|
|
|
|
<mrow type="integral" role="integral" id="8" children="1,7,4" parent="9">
|
|
|
|
<mi type="largeop" role="integral" id="1" parent="8">∫</mi>
|
|
|
|
<mrow type="integral" role="integral" id="7" children="2,6,3" parent="8">
|
|
|
|
<mi type="largeop" role="integral" id="2" parent="7">∫</mi>
|
|
|
|
<mrow type="empty" role="unknown" id="6" children="" parent="7"/>
|
|
|
|
<mi type="identifier" role="unknown" id="3" parent="7">dx</mi>
|
|
|
|
</mrow>
|
|
|
|
<mi type="identifier" role="unknown" id="4" parent="8">dy</mi>
|
|
|
|
</mrow>
|
|
|
|
<mi type="identifier" role="unknown" id="5" parent="9">dz</mi>
|
|
|
|
</math>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Example 3
|
|
|
|
|
|
Original MathML:
|
|
Original MathML:
|
|
```html
|
|
```html
|
|
<math>
|
|
<math>
|
... | | ... | |