Plugin para outros Navegadores

Cabeçalho:

<html xmlns:m="http://www.w3.org/1998/Math/MathML">
<head>
<title>MathML</title>
<object id="mathplayer" classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987">
</object>
<script>
/* March 19, 2004 MathHTML (c) Peter Jipsen http://www.chapman.edu/~jipsen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
(at http://www.gnu.org/copyleft/gpl.html) for more details.*/

function convertMath(node) {// for Gecko
if (node.nodeType==1) {
var newnode =
document.createElementNS("http://www.w3.org/1998/Math/MathML",
node.nodeName.toLowerCase());
for(var i=0; i < node.attributes.length; i++)
newnode.setAttribute(node.attributes[i].nodeName,
node.attributes[i].nodeValue);
for (var i=0; i<node.childNodes.length; i++) {
var st = node.childNodes[i].nodeValue;
if (st==null || st.slice(0,1)!=" " && st.slice(0,1)!="\n")
newnode.appendChild(convertMath(node.childNodes[i]));
}
return newnode;
}
else return node;
}
function convert() {
var mmlnode = document.getElementsByTagName("math");
var st,str,node,newnode;
for (var i=0; i<mmlnode.length; i++)
if (document.createElementNS!=null)
mmlnode[i].parentNode.replaceChild(convertMath(mmlnode[i]),mmlnode[i]);
else { // convert for IE
str = "";
node = mmlnode[i];
while (node.nodeName!="/MATH") {
st = node.nodeName.toLowerCase();
if (st=="#text") str += node.nodeValue;
else {
str += (st.slice(0,1)=="/" ? "</m:"+st.slice(1) : "<m:"+st);
if (st.slice(0,1)!="/")
for(var j=0; j < node.attributes.length; j++)
if (node.attributes[j].nodeValue!="italic" &&
node.attributes[j].nodeValue!="" &&
node.attributes[j].nodeValue!="inherit" &&
node.attributes[j].nodeValue!=undefined)
str += " "+node.attributes[j].nodeName+"="+
"\""+node.attributes[j].nodeValue+"\"";
str += ">";
}
node = node.nextSibling;
node.parentNode.removeChild(node.previousSibling);
}
str += "</m:math>";
newnode = document.createElement("span");
node.parentNode.replaceChild(newnode,node);
newnode.innerHTML = str;
}
}

// avoid adding MathPlayer info explicitly to each webpage
if (document.createElementNS==null) {
document.write("<object id=\"mathplayer\"\
classid=\"clsid:32F66A20-7614-11D4-BD11-00104BD3F987\"></object>");
document.write("<?import namespace=\"m\" implementation=\"#mathplayer\"?>");
}
</script>
</head>
<body onload="convert()">

Número Inteiro

2 3 6 . 4 1 2 . 3 4 2
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>2</mn>
<mn>3</mn>
<mn>6</mn>
<mtext>.</mtext>
<mn>4</mn>
<mn>1</mn>
<mn>2</mn>
<mtext>.</mtext>
<mn>3</mn>
<mn>4</mn>
<mn>2</mn>
</mrow>
</math>

Decimal

0 , 5 4 . 6 7 8 . 1
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>0</mn>
<mtext>,</mtext>
<mn>5</mn>
<mn>4</mn>
<mtext>.</mtext>
<mn>6</mn>
<mn>7</mn>
<mn>8</mn>
<mtext>.</mtext>
<mn>1</mn>
</mrow>
</math>

Adição

4 + 5 = 9
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>4</mn>
<mo>+</mo>
<mn>5</mn>
<mo>=</mo>
<mn>9</mn>
</mrow>
</math>

Subtração

5 - 4 = 1
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>5</mn>
<mo>-</mo>
<mn>4</mn>
<mo>=</mo>
<mn>1</mn>
</mrow>
</math>

Multiplicação

