This is my first foray into the MathML or Mathematical Markup Language...markup language.
Things will show up here from time to time documenting various tests.
I am no expert. The following, however, is a good start for anyone looking to get into this.
<math> opens up a MathML statement (it might be a good idea to also include "xmlns="http://www.w3.org/1998/Math/MathML"", just because)
<mi> represents an "identifier", which can be x, y, s, r, a, etc.
<mo> represents operators such as times, divided by, plus, minus, etc.
<mn> represents numbers
<mtext> represents text. When embedded into HTML or XHTML markup can be used within this tag.
<mrow> represents rows. This can be used to simulate formulas that involve an equation over another equation, plus other useful things. MUST BE CONTAINED WITHIN FRACTION TAGS.
<msup> and <msub> represents superscripts/subscripts. THE ELEMENT YOU ARE ATTACHING IT TO MUST BE CONTAINED WITHIN THIS TAG OR ERROR OCCURS.
<mfrac> represents fractions. Rows must be contained in this for it to work properly.
<msqrt> (<mroot>) represents roots/square roots.
<mfenced> represents fences (ie parentheses, square brackets, those kinds of things) around stuff.
But how useful is it if it's not an actual equation?
Let's say we have two points on a line, one is (1, 1), the other is (4, 8). Let's figure out the slope, which is m.
Which, in turn, becomes this:
And then to figure out the rest of the equation (ie the b), sub in one of the points.