Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jcayzac/5801875 to your computer and use it in GitHub Desktop.

Select an option

Save jcayzac/5801875 to your computer and use it in GitHub Desktop.
<div role="math" tabindex="0" aria-label="3 times the identity matrix">
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
<mi>x</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mo form="prefix">&minus;</mo>
<mi>b</mi>
<mo>&PlusMinus;</mo>
<msqrt>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>&minus;</mo>
<mn>4</mn>
<mo>&InvisibleTimes;</mo>
<mi>a</mi>
<mo>&InvisibleTimes;</mo>
<mi>c</mi>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
<mo>&InvisibleTimes;</mo>
<mi>a</mi>
</mrow>
</mfrac>
</mrow>
<annotation-xml encoding="MathML-Content">
<apply>
<in/>
<ci>x</ci>
<set>
<apply>
<divide/>
<apply>
<plus/> <!-- upper root -->
<apply>
<minus/>
<ci>b</ci>
</apply>
<apply>
<root/>
<apply>
<minus/>
<apply>
<power/>
<ci>b</ci>
<cn>2</cn>
</apply>
<apply>
<times/>
<cn>4</cn>
<ci>a</ci>
<ci>c</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<times/>
<cn>2</cn>
<ci>a</ci>
</apply>
</apply>
<apply>
<divide/>
<apply>
<minus/> <!-- lower root -->
<apply>
<minus/>
<ci>b</ci>
</apply>
<apply>
<root/>
<apply>
<minus/>
<apply>
<power/>
<ci>b</ci>
<cn>2</cn>
</apply>
<apply>
<times/>
<cn>4</cn>
<ci>a</ci>
<ci>c</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<times/>
<cn>2</cn>
<ci>a</ci>
</apply>
</apply>
</set>
</apply>
</annotation-xml>
<annotation-xml encoding="image/svg+xml">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 200 200" style="width: 16.107ex; height: 7.992ex; vertical-align: -3.443ex; margin: 1px 0px;">
<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red" />
</svg>
</annotation-xml>
</semantics>
</math>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment