Page Content
The equation below is a MathML representation with MathJax implementation of one version of Planck’s Law. As of October 2012 supported browsers include Firefox 4+, Safari 5+ or Internet Explorer 9 with MathPlayer 3.
Base MathML Code
Below is the presentation MathML code used.
<mrow>
<mi>E</mi><mo>=</mo>
<mfrac>
<mrow>
<mn>2</mn><mi>π</mi><mi>h</mi>
<msup>
<mi>c</mi>
<mn>2</mn>
</msup>
</mrow>
<mrow>
<msup>
<mi>λ</mi>
<mn>5</mn>
</msup>
<mrow><mo>(</mo>
<mrow>
<msup>
<mi>e</mi>
<mrow>
<mi>h</mi><mi>c</mi><mo>−</mo><mi>λ</mi>
<msub>
<mi>k</mi>
<mi>b</mi>
</msub>
<mi>T</mi>
</mrow>
</msup>
<mo>−</mo><mn>1</mn>
</mrow>
<mo>)</mo>
</mrow>
</mrow>
</mfrac>
</mrow>
</math>
Display In Sites At Penn State
To display this equation in Sites at Penn State or other Word Press site, you need to enable the MathJax-LaTeX plugin, then set the display to TeX-AMS-MML_HTMLorMML. See the MathML page for more information.
Any MathML used must be inserted in code view and must be enclosed in [mathjax] shortcode tags. See partial example below
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>E</mi><mo>=</mo>
<mfrac>
…
</mfrac>
</mrow>
</math>
[mathjax]
MathJax
When MathML is used outside of Sites at Penn State, it is recommended that a link to the MathJax library be included using one of the links below. See the MathML and MathJax page for more information.
MathJax Script Links
For a Public Page
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
For a Password Protected Page
Use the link below for Canvas or a password protected LMS or archive. Note that the link is the same as the one above except for the https:// prefix.
<script type="text/javascript"
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>