Friday, January 06, 2012

Testing Math ML

This formula by Ramanujan is being rendered by MathJax. The equation was derived from the handwriting-to-MathML utility, Web Equation, and then hand edited a bit.  This formula served as a basis for our Python Pi Day contest last year, at OST.

 
1 π = 8 9801 n = 0   4 n ! n ! 4 26390 n + 1103 39 6 4 n

Right click on the equation and choose Show Source to look at the MathML.

In LaTex (I didn't need to edit this one): $$ \dfrac {1} {\pi }=\dfrac {\sqrt {8}} {9801}\sum _{n=0}^{\infty }\dfrac {\left( 4n\right) !} {\left( n!\right) ^{4}}\left[ \dfrac {26390n+1103} {396^{4n}}\right] $$ 
Ramanujan's crazy-making identities get mentioned by me a few times in this debate thread on math-teach.

If you're not seeing equations for one-over-pi, click here for a picture of this blog post to see what you're missing -- provided Flickr still exists.