MathML HTML

The Quadratic Formula

This is the quadratic formula

QuadraticFormula.html

<!doctype html>
<html>
  <head>
    <title>XoaX.net's MathML: The Quadratic Formula Example</title>
  </head>
  <body>
    <p>
      The Quadratic Formula is
      <math display='block'>
      	<mrow>
      		<mi>x</mi>
      		<mo>=</mo>
      		<mfrac>
      			<mrow>
      				<mrow>
      					<mo>-</mo>
      					<mi>b</mi>
      				</mrow>
      				<mo>&PlusMinus;</mo>
      				<msqrt>
      					<mrow>
      						<msup>
      							<mi>b</mi>
      							<mn>2</mn>
      						</msup>
      						<mo>-</mo>
      						<mrow>
      							<mn>4</mn>
      							<mo>&InvisibleTimes;</mo>
      							<mi>a</mi>
      							<mo>&InvisibleTimes;</mo>
      							<mi>c</mi>
      						</mrow>
      					</mrow>
      				</msqrt>
      			</mrow>
      			<mrow>
      				<mn>2</mn>
      				<mo>&InvisibleTimes;</mo>
      				<mi>a</mi>
      			</mrow>
      		</mfrac>
      	</mrow>
      </math>
    </p>
  </body>
</html>
 

Output

 
 

© 2007–2025 XoaX.net LLC. All rights reserved.