5 × 4 = 2 0
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>5</mn>
<mo>&times;</mo>
<mn>4</mn>
<mo>=</mo>
<mn>2</mn>
<mn>0</mn>
</mrow>
</math>

Divisão

5 ÷ 4 = 1 , 2 5
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>5</mn>
<mo>&div;</mo>
<mn>4</mn>
<mo>=</mo>
<mn>1</mn>
<mtext>,</mtext>
<mn>2</mn>
<mn>5</mn>
</mrow>
</math>

Fração

1 1 . 0 2 4
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mfrac>
<mrow>
<mn>1</mn>
</mrow>
<mrow>
<mn>1</mn>
<mtext>.</mtext>
<mn>0</mn>
<mn>2</mn>
<mn>4</mn>
</mrow>
</mfrac>
</mrow>
</math>

Potência

2 0 5
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msup>
<mrow>
<mn>2</mn>
<mn>0</mn>
</mrow>
<mn>5</mn>
</msup>
</mrow>
</math>

Radiciação

5 6 8 3 3
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mroot>
<mrow>
<mfrac>
<mrow>
<mn>5</mn>
<mn>6</mn>
<mn>8</mn>
</mrow>
<mrow>
<mn>3</mn>
</mrow>
</mfrac>
</mrow>
<mrow>
<mn>3</mn>
</mrow>
</mroot>
</mrow>
</math>

Mais ou Menos

x = ± 4
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>=</mo>
<mo>&plusmn;</mo>
<msqrt>
<mn>4</mn>
</msqrt>
</mrow>
</math>

Função Algébrica

3 + 4 x 2 - 8 y
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mfrac>
<mrow>
<mn>3</mn>
<mo>+</mo>
<mn>4</mn>
<mi>x</mi>
</mrow>
<mrow>
<mn>2</mn>
<mo>-</mo>
<mn>8</mn>
<mi>y</mi>
</mrow>
</mfrac>
</mrow>
</math>

Operadores Aritméticos

Menor que
x < 2
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>&lt;</mo>
<mn>2</mn>
</mrow>
</math>
Maior que
x > 4
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>&gt;</mo>
<mn>4</mn>
</mrow>
</math>
Menor ou Iqual
x 8
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>&le;</mo>
<mn>8</mn>
</mrow>
</math>
Maior ou Igual
x 9
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>&ge;</mo>
<mn>9</mn>
</mrow>
</math>
Diferente
x 8
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>&ne;</mo>
<mn>8</mn>
</mrow>
</math>
Aprocimadamente
x 9 , 3 2
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>&cong;</mo>
<mn>9</mn>
<mtext>,</mtext>
<mn>3</mn>
<mn>2</mn>
</mrow>
</math>

Conjuto

Pertence
4 A
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>4</mn>
<mo>&isin;</mo>
<mtext>A</mtext>
</mrow>
</math>
Não Pertence
8 B
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>8</mn>
<mo>&notin;</mo>
<mtext>B</mtext>
</mrow>
</math>
Contém
A C
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>A</mtext>
<mo>&sup;</mo>
<mtext>C</mtext>
</mrow>
</math>
Não Contém
E F
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>E</mtext>
<mo>&#8836;</mo>
<mtext>F</mtext>
</mrow>
</math>
Está Contido
B E
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>B</mtext>
<mo>&sub;</mo>
<mtext>E</mtext>
</mrow>
</math>
Não Está Contido
E F
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>E</mtext>
<mo>&#8837;</mo>
<mtext>F</mtext>
</mrow>
</math>
União
E F
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>E</mtext>
<mo>&cup;</mo>
<mtext>F</mtext>
</mrow>
</math>
Intercesão
E F
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>E</mtext>
<mo>&cap;</mo>
<mtext>F</mtext>
</mrow>
</math>
Conjunto 1
A = 1 2 ; 4 5 ; 5 6
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>A</mtext>
<mo>=</mo>
<mfenced open="{" close="}" separators=",">
<mrow>
<mn>1</mn>
<mn>2</mn>
<mo>;</mo>
<mn>4</mn>
<mn>5</mn>
<mo>;</mo>
<mn>5</mn>
<mn>6</mn>
</mrow>
</mfenced>
</mrow>
</math>
Conjuto 2
A = x \ x < 7
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>A</mtext>
<mo>=</mo>
<mfenced open="{" close="}" separators=",">
<mrow>
<mi>x</mi>
<mo>&isin;</mo>
<mi>&real;</mi>
<mi>\</mi>
<mi>x</mi>
<mo>&lt;</mo>
<mn>7</mn>
</mrow>
</mfenced>
</mrow>
</math>
Conjunto Vasio 1
A = {}
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>A</mtext>
<mo>=</mo>
<mo>{}</mo>
</mrow>
</math>
Conjunto Vasio 2
A =
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>A</mtext>
<mo>=</mo>
<mi>&amp;empty;</mi><mo>&ApplyFunction;</mo>
</mrow>
</math>

