Afficher des équations mathématiques dans des pages HTML avec MathJax

on
MathJax semble être une solution pratique qui offre une haute qualité d'affichage de notations mathématiques LaTeX et MathML  dans des pages HTML.

En fait, le code source de MathJax est absolument à voir .


Vous pouvez incorporer le droit LaTeX suivant dans votre page:


The Lorenz Equations

\[\begin{matrix}
\dot{x} & = & \sigma(y-x) \\
\dot{y} & = & \rho x - y - xz \\
\dot{z} & = & -\beta z + xy
\end{matrix} \]

The Cauchy-Schwarz Inequality


\[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \]

A Cross Product Formula


\[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
\mathbf{i} & \mathbf{j} & \mathbf{k} \\
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0
\end{vmatrix} \]

The probability of getting \(k\) heads when flipping \(n\) coins is:


\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \]

An Identity of Ramanujan

\[ \frac{1}{(\sqrt{\phi \sqrt{5}}-\phi) e^{\frac25 \pi}} =
1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}}
{1+\frac{e^{-8\pi}} {1+\ldots} } } } \]


et alors vous obtenez le résultat suivant:


Aucun commentaire:

Enregistrer un commentaire