<!DOCTYPE html>

<html>

<!— Copyright (c) 2012 Design Science, Inc. —>

<head>

<title>Math Test Page</title>

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

 

<!— This script tag is needed to make calibre's ebook-viewer recpgnize that this file needs math typesetting —>

<script type="text/x-mathjax-config">

// This line adds numbers to all equations automatically, unless explicitly suppressed.

MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "all" } });

</script>

 

<style>

h1 {text-align:center}

h2 {

font-weight: bold;

background-color: #DDDDDD;

padding: .2em .5em;

margin-top: 1.5em;

border-top: 3px solid #666666;

border-bottom: 2px solid #999999;

}

</style>

</head>

<body>

 

<h1>Sample Equations</h1>

 

<h2>Maxwell's Equations</h2>

 

<p>

\begin{align}\label{max}

\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \

\nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \

\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \

\nabla \cdot \vec{\mathbf{B}} & = 0

\end{align}

</p>

 

<h2>In-line Mathematics</h2>

 

<p>While display equations look good for a page of samples, the

ability to mix math and text in a paragraph is also important. This

expression \(\sqrt{3x-1}+(1+x)^2\) is an example of an inline equation. As

you see, equations can be used this way as well, without unduly

disturbing the spacing between lines.</p>

 

<h2>References to equations</h2>

 

<p>Here is a reference to the Maxwell's Equations (\ref{max}). Clicking on the equation number will take you back to the equation.</p>

 

</body>

</html>