Equação 1

x - 7 = - 2 x - 1 x + 2 x = 7 - 1 3 x = 6 x = 6 3 x = 2
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>-</mo>
<mn>7</mn>
<mo>=</mo>
<mo>-</mo>
<mn>2</mn>
<mi>x</mi>
<mo>-</mo>
<mn>1</mn>
<mo>&there4;</mo>
</mrow>
</math>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>+</mo>
<mn>2</mn>
<mi>x</mi>
<mo>=</mo>
<mn>7</mn>
<mo>-</mo>
<mn>1</mn>
<mo>&there4;</mo>
</mrow>
</math>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>3</mn>
<mi>x</mi>
<mo>=</mo>
<mn>6</mn>
<mo>&there4;</mo>
</mrow>
</math>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mn>6</mn>
</mrow>
<mrow>
<mn>3</mn>
</mrow>
</mfrac>
<mo>&there4;</mo>
</mrow>
</math>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi mathbackground="#33CCFF">x</mi>
<mo mathbackground="#33CCFF">=</mo>
<mn mathbackground="#33CCFF">2</mn>
</mrow>
</math>

Equação 2

x - 7 = 2 x - 1 x + 2 x = 7 - 1 3 x = 6 x = 6 3 x = 2
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>-</mo>
<mn>7</mn>
<mo>=</mo>
<mn>2</mn>
<mi>x</mi>
<mo>-</mo>
<mn>1</mn>
<mo>&rArr;</mo>
<mi>x</mi>
<mo>+</mo>
<mn>2</mn>
<mi>x</mi>
<mo>=</mo>
<mn>7</mn>
<mo>-</mo>
<mn>1</mn>
<mo>&rArr;</mo>
<mn>3</mn>
<mi>x</mi>
<mo>=</mo>
<mn>6</mn>
<mo>&rArr;</mo>
<mi>x</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mn>6</mn>
</mrow>
<mrow>
<mn>3</mn>
</mrow>
</mfrac>
<mo>&rArr;</mo>
<mi mathbackground="#33CCFF">x</mi>
<mo mathbackground="#33CCFF">=</mo>
<mn mathbackground="#33CCFF">2</mn>
</mrow>
</math>

Matriz

a = 6 7 9 4 8 2 5 7 9
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>a</mi>
<mo>=</mo>
<mtable>
<mtr>
<mtd>
<mn>6</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>9</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>4</mn>
</mtd>
<mtd>
<mn>8</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>5</mn>
</mtd>
<mtd>
<mn>7</mn>
</mtd>
<mtd>
<mn>9</mn>
</mtd>
</mtr>
</mtable>
</mrow>
</math>

Cores

a = 2 + 1 - 1
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>a</mi>
<mo>=</mo>
<mn>2</mn>
<mo mathcolor="#FF0000">+</mo>
<mn mathcolor="#FF0000">1</mn>
<mo mathcolor="#FF0000">-</mo>
<mn mathcolor="#FF0000">1</mn>
</mrow>
</math>

Parenteses

a = ( x + 1 ) ( x - 1 )
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>a</mi>
<mo>=</mo>
<mo>(</mo>
<mi>x</mi>
<mo>+</mo>
<mn>1</mn>
<mo>)</mo>
<mo>(</mo>
<mi>x</mi>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</math>

Módulo

a = c + 8
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>a</mi>
<mo>=</mo>
<mfenced open="|" close="|" separators=",">
<mrow>
<mi>c</mi>
<mo>+</mo>
<mn>8</mn>
</mrow>
</mfenced>
</mrow>
</math>

Sobre

a 2 = a 1 + r
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msub>
<mi>a</mi>
<mn>2</mn>
</msub>
<mo>=</mo>
<msub>
<mi>a</mi>
<mn>1</mn>
</msub>
<mo>+</mo>
<mi>r</mi>
</mrow>
</math>

Fórmula de Química 1

Ba S O 4 Ba + 2 + SO 4 - 2
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>Ba</mtext>
<mspace width="0.5em" />
<mtext>S</mtext>
<mspace width="0.5em" />
<msub>
<mtext>O</mtext>
<mn>4</mn>
</msub>
<mo>&lrarr;</mo>
<msup>
<mtext>Ba</mtext>
<mrow>
<mo>+</mo>
<mn>2</mn>
</mrow>
</msup>
<mo>+</mo>
<msubsup>
<mtext>SO</mtext>
<mn>4</mn>
<mrow>
<mo>-</mo>
<mn>2</mn>
</mrow>
</msubsup>
</mrow>
</math>

Fórmula de Química 2

Ba S O 4 Ba + 2 + SO 4 - 2
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>Ba</mtext>
<mtext>S</mtext>
<msub>
<mtext>O</mtext>
<mn>4</mn>
</msub>
<mo>&#8594;</mo>
<msup>
<mtext>Ba</mtext>
<mrow>
<mo>+</mo>
<mn>2</mn>
</mrow>
</msup>
<mo>+</mo>
<msubsup>
<mtext>SO</mtext>
<mn>4</mn>
<mrow>
<mo>-</mo>
<mn>2</mn>
</mrow>
</msubsup>
</mrow>
</math>

Angulo 1

Sen ( 3 0 ° )
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>Sen</mtext>
<mo>(</mo>
<mn>3</mn>
<mn>0</mn>
<mtext>°</mtext>
<mo>)</mo>
</mrow>
</math>

Angulo 2

Cos ( π 2 )
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>Cos</mtext>
<mo>(</mo>
<mfrac>
<mrow>
<mi>&pi;</mi>
</mrow>
<mrow>
<mn>2</mn>
</mrow>
</mfrac>
<mo>)</mo>
</mrow>
</math>

Angulo

A O ^ B
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>A</mtext>
<mover accent="true">
<mtext>O</mtext>
<mo>^</mo>
</mover>
<mtext>B</mtext>
</mrow>
</math>

Reta AB

1)

AB
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mover>
<mtext>AB</mtext>
<mo>&#8594;</mo>
</mover>
</mrow>
</math>

2)

AB
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mover>
<mtext>AB</mtext>
<mo>&#8592;</mo>
</mover>
</mrow>
</math>

3)

AB
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mover>
<mtext>AB</mtext>
<mo>&#8596;</mo>
</mover>
</mrow>
</math>

4)

AB
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mover>
<mtext>AB</mtext>
<mo>&mdash;</mo>
</mover>
</mrow>
</math>

Logaritmo

Log ( 1 0 2 )
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mtext>Log</mtext>
<msubsup>
<mo>(</mo>
<mrow>
<mn>1</mn>
<mn>0</mn>
</mrow>
<mn>2</mn>
</msubsup>
<mo>)</mo>
</mrow>
</math>