Buscar

prova calulo3 files

Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original

prova calulo3_files/0028.png
prova calulo3_files/0029.png
prova calulo3_files/002B.png
prova calulo3_files/002C.png
prova calulo3_files/0032(1).png
prova calulo3_files/0032.png
prova calulo3_files/0033(1).png
prova calulo3_files/0033.png
prova calulo3_files/0034.png
prova calulo3_files/003D.png
prova calulo3_files/0066.png
prova calulo3_files/0078.png
prova calulo3_files/0079.png
prova calulo3_files/alerta_novo.gif
The page cannot be displayed because an internal server error has occurred.
prova calulo3_files/ASCIIMathML.js.download
/*
ASCIIMathML.js
==============
This file contains JavaScript functions to convert ASCII math notation
to Presentation MathML. The conversion is done while the (X)HTML page 
loads, and should work with Firefox/Mozilla/Netscape 7+ and Internet 
Explorer 6+MathPlayer (http://www.dessci.com/en/products/mathplayer/).
Just add the next line to your (X)HTML page with this file in the same folder:
<script type="text/javascript" src="ASCIIMathML.js"></script>
This is a convenient and inexpensive solution for authoring MathML.
Version 1.4.7 Aug 7, 2005, (c) Peter Jipsen http://www.chapman.edu/~jipsen
Latest version at http://www.chapman.edu/~jipsen/mathml/ASCIIMathML.js
For changes see http://www.chapman.edu/~jipsen/mathml/asciimathchanges.txt
If you use it on a webpage, please send the URL to jipsen@chapman.edu
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.
*/
var checkForMathML = true; // check if browser can display MathML
var notifyIfNoMathML = true; // put note at top of page if no MathML capability
var mathcolor = ""; // change it to "" (to inherit) or any other color
var mathfontfamily = "Bookman Old Style"; // change to "" to inherit (works in IE) 
 // or another family (e.g. "arial")
var displaystyle = true; // puts limits above and below large operators
var showasciiformulaonhover = true; // helps students learn ASCIIMath
var decimalsign = "."; // change to "," if you like, beware of `(1,2)`!
var AMdelimiter1 = "`", AMescape1 = "\\\\`"; // can use other characters
//var AMdelimiter2 = "$", AMescape2 = "\\\\\\$", AMdelimiter2regexp = "\\$";
var AMdelimiter2 = "`", AMescape2 = "\\\\\\`", AMdelimiter2regexp = "\\`";
var doubleblankmathdelimiter = false; // if true, x+1 is equal to `x+1`
 // for IE this works only in <!-- -->
//var separatetokens;// has been removed (email me if this is a problem)
var isIE = document.createElementNS==null;
if (document.getElementById==null) 
 alert("Esta página requer o plug-in MathPlayer para visualizar as fórmulas matemáticas corretamente.")
// all further global variables start with "AM"
function AMcreateElementXHTML(t) {
 if (isIE) return document.createElement(t);
 else return document.createElementNS("http://www.w3.org/1999/xhtml",t);
}
function AMnoMathMLNote() {
 var nd = AMcreateElementXHTML("h5");
 nd.setAttribute("align","center")
 nd.appendChild(AMcreateElementXHTML("p"));
 nd.appendChild(AMcreateElementXHTML("<br><br>"));
 nd.appendChild(document.createTextNode("Para visualizar as fórmulas matemáticas"));
 var an = AMcreateElementXHTML("a");
// an.appendChild(document.createTextNode("ASCIIMathML"));
 an.setAttribute("href","http://www.chapman.edu/~jipsen/asciimath.html");
 nd.appendChild(an);
 nd.appendChild(document.createTextNode(" você deve instalar o plug-in ")); 
 an = AMcreateElementXHTML("a");
 an.appendChild(document.createTextNode("MathPlayer"));
 an.setAttribute("href","http://www.dessci.com/en/products/mathplayer/download.htm");
// an.setAttribute("href","http://www.dessci.com/en/dl/MathPlayerSetup.asp");
 nd.appendChild(an);
 nd.appendChild(document.createTextNode("."));
 nd.appendChild(AMcreateElementXHTML("p"));
 return nd;
}
function AMisMathMLavailable() {
 if (navigator.appName.slice(0,8)=="Netscape") 
 if (navigator.appVersion.slice(0,1)>="5") return null;
 else return AMnoMathMLNote();
 else if (navigator.appName.slice(0,9)=="Microsoft")
 try {
 var ActiveX = new ActiveXObject("MathPlayer.Factory.1");
 return null;
 } catch (e) {
 return AMnoMathMLNote();
 }
 else return AMnoMathMLNote();
}
// character lists for Mozilla/Netscape fonts
var AMcal = [0xEF35,0x212C,0xEF36,0xEF37,0x2130,0x2131,0xEF38,0x210B,0x2110,0xEF39,0xEF3A,0x2112,0x2133,0xEF3B,0xEF3C,0xEF3D,0xEF3E,0x211B,0xEF3F,0xEF40,0xEF41,0xEF42,0xEF43,0xEF44,0xEF45,0xEF46];
var AMfrk = [0xEF5D,0xEF5E,0x212D,0xEF5F,0xEF60,0xEF61,0xEF62,0x210C,0x2111,0xEF63,0xEF64,0xEF65,0xEF66,0xEF67,0xEF68,0xEF69,0xEF6A,0x211C,0xEF6B,0xEF6C,0xEF6D,0xEF6E,0xEF6F,0xEF70,0xEF71,0x2128];
var AMbbb = [0xEF8C,0xEF8D,0x2102,0xEF8E,0xEF8F,0xEF90,0xEF91,0x210D,0xEF92,0xEF93,0xEF94,0xEF95,0xEF96,0x2115,0xEF97,0x2119,0x211A,0x211D,0xEF98,0xEF99,0xEF9A,0xEF9B,0xEF9C,0xEF9D,0xEF9E,0x2124];
var CONST = 0, UNARY = 1, BINARY = 2, INFIX = 3, LEFTBRACKET = 4, 
 RIGHTBRACKET = 5, SPACE = 6, UNDEROVER = 7, DEFINITION = 8,
 LEFTRIGHT = 9, TEXT = 10; // token types
var AMsqrt = {input:"sqrt", tag:"msqrt", output:"sqrt", tex:null, ttype:UNARY},
 AMroot = {input:"root", tag:"mroot", output:"root", tex:null, ttype:BINARY},
 AMfrac = {input:"frac", tag:"mfrac", output:"/", tex:null, ttype:BINARY},
 AMdiv = {input:"/", tag:"mfrac", output:"/", tex:null, ttype:INFIX},
 AMover = {input:"stackrel", tag:"mover", output:"stackrel", tex:null, ttype:BINARY},
 AMsub = {input:"_", tag:"msub", output:"_", tex:null, ttype:INFIX},
 AMsup = {input:"^", tag:"msup", output:"^", tex:null, ttype:INFIX},
 AMtext = {input:"text", tag:"mtext", output:"text", tex:null, ttype:TEXT},
 AMmbox = {input:"mbox", tag:"mtext", output:"mbox", tex:null, ttype:TEXT},
 AMquote = {input:"\"", tag:"mtext", output:"mbox", tex:null, ttype:TEXT};
var AMsymbols = [
//some greek symbols
{input:"alpha", tag:"mi", output:"\u03B1", tex:null, ttype:CONST},
{input:"beta", tag:"mi", output:"\u03B2", tex:null, ttype:CONST},
{input:"chi", tag:"mi", output:"\u03C7", tex:null, ttype:CONST},
{input:"delta", tag:"mi", output:"\u03B4", tex:null, ttype:CONST},
{input:"Delta", tag:"mo", output:"\u0394", tex:null, ttype:CONST},
{input:"epsi", tag:"mi", output:"\u03B5", tex:"epsilon", ttype:CONST},
{input:"varepsilon", tag:"mi", output:"\u025B", tex:null, ttype:CONST},
{input:"eta", tag:"mi", output:"\u03B7", tex:null, ttype:CONST},
{input:"gamma", tag:"mi", output:"\u03B3", tex:null, ttype:CONST},
{input:"Gamma", tag:"mo", output:"\u0393", tex:null, ttype:CONST},
{input:"iota", tag:"mi", output:"\u03B9", tex:null, ttype:CONST},
{input:"kappa", tag:"mi", output:"\u03BA", tex:null, ttype:CONST},
{input:"lambda", tag:"mi", output:"\u03BB", tex:null, ttype:CONST},
{input:"Lambda", tag:"mo", output:"\u039B", tex:null, ttype:CONST},
{input:"mu", tag:"mi", output:"\u03BC", tex:null, ttype:CONST},
{input:"nu", tag:"mi", output:"\u03BD", tex:null, ttype:CONST},
{input:"omega", tag:"mi", output:"\u03C9", tex:null, ttype:CONST},
{input:"Omega", tag:"mo", output:"\u03A9", tex:null, ttype:CONST},
{input:"phi", tag:"mi", output:"\u03C6", tex:null, ttype:CONST},
{input:"varphi", tag:"mi", output:"\u03D5", tex:null, ttype:CONST},
{input:"Phi", tag:"mo", output:"\u03A6", tex:null, ttype:CONST},
{input:"pi", tag:"mi", output:"\u03C0", tex:null, ttype:CONST},
{input:"Pi", tag:"mo", output:"\u03A0", tex:null, ttype:CONST},
{input:"psi", tag:"mi", output:"\u03C8", tex:null, ttype:CONST},
{input:"Psi", tag:"mi", output:"\u03A8", tex:null, ttype:CONST},
{input:"rho", tag:"mi", output:"\u03C1", tex:null, ttype:CONST},
{input:"sigma", tag:"mi", output:"\u03C3", tex:null, ttype:CONST},
{input:"Sigma", tag:"mo", output:"\u03A3", tex:null, ttype:CONST},
{input:"tau", tag:"mi", output:"\u03C4", tex:null, ttype:CONST},
{input:"theta", tag:"mi", output:"\u03B8", tex:null, ttype:CONST},
{input:"vartheta", tag:"mi", output:"\u03D1", tex:null, ttype:CONST},
{input:"Theta", tag:"mo", output:"\u0398", tex:null, ttype:CONST},
{input:"upsilon", tag:"mi", output:"\u03C5", tex:null, ttype:CONST},
{input:"xi", tag:"mi", output:"\u03BE", tex:null, ttype:CONST},
{input:"Xi", tag:"mo", output:"\u039E", tex:null, ttype:CONST},
{input:"zeta", tag:"mi", output:"\u03B6", tex:null, ttype:CONST},
//binary operation symbols
{input:"*", tag:"mo", output:"\u22C5", tex:"cdot", ttype:CONST},
{input:"**", tag:"mo", output:"\u22C6", tex:"star", ttype:CONST},
{input:"//", tag:"mo", output:"/", tex:null, ttype:CONST},
{input:"\\\\", tag:"mo", output:"\\", tex:"backslash", ttype:CONST},
{input:"setminus", tag:"mo", output:"\\", tex:null, ttype:CONST},
{input:"xx", tag:"mo", output:"\u00D7", tex:"times", ttype:CONST},
{input:"-:", tag:"mo", output:"\u00F7", tex:"divide", ttype:CONST},
{input:"@", tag:"mo", output:"\u2218", tex:"circ", ttype:CONST},
{input:"o+", tag:"mo", output:"\u2295", tex:"oplus", ttype:CONST},
{input:"ox", tag:"mo", output:"\u2297", tex:"otimes", ttype:CONST},
{input:"o.", tag:"mo", output:"\u2299", tex:"odot", ttype:CONST},
{input:"sum", tag:"mo", output:"\u2211", tex:null, ttype:UNDEROVER},
{input:"prod", tag:"mo", output:"\u220F", tex:null, ttype:UNDEROVER},
{input:"^^", tag:"mo", output:"\u2227", tex:"wedge", ttype:CONST},
{input:"^^^", tag:"mo", output:"\u22C0", tex:"bigwedge", ttype:UNDEROVER},
{input:"vv", tag:"mo", output:"\u2228", tex:"vee", ttype:CONST},
{input:"vvv", tag:"mo", output:"\u22C1", tex:"bigvee", ttype:UNDEROVER},
{input:"nn", tag:"mo", output:"\u2229", tex:"cap", ttype:CONST},
{input:"nnn", tag:"mo", output:"\u22C2", tex:"bigcap", ttype:UNDEROVER},
{input:"uu", tag:"mo", output:"\u222A", tex:"cup", ttype:CONST},
{input:"uuu", tag:"mo", output:"\u22C3", tex:"bigcup", ttype:UNDEROVER},
//binary relation symbols
{input:"!=", tag:"mo", output:"\u2260", tex:"ne", ttype:CONST},
{input:":=", tag:"mo", output:":=", tex:null, ttype:CONST},
{input:"lt", tag:"mo", output:"<", tex:null, ttype:CONST},
{input:"<=", tag:"mo", output:"\u2264", tex:"le", ttype:CONST},
{input:"lt=", tag:"mo", output:"\u2264", tex:"leq", ttype:CONST},
{input:">=", tag:"mo", output:"\u2265", tex:"ge", ttype:CONST},
{input:"geq", tag:"mo", output:"\u2265", tex:null, ttype:CONST},
{input:"-<", tag:"mo", output:"\u227A", tex:"prec", ttype:CONST},
{input:"-lt", tag:"mo", output:"\u227A", tex:null, ttype:CONST},
{input:">-", tag:"mo", output:"\u227B", tex:"succ", ttype:CONST},
{input:"in", tag:"mo", output:"\u2208", tex:null, ttype:CONST},
{input:"!in", tag:"mo", output:"\u2209", tex:"notin", ttype:CONST},
{input:"sub", tag:"mo", output:"\u2282", tex:"subset", ttype:CONST},
{input:"sup", tag:"mo", output:"\u2283", tex:"supset", ttype:CONST},
{input:"sube", tag:"mo", output:"\u2286", tex:"subseteq", ttype:CONST},
{input:"supe", tag:"mo", output:"\u2287", tex:"supseteq", ttype:CONST},
{input:"-=", tag:"mo", output:"\u2261", tex:"equiv", ttype:CONST},
{input:"~=", tag:"mo", output:"\u2245", tex:"cong", ttype:CONST},
{input:"~~", tag:"mo", output:"\u2248", tex:"approx", ttype:CONST},
{input:"prop", tag:"mo", output:"\u221D", tex:"propto", ttype:CONST},
//logical symbols
{input:"and", tag:"mtext", output:"and", tex:null, ttype:SPACE},
{input:"or", tag:"mtext", output:"or", tex:null, ttype:SPACE},
{input:"not", tag:"mo", output:"\u00AC", tex:"neg", ttype:CONST},
{input:"=>", tag:"mo", output:"\u21D2", tex:"implies", ttype:CONST},
{input:"if", tag:"mo", output:"if", tex:null, ttype:SPACE},
{input:"<=>", tag:"mo", output:"\u21D4", tex:"iff", ttype:CONST},
{input:"AA", tag:"mo", output:"\u2200", tex:"forall", ttype:CONST},
{input:"EE", tag:"mo", output:"\u2203", tex:"exists", ttype:CONST},
{input:"_|_", tag:"mo", output:"\u22A5", tex:"bot", ttype:CONST},
{input:"TT", tag:"mo", output:"\u22A4", tex:"top", ttype:CONST},
{input:"|--", tag:"mo", output:"\u22A2", tex:"vdash", ttype:CONST},
{input:"|==", tag:"mo", output:"\u22A8", tex:"models", ttype:CONST},
//grouping brackets
{input:"(", tag:"mo", output:"(", tex:null, ttype:LEFTBRACKET},
{input:")", tag:"mo", output:")", tex:null, ttype:RIGHTBRACKET},
{input:"[", tag:"mo", output:"[", tex:null, ttype:LEFTBRACKET},
{input:"]", tag:"mo", output:"]", tex:null, ttype:RIGHTBRACKET},
{input:"{", tag:"mo", output:"{", tex:null, ttype:LEFTBRACKET},
{input:"}", tag:"mo", output:"}", tex:null, ttype:RIGHTBRACKET},
{input:"|", tag:"mo", output:"|", tex:null, ttype:LEFTRIGHT},
//{input:"||", tag:"mo", output:"||", tex:null, ttype:LEFTRIGHT},
{input:"(:", tag:"mo", output:"\u2329", tex:"langle", ttype:LEFTBRACKET},
{input:":)", tag:"mo", output:"\u232A", tex:"rangle", ttype:RIGHTBRACKET},
{input:"<<", tag:"mo", output:"\u2329", tex:null, ttype:LEFTBRACKET},
{input:">>", tag:"mo", output:"\u232A", tex:null, ttype:RIGHTBRACKET},
{input:"{:", tag:"mo", output:"{:", tex:null, ttype:LEFTBRACKET, invisible:true},
{input:":}", tag:"mo", output:":}", tex:null, ttype:RIGHTBRACKET, invisible:true},
//miscellaneous symbols
{input:"int", tag:"mo", output:"\u222B", tex:null, ttype:CONST},
{input:"dx", tag:"mi", output:"{:d x:}", tex:null, ttype:DEFINITION},
{input:"dy", tag:"mi", output:"{:d y:}", tex:null, ttype:DEFINITION},
{input:"dz", tag:"mi", output:"{:d z:}", tex:null, ttype:DEFINITION},
{input:"dt", tag:"mi", output:"{:d t:}", tex:null, ttype:DEFINITION},
{input:"oint", tag:"mo", output:"\u222E", tex:null, ttype:CONST},
{input:"del", tag:"mo", output:"\u2202", tex:"partial", ttype:CONST},
{input:"grad", tag:"mo", output:"\u2207", tex:"nabla", ttype:CONST},
{input:"+-", tag:"mo", output:"\u00B1", tex:"pm", ttype:CONST},
{input:"O/", tag:"mo", output:"\u2205", tex:"emptyset", ttype:CONST},
{input:"oo", tag:"mo", output:"\u221E", tex:"infty", ttype:CONST},
{input:"aleph", tag:"mo", output:"\u2135", tex:null, ttype:CONST},
{input:"...", tag:"mo", output:"...", tex:"ldots", ttype:CONST},
{input:":.", tag:"mo", output:"\u2234", tex:"therefore", ttype:CONST},
{input:"/_", tag:"mo", output:"\u2220", tex:"angle", ttype:CONST},
{input:"\\ ", tag:"mo", output:"\u00A0", tex:null, ttype:CONST},
{input:"quad", tag:"mo", output:"\u00A0\u00A0", tex:null, ttype:CONST},
{input:"qquad", tag:"mo", output:"\u00A0\u00A0\u00A0\u00A0", tex:null, ttype:CONST},
{input:"cdots", tag:"mo", output:"\u22EF", tex:null, ttype:CONST},
{input:"vdots", tag:"mo", output:"\u22EE", tex:null, ttype:CONST},
{input:"ddots", tag:"mo", output:"\u22F1", tex:null, ttype:CONST},
{input:"diamond", tag:"mo", output:"\u22C4", tex:null, ttype:CONST},
{input:"square", tag:"mo", output:"\u25A1", tex:null, ttype:CONST},
{input:"|__", tag:"mo", output:"\u230A", tex:"lfloor", ttype:CONST},
{input:"__|", tag:"mo", output:"\u230B", tex:"rfloor", ttype:CONST},
{input:"|~", tag:"mo", output:"\u2308", tex:"lceiling", ttype:CONST},
{input:"~|", tag:"mo", output:"\u2309", tex:"rceiling", ttype:CONST},
{input:"CC", tag:"mo", output:"\u2102", tex:null, ttype:CONST},
{input:"NN", tag:"mo", output:"\u2115", tex:null, ttype:CONST},
{input:"QQ", tag:"mo", output:"\u211A", tex:null, ttype:CONST},
{input:"RR", tag:"mo", output:"\u211D", tex:null, ttype:CONST},
{input:"ZZ", tag:"mo", output:"\u2124", tex:null, ttype:CONST},
{input:"f", tag:"mi", output:"f", tex:null, ttype:UNARY, func:true},
{input:"g",
tag:"mi", output:"g", tex:null, ttype:UNARY, func:true},
//standard functions
{input:"lim", tag:"mo", output:"lim", tex:null, ttype:UNDEROVER},
{input:"Lim", tag:"mo", output:"Lim", tex:null, ttype:UNDEROVER},
{input:"sen", tag:"mo", output:"sen", tex:null, ttype:UNARY, func:true},
{input:"cos", tag:"mo", output:"cos", tex:null, ttype:UNARY, func:true},
{input:"tan", tag:"mo", output:"tan", tex:null, ttype:UNARY, func:true},
{input:"sinh", tag:"mo", output:"sinh", tex:null, ttype:UNARY, func:true},
{input:"cos", tag:"mo", output:"cos", tex:null, ttype:UNARY, func:true},
{input:"tang", tag:"mo", output:"tang", tex:null, ttype:UNARY, func:true},
{input:"cot", tag:"mo", output:"cot", tex:null, ttype:UNARY, func:true},
{input:"sec", tag:"mo", output:"sec", tex:null, ttype:UNARY, func:true},
{input:"csc", tag:"mo", output:"csc", tex:null, ttype:UNARY, func:true},
{input:"log", tag:"mo", output:"log", tex:null, ttype:UNARY, func:true},
{input:"ln", tag:"mo", output:"ln", tex:null, ttype:UNARY, func:true},
{input:"det", tag:"mo", output:"det", tex:null, ttype:UNARY, func:true},
{input:"dim", tag:"mo", output:"dim", tex:null, ttype:CONST},
{input:"mod", tag:"mo", output:"mod", tex:null, ttype:CONST},
{input:"gcd", tag:"mo", output:"gcd", tex:null, ttype:UNARY, func:true},
{input:"lcm", tag:"mo", output:"lcm", tex:null, ttype:UNARY, func:true},
{input:"lub", tag:"mo", output:"lub", tex:null, ttype:CONST},
{input:"glb", tag:"mo", output:"glb", tex:null, ttype:CONST},
{input:"min", tag:"mo", output:"min", tex:null, ttype:UNDEROVER},
{input:"max", tag:"mo", output:"max", tex:null, ttype:UNDEROVER},
//arrows
{input:"uarr", tag:"mo", output:"\u2191", tex:"uparrow", ttype:CONST},
{input:"darr", tag:"mo", output:"\u2193", tex:"downarrow", ttype:CONST},
{input:"rarr", tag:"mo", output:"\u2192", tex:"rightarrow", ttype:CONST},
{input:"->", tag:"mo", output:"\u2192", tex:"to", ttype:CONST},
{input:"|->", tag:"mo", output:"\u21A6", tex:"mapsto", ttype:CONST},
{input:"larr", tag:"mo", output:"\u2190", tex:"leftarrow", ttype:CONST},
{input:"harr", tag:"mo", output:"\u2194", tex:"leftrightarrow", ttype:CONST},
{input:"rArr", tag:"mo", output:"\u21D2", tex:"Rightarrow", ttype:CONST},
{input:"lArr", tag:"mo", output:"\u21D0", tex:"Leftarrow", ttype:CONST},
{input:"hArr", tag:"mo", output:"\u21D4", tex:"Leftrightarrow", ttype:CONST},
//commands with argument
AMsqrt, AMroot, AMfrac, AMdiv, AMover, AMsub, AMsup,
{input:"hat", tag:"mover", output:"\u005E", tex:null, ttype:UNARY, acc:true},
{input:"bar", tag:"mover", output:"\u00AF", tex:"overline", ttype:UNARY, acc:true},
{input:"vec", tag:"mover", output:"\u2192", tex:null, ttype:UNARY, acc:true},
{input:"dot", tag:"mover", output:".", tex:null, ttype:UNARY, acc:true},
{input:"ddot", tag:"mover", output:"..", tex:null, ttype:UNARY, acc:true},
{input:"ul", tag:"munder", output:"\u0332", tex:"underline", ttype:UNARY, acc:true},
AMtext, AMmbox, AMquote,
{input:"bb", tag:"mstyle", atname:"fontweight", atval:"bold", output:"bb", tex:null, ttype:UNARY},
{input:"mathbf", tag:"mstyle", atname:"fontweight", atval:"bold", output:"mathbf", tex:null, ttype:UNARY},
{input:"sf", tag:"mstyle", atname:"fontfamily", atval:"sans-serif", output:"sf", tex:null, ttype:UNARY},
{input:"mathsf", tag:"mstyle", atname:"fontfamily", atval:"sans-serif", output:"mathsf", tex:null, ttype:UNARY},
{input:"bbb", tag:"mstyle", atname:"mathvariant", atval:"double-struck", output:"bbb", tex:null, ttype:UNARY, codes:AMbbb},
{input:"mathbb", tag:"mstyle", atname:"mathvariant", atval:"double-struck", output:"mathbb", tex:null, ttype:UNARY, codes:AMbbb},
{input:"cc", tag:"mstyle", atname:"mathvariant", atval:"script", output:"cc", tex:null, ttype:UNARY, codes:AMcal},
{input:"mathcal", tag:"mstyle", atname:"mathvariant", atval:"script", output:"mathcal", tex:null, ttype:UNARY, codes:AMcal},
{input:"tt", tag:"mstyle", atname:"fontfamily", atval:"monospace", output:"tt", tex:null, ttype:UNARY},
{input:"mathtt", tag:"mstyle", atname:"fontfamily", atval:"monospace", output:"mathtt", tex:null, ttype:UNARY},
{input:"fr", tag:"mstyle", atname:"mathvariant", atval:"fraktur", output:"fr", tex:null, ttype:UNARY, codes:AMfrk},
{input:"mathfrak", tag:"mstyle", atname:"mathvariant", atval:"fraktur", output:"mathfrak", tex:null, ttype:UNARY, codes:AMfrk}
];
function compareNames(s1,s2) {
 if (s1.input > s2.input) return 1
 else return -1;
}
var AMnames = []; //list of input symbols
function AMinitSymbols() {
 var texsymbols = [], i;
 for (i=0; i<AMsymbols.length; i++)
 if (AMsymbols[i].tex) 
 texsymbols[texsymbols.length] = {input:AMsymbols[i].tex, 
 tag:AMsymbols[i].tag, output:AMsymbols[i].output, ttype:AMsymbols[i].ttype};
 AMsymbols = AMsymbols.concat(texsymbols);
 AMsymbols.sort(compareNames);
 for (i=0; i<AMsymbols.length; i++) AMnames[i] = AMsymbols[i].input;
}
var AMmathml = "http://www.w3.org/1998/Math/MathML";
function AMcreateElementMathML(t) {
 if (isIE) return document.createElement("m:"+t);
 else return document.createElementNS(AMmathml,t);
}
function AMcreateMmlNode(t,frag) {
// var node = AMcreateElementMathML(name);
 if (isIE) var node = document.createElement("m:"+t);
 else var node = document.createElementNS(AMmathml,t);
 node.appendChild(frag);
 return node;
}
function newcommand(oldstr,newstr) {
 AMsymbols = AMsymbols.concat([{input:oldstr, tag:"mo", output:newstr, 
 tex:null, ttype:DEFINITION}]);
}
function AMremoveCharsAndBlanks(str,n) {
//remove n characters and any following blanks
 var st;
 if (str.charAt(n)=="\\" && str.charAt(n+1)!="\\" && str.charAt(n+1)!=" ") 
 st = str.slice(n+1);
 else st = str.slice(n);
 for (var i=0; i<st.length && st.charCodeAt(i)<=32; i=i+1);
 return st.slice(i);
}
function AMposition(arr, str, n) { 
// return position >=n where str appears or would be inserted
// assumes arr is sorted
 if (n==0) {
 var h,m;
 n = -1;
 h = arr.length;
 while (n+1<h) {
 m = (n+h) >> 1;
 if (arr[m]<str) n = m; else h = m;
 }
 return h;
 } else
 for (var i=n; i<arr.length && arr[i]<str; i++);
 return i; // i=arr.length || arr[i]>=str
}
function AMgetSymbol(str) {
//return maximal initial substring of str that appears in names
//return null if there is none
 var k = 0; //new pos
 var j = 0; //old pos
 var mk; //match pos
 var st;
 var tagst;
 var match = "";
 var more = true;
 for (var i=1; i<=str.length && more; i++) {
 st = str.slice(0,i); //initial substring of length i
 j = k;
 k = AMposition(AMnames, st, j);
 if (k<AMnames.length && str.slice(0,AMnames[k].length)==AMnames[k]){
 match = AMnames[k];
 mk = k;
 i = match.length;
 }
 more = k<AMnames.length && str.slice(0,AMnames[k].length)>=AMnames[k];
 }
 AMpreviousSymbol=AMcurrentSymbol;
 if (match!=""){
 AMcurrentSymbol=AMsymbols[mk].ttype;
 return AMsymbols[mk]; 
 }
// if str[0] is a digit or - return maxsubstring of digits.digits
 AMcurrentSymbol=CONST;
 k = 1;
 st = str.slice(0,1);
 var integ = true;
 while ("0"<=st && st<="9" && k<=str.length) {
 st = str.slice(k,k+1);
 k++;
 }
 if (st == decimalsign) {
 st = str.slice(k,k+1);
 if ("0"<=st && st<="9") {
 integ = false;
 k++;
 while ("0"<=st && st<="9" && k<=str.length) {
 st = str.slice(k,k+1);
 k++;
 }
 }
 }
 if ((integ && k>1) || k>2) {
 st = str.slice(0,k-1);
 tagst = "mn";
 } else {
 k = 2;
 st = str.slice(0,1); //take 1 character
 tagst = (("A">st || st>"Z") && ("a">st || st>"z")?"mo":"mi");
 }
 if (st=="-" && AMpreviousSymbol==INFIX)
 return {input:st, tag:tagst, output:st, ttype:UNARY, func:true};
 return {input:st, tag:tagst, output:st, ttype:CONST};
}
function AMremoveBrackets(node) {
 var st;
 if (node.nodeName=="mrow")
{
 st = node.firstChild.firstChild.nodeValue;
 if (st=="(" || st=="[" || st=="{") node.removeChild(node.firstChild);
 }
 if (node.nodeName=="mrow") {
 st = node.lastChild.firstChild.nodeValue;
 if (st==")" || st=="]" || st=="}") node.removeChild(node.lastChild);
 }
}
/*Parsing ASCII math expressions with the following grammar
v ::= [A-Za-z] | greek letters | numbers | other constant symbols
u ::= sqrt | text | bb | other unary symbols for font commands
b ::= frac | root | stackrel binary symbols
l ::= ( | [ | { | (: | {: left brackets
r ::= ) | ] | } | :) | :} right brackets
S ::= v | lEr | uS | bSS Simple expression
I ::= S_S | S^S | S_S^S | S Intermediate expression
E ::= IE | I/I Expression
Each terminal symbol is translated into a corresponding mathml node.*/
var AMnestingDepth,AMpreviousSymbol,AMcurrentSymbol;
function AMparseSexpr(str) { //parses str and returns [node,tailstr]
 var symbol, node, result, i, st,// rightvert = false,
 newFrag = document.createDocumentFragment();
 str = AMremoveCharsAndBlanks(str,0);
 symbol = AMgetSymbol(str); //either a token or a bracket or empty
 if (symbol == null || symbol.ttype == RIGHTBRACKET && AMnestingDepth > 0) {
 return [null,str];
 }
 if (symbol.ttype == DEFINITION) {
 str = symbol.output+AMremoveCharsAndBlanks(str,symbol.input.length); 
 symbol = AMgetSymbol(str);
 }
 switch (symbol.ttype) {
 case UNDEROVER:
 case CONST:
 str = AMremoveCharsAndBlanks(str,symbol.input.length); 
 return [AMcreateMmlNode(symbol.tag, //its a constant
 document.createTextNode(symbol.output)),str];
 case LEFTBRACKET: //read (expr+)
 AMnestingDepth++;
 str = AMremoveCharsAndBlanks(str,symbol.input.length); 
 result = AMparseExpr(str,true);
 AMnestingDepth--;
 if (typeof symbol.invisible == "boolean" && symbol.invisible) 
 node = AMcreateMmlNode("mrow",result[0]);
 else {
 node = AMcreateMmlNode("mo",document.createTextNode(symbol.output));
 node = AMcreateMmlNode("mrow",node);
 node.appendChild(result[0]);
 }
 return [node,result[1]];
 case TEXT:
 if (symbol!=AMquote) str = AMremoveCharsAndBlanks(str,symbol.input.length);
 if (str.charAt(0)=="{") i=str.indexOf("}");
 else if (str.charAt(0)=="(") i=str.indexOf(")");
 else if (str.charAt(0)=="[") i=str.indexOf("]");
 else if (symbol==AMquote) i=str.slice(1).indexOf("\"")+1;
 else i = 0;
 if (i==-1) i = str.length;
 st = str.slice(1,i);
 if (st.charAt(0) == " ") {
 node = AMcreateElementMathML("mspace");
 node.setAttribute("width","1ex");
 newFrag.appendChild(node);
 }
 newFrag.appendChild(
 AMcreateMmlNode(symbol.tag,document.createTextNode(st)));
 if (st.charAt(st.length-1) == " ") {
 node = AMcreateElementMathML("mspace");
 node.setAttribute("width","1ex");
 newFrag.appendChild(node);
 }
 str = AMremoveCharsAndBlanks(str,i+1);
 return [AMcreateMmlNode("mrow",newFrag),str];
 case UNARY:
 str = AMremoveCharsAndBlanks(str,symbol.input.length); 
 result = AMparseSexpr(str);
 if (result[0]==null) return [AMcreateMmlNode(symbol.tag,
 document.createTextNode(symbol.output)),str];
 if (typeof symbol.func == "boolean" && symbol.func) { // functions hack
 st = str.charAt(0);
 if (st=="^" || st=="_" || st=="/" || st=="|") {
 return [AMcreateMmlNode(symbol.tag,
 document.createTextNode(symbol.output)),str];
 } else {
 node = AMcreateMmlNode("mrow",
 AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output)));
 node.appendChild(result[0]);
 return [node,result[1]];
 }
 }
 AMremoveBrackets(result[0]);
 if (symbol.input == "sqrt") { // sqrt
 return [AMcreateMmlNode(symbol.tag,result[0]),result[1]];
 } else if (typeof symbol.acc == "boolean" && symbol.acc) { // accent
 node = AMcreateMmlNode(symbol.tag,result[0]);
 node.appendChild(AMcreateMmlNode("mo",document.createTextNode(symbol.output)));
 return [node,result[1]];
 } else { // font change command
 if (!isIE && typeof symbol.codes != "undefined") {
 for (i=0; i<result[0].childNodes.length; i++)
 if (result[0].childNodes[i].nodeName=="mi" || result[0].nodeName=="mi") {
 st = (result[0].nodeName=="mi"?result[0].firstChild.nodeValue:
 result[0].childNodes[i].firstChild.nodeValue);
 var newst = [];
 for (var j=0; j<st.length; j++)
 if (st.charCodeAt(j)>64 && st.charCodeAt(j)<91) newst = newst +
 String.fromCharCode(symbol.codes[st.charCodeAt(j)-65]);
 else newst = newst + st.charAt(j);
 if (result[0].nodeName=="mi")
 result[0]=AMcreateElementMathML("mo").
 appendChild(document.createTextNode(newst));
 else result[0].replaceChild(AMcreateElementMathML("mo").
 appendChild(document.createTextNode(newst)),result[0].childNodes[i]);
 }
 }
 node = AMcreateMmlNode(symbol.tag,result[0]);
 node.setAttribute(symbol.atname,symbol.atval);
 return [node,result[1]];
 }
 case BINARY:
 str = AMremoveCharsAndBlanks(str,symbol.input.length); 
 result = AMparseSexpr(str);
 if (result[0]==null) return [AMcreateMmlNode("mo",
 document.createTextNode(symbol.input)),str];
 AMremoveBrackets(result[0]);
 var result2 = AMparseSexpr(result[1]);
 if (result2[0]==null) return [AMcreateMmlNode("mo",
 document.createTextNode(symbol.input)),str];
 AMremoveBrackets(result2[0]);
 if (symbol.input=="root" || symbol.input=="stackrel") 
 newFrag.appendChild(result2[0]);
 newFrag.appendChild(result[0]);
 if (symbol.input=="frac") newFrag.appendChild(result2[0]);
 return [AMcreateMmlNode(symbol.tag,newFrag),result2[1]];
 case INFIX:
 str = AMremoveCharsAndBlanks(str,symbol.input.length); 
 return [AMcreateMmlNode("mo",document.createTextNode(symbol.output)),str];
 case SPACE:
 str = AMremoveCharsAndBlanks(str,symbol.input.length); 
 node = AMcreateElementMathML("mspace");
 node.setAttribute("width","1ex");
 newFrag.appendChild(node);
 newFrag.appendChild(
 AMcreateMmlNode(symbol.tag,document.createTextNode(symbol.output)));
 node = AMcreateElementMathML("mspace");
 node.setAttribute("width","1ex");
 newFrag.appendChild(node);
 return [AMcreateMmlNode("mrow",newFrag),str];
 case LEFTRIGHT:
// if (rightvert) return [null,str]; else rightvert = true;
 AMnestingDepth++;
 str = AMremoveCharsAndBlanks(str,symbol.input.length); 
 result = AMparseExpr(str,false);
 AMnestingDepth--;
 var st = "";
 if (result[0].lastChild!=null)
 st = result[0].lastChild.firstChild.nodeValue;
//alert(result[0].lastChild+"***"+st);
 if (st == "|") { // its an absolute value subterm
 node = AMcreateMmlNode("mo",document.createTextNode(symbol.output));
 node = AMcreateMmlNode("mrow",node);
 node.appendChild(result[0]);
 return [node,result[1]];
 } else { // the "|" is a \mid
 node = AMcreateMmlNode("mo",document.createTextNode(symbol.output));
 node = AMcreateMmlNode("mrow",node);
 return [node,str];
 }
 default:
//alert("default");
 str = AMremoveCharsAndBlanks(str,symbol.input.length); 
 return [AMcreateMmlNode(symbol.tag, //its a constant
 document.createTextNode(symbol.output)),str];
 }
}
function AMparseIexpr(str)
{
 var symbol, sym1, sym2, node, result, underover;
 str = AMremoveCharsAndBlanks(str,0);
 sym1 = AMgetSymbol(str);
 result = AMparseSexpr(str);
 node = result[0];
 str = result[1];
 symbol = AMgetSymbol(str);
 if (symbol.ttype == INFIX && symbol.input != "/") {
 str = AMremoveCharsAndBlanks(str,symbol.input.length);
// if (symbol.input == "/") result = AMparseIexpr(str); else ...
 result = AMparseSexpr(str);
 if (result[0] == null) // show box in place of missing argument
 result[0] = AMcreateMmlNode("mo",document.createTextNode("\u25A1"));
 else AMremoveBrackets(result[0]);
 str = result[1];
// if (symbol.input == "/") AMremoveBrackets(node);
 if (symbol.input == "_") {
 sym2 = AMgetSymbol(str);
 underover = (sym1.ttype == UNDEROVER);
 if (sym2.input == "^") {
 str = AMremoveCharsAndBlanks(str,sym2.input.length);
 var res2 = AMparseSexpr(str);
 AMremoveBrackets(res2[0]);
 str = res2[1];
 node = AMcreateMmlNode((underover?"munderover":"msubsup"),node);
 node.appendChild(result[0]);
 node.appendChild(res2[0]);
 node = AMcreateMmlNode("mrow",node); // so sum does not stretch
 } else {
 node = AMcreateMmlNode((underover?"munder":"msub"),node);
 node.appendChild(result[0]);
 }
 } else {
 node = AMcreateMmlNode(symbol.tag,node);
 node.appendChild(result[0]);
 }
 }
 return [node,str];
}
function AMparseExpr(str,rightbracket) {
 var symbol, node, result, i, nodeList = [],
 newFrag = document.createDocumentFragment();
 do {
 str = AMremoveCharsAndBlanks(str,0);
 result = AMparseIexpr(str);
 node = result[0];
 str = result[1];
 symbol = AMgetSymbol(str);
 if (symbol.ttype == INFIX && symbol.input == "/") {
 str = AMremoveCharsAndBlanks(str,symbol.input.length);
 result = AMparseIexpr(str);
 if (result[0] == null) // show box in place of missing argument
 result[0] = AMcreateMmlNode("mo",document.createTextNode("\u25A1"));
 else AMremoveBrackets(result[0]);
 str = result[1];
 AMremoveBrackets(node);
 node = AMcreateMmlNode(symbol.tag,node);
 node.appendChild(result[0]);
 newFrag.appendChild(node);
 symbol = AMgetSymbol(str);
 } 
 else if (node!=undefined) newFrag.appendChild(node);
 } while ((symbol.ttype != RIGHTBRACKET && 
 (symbol.ttype != LEFTRIGHT || rightbracket)
 || AMnestingDepth == 0) && symbol!=null && symbol.output!="");
 if (symbol.ttype == RIGHTBRACKET || symbol.ttype == LEFTRIGHT) {
// if (AMnestingDepth > 0) AMnestingDepth--;
 var len = newFrag.childNodes.length;
 if (len>0 && newFrag.childNodes[len-1].nodeName == "mrow" && len>1 &&
 newFrag.childNodes[len-2].nodeName == "mo" &&
 newFrag.childNodes[len-2].firstChild.nodeValue == ",") { //matrix
 var right = newFrag.childNodes[len-1].lastChild.firstChild.nodeValue;
 if (right==")" || right=="]") {
 var left = newFrag.childNodes[len-1].firstChild.firstChild.nodeValue;
 if (left=="(" && right==")" && symbol.output != "}" || 
 left=="[" && right=="]") {
 var pos = []; // positions of commas
 var matrix = true;
 var m = newFrag.childNodes.length;
 for (i=0; matrix && i<m; i=i+2) {
 pos[i] = [];
 node = newFrag.childNodes[i];
 if (matrix) matrix = node.nodeName=="mrow" && 
 (i==m-1 || node.nextSibling.nodeName=="mo" && 
 node.nextSibling.firstChild.nodeValue==",")&&
 node.firstChild.firstChild.nodeValue==left &&
 node.lastChild.firstChild.nodeValue==right;
 if (matrix) 
 for (var j=0; j<node.childNodes.length; j++)
 if (node.childNodes[j].firstChild.nodeValue==",")
 pos[i][pos[i].length]=j;
 if (matrix && i>1) matrix = pos[i].length == pos[i-2].length;
 }
 if (matrix) {
 var row, frag, n, k, table = document.createDocumentFragment();
 for (i=0; i<m; i=i+2) {
 row = document.createDocumentFragment();
 frag = document.createDocumentFragment();
 node = newFrag.firstChild; // <mrow>(-,-,...,-,-)</mrow>
 n = node.childNodes.length;
 k = 0;
 node.removeChild(node.firstChild); //remove (
 for (j=1; j<n-1; j++) {
 if (typeof pos[i][k] != "undefined" && j==pos[i][k]){
 node.removeChild(node.firstChild); //remove ,
 row.appendChild(AMcreateMmlNode("mtd",frag));
 k++;
 } else frag.appendChild(node.firstChild);
 }
 row.appendChild(AMcreateMmlNode("mtd",frag));
 if (newFrag.childNodes.length>2) {
 newFrag.removeChild(newFrag.firstChild); //remove <mrow>)</mrow>
 newFrag.removeChild(newFrag.firstChild); //remove <mo>,</mo>
 }
 table.appendChild(AMcreateMmlNode("mtr",row));
 }
 node = AMcreateMmlNode("mtable",table);
 if (typeof symbol.invisible == "boolean" && symbol.invisible) node.setAttribute("columnalign","left");
 newFrag.replaceChild(node,newFrag.firstChild);
 }
 }
 }
 }
 str = AMremoveCharsAndBlanks(str,symbol.input.length);
 if (typeof symbol.invisible != "boolean" || !symbol.invisible) {
 node = AMcreateMmlNode("mo",document.createTextNode(symbol.output));
 newFrag.appendChild(node);
 }
 }
 return [newFrag,str];
}
function AMparseMath(str) {
 var result, node = AMcreateElementMathML("mstyle");
 if (mathcolor != "") node.setAttribute("mathcolor",mathcolor);
 if (displaystyle) node.setAttribute("displaystyle","true");
 if (mathfontfamily != "") node.setAttribute("fontfamily",mathfontfamily);
 AMnestingDepth = 0;
 node.appendChild(AMparseExpr(str.replace(/^\s+/g,""),false)[0]);
 node = AMcreateMmlNode("math",node);
 if (showasciiformulaonhover) node.setAttribute("title",str);
 if (mathfontfamily != "" && (isIE || mathfontfamily != "serif")) {
 var fnode = AMcreateElementXHTML("font");
 fnode.setAttribute("face",mathfontfamily);
 fnode.appendChild(node);
 return fnode;
 }
 return node;
}
function AMstrarr2docFrag(arr, linebreaks) {
 var newFrag=document.createDocumentFragment();
 var expr = false;
 for (var i=0; i<arr.length; i++) {
 if (expr) newFrag.appendChild(AMparseMath(arr[i]));
 else {
 var arri = (linebreaks ? arr[i].split("\n\n") : [arr[i]]);
 newFrag.appendChild(AMcreateElementXHTML("span").
 appendChild(document.createTextNode(arri[0])));
 for (var j=1; j<arri.length; j++) {
 newFrag.appendChild(AMcreateElementXHTML("p"));
 newFrag.appendChild(AMcreateElementXHTML("span").
 appendChild(document.createTextNode(arri[j])));
 }
 }
 expr = !expr;
 }
 return newFrag;
}
function AMprocessNodeR(n, linebreaks) {
 var mtch, str, arr, frg, i;
 if (n.childNodes.length == 0) {
 if ((n.nodeType!=8 || linebreaks) &&
 n.parentNode.nodeName!="form" && n.parentNode.nodeName!="FORM" &&
 n.parentNode.nodeName!="textarea" && n.parentNode.nodeName!="TEXTAREA" &&
 n.parentNode.nodeName!="pre" && n.parentNode.nodeName!="PRE") {
 str = n.nodeValue;
 if (!(str == null)) {
 str = str.replace(/\r\n\r\n/g,"\n\n");
 if (doubleblankmathdelimiter) {
 str = str.replace(/\x20\x20\./g," "+AMdelimiter1+".");
 str = str.replace(/\x20\x20,/g," "+AMdelimiter1+",");
 str = str.replace(/\x20\x20/g," "+AMdelimiter1+" ");
 }
 str = str.replace(/\x20+/g," ");
 str = str.replace(/\s*\r\n/g," ");
 mtch = false;
 str = str.replace(new RegExp(AMescape2, "g"),
 function(st){mtch=true;return "AMescape2"});
 str = str.replace(new RegExp(AMescape1,
"g"),
 function(st){mtch=true;return "AMescape1"});
 str = str.replace(new RegExp(AMdelimiter2regexp, "g"),AMdelimiter1);
 arr = str.split(AMdelimiter1);
 for (i=0; i<arr.length; i++)
 arr[i]=arr[i].replace(/AMescape2/g,AMdelimiter2).
 replace(/AMescape1/g,AMdelimiter1);
 if (arr.length>1 || mtch) {
 if (checkForMathML) {
 checkForMathML = false;
 var nd = AMisMathMLavailable();
 AMnoMathML = nd != null
 if (AMnoMathML && notifyIfNoMathML) 
 AMbody.insertBefore(nd,AMbody.childNodes[0]);
 }
 if (!AMnoMathML) {
 frg = AMstrarr2docFrag(arr,n.nodeType==8);
 var len = frg.childNodes.length;
 n.parentNode.replaceChild(frg,n);
 return len-1;
 } else return 0;
 }
 }
 } else return 0;
 } else if (n.nodeName!="math") {
 for (i=0; i<n.childNodes.length; i++)
 i += AMprocessNodeR(n.childNodes[i], linebreaks);
 }
 return 0;
}
function AMprocessNode(n, linebreaks, spanclassAM) {
 var frag,st;
 if (spanclassAM!=null) {
 frag = document.getElementsByTagName("span")
 for (var i=0;i<frag.length;i++)
 if (frag[i].className == "AM")
 AMprocessNodeR(frag[i],linebreaks);
 } else {
 try {
 st = n.innerHTML;
 } catch(err) {}
 if (st==null || 
 st.indexOf(AMdelimiter1)!=-1 || st.indexOf(AMdelimiter2)!=-1) 
 AMprocessNodeR(n,linebreaks);
 }
 if (isIE) { //needed to match size and font of formula to surrounding text
 frag = document.getElementsByTagName('math');
 for (var i=0;i<frag.length;i++) frag[i].update()
 }
}
var AMbody;
var AMnoMathML = false, AMtranslated = false;
function translate(spanclassAM) {
 if (!AMtranslated) { // run this only once
 AMtranslated = true;
 AMinitSymbols();
 AMbody = document.getElementsByTagName("body")[0];
 AMprocessNode(AMbody, false, spanclassAM);
 }
}
if (isIE) { // avoid adding MathPlayer info explicitly to each webpage
 document.write("<object id=\"mathplayer\"\
 classid=\"clsid:32F66A20-7614-11D4-BD11-00104BD3F987\"></object>");
 document.write("<?import namespace=\"m\" implementation=\"#mathplayer\"?>");
}
// GO1.1 Generic onload by Brothercake 
// http://www.brothercake.com/
//onload function (replaces the onload="translate()" in the <body> tag)
function generic()
{
 translate();
};
//setup onload function
if(typeof window.addEventListener != 'undefined')
{
 //.. gecko, safari, konqueror and standard
 window.addEventListener('load', generic, false);
}
else if(typeof document.addEventListener != 'undefined')
{
 //.. opera 7
 document.addEventListener('load', generic, false);
}
else if(typeof window.attachEvent != 'undefined')
{
 //.. win/ie
 window.attachEvent('onload', generic);
}
//** remove this condition to degrade older browsers
else
{
 //.. mac/ie5 and anything else that gets this far
 //if there's an existing onload function
 if(typeof window.onload == 'function')
 {
 //store it
 var existing = onload;
 //add new onload handler
 window.onload = function()
 {
 //call existing onload function
 existing();
 //call generic onload function
 generic();
 };
 }
 else
 {
 //setup onload function
 window.onload = generic;
 }
}
prova calulo3_files/colabore_canto_670.gif
prova calulo3_files/css
/* cyrillic-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 300;
 src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fCRc4EsA.woff2) format('woff2');
 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 300;
 src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2) format('woff2');
 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 300;
 src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fCBc4EsA.woff2) format('woff2');
 unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 300;
 src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBxc4EsA.woff2) format('woff2');
 unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 300;
 src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fCxc4EsA.woff2) format('woff2');
 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 300;
 src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2) format('woff2');
 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 300;
 src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 400;
 src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format('woff2');
 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 400;
 src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2');
 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 400;
 src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7mxKOzY.woff2) format('woff2');
 unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 400;
 src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4WxKOzY.woff2) format('woff2');
 unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 400;
 src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format('woff2');
 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 400;
 src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 400;
 src: local('Roboto'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 700;
 src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2) format('woff2');
 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 700;
 src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2) format('woff2');
 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 700;
 src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2) format('woff2');
 unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 700;
 src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2) format('woff2');
 unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 700;
 src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2) format('woff2');
 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 700;
 src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2) format('woff2');
 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 700;
 src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
prova calulo3_files/fontes.css
@font-face {
	font-family: 'Museo100-Regular';
	src: url('fontes/Museo100-Regular.eot');
	src: url('fontes/Museo100-Regular.eot?#iefix') format('embedded-opentype'),
	url('fontes/Museo100-Regular.woff') format('woff'),
	font-weight: 300;
 font-style: normal;
}
	
@font-face {
	font-family: 'Museo200-Regular';
	src: url('.fontes/Museo200-Regular.eot');
	src: url('fontes/Museo200-Regular.eot?#iefix') format('embedded-opentype'),
	url('fontes/Museo200-Regular.woff') format('woff'),
	url('fontes/Museo200-Regular.ttf') format('truetype');
	font-weight: 300;
 	font-style: normal;
}
@font-face {
	font-family: 'Museo300-Regular';
	src: url('.fontes/Museo300-Regular.eot');
	src: url('fontes/Museo300-Regular.eot?#iefix') format('embedded-opentype'),
	url('fontes/Museo300-Regular.woff') format('woff'),
	url('fontes/Museo300-Regular.ttf') format('truetype');
	font-weight: 500;
 	font-style: normal;
}
	
@font-face {
	font-family: 'Museo500-Regular';
	src: url('fontes/Museo500-Regular.eot');
	src: url('fontes/Museo500-Regular.eot?#iefix') format('embedded-opentype'),
	url('fontes/Museo500-Regular.woff') format('woff'),
	url('fontes/Museo500-Regular.ttf') format('truetype');
	font-weight: 500;
 	font-style: normal;
}
	
@font-face {
	font-family: 'Museo700-Regular';
	src: url('fontes/Museo700-Regular.eot');
	src: url('fontes/Museo700-Regular.eot?#iefix') format('embedded-opentype'),
	url('fontes/Museo700-Regular.woff') format('woff'),
	url('fontes/Museo700-Regular.ttf') format('truetype');
	font-weight: 500;
 	font-style: normal;
}
	
@font-face {
	font-family: 'Museo900-Regular';
	src: url('Museo900-Regular.eot');
	src: url('Museo900-Regular.eot?#iefix') format('embedded-opentype'),
	url('Museo900-Regular.woff') format('woff'),
	url('Museo900-Regular.ttf') format('truetype');
	font-weight: 500;
 	font-style: normal;
}
	
.fontMuseo80{
	font-family: 'Museo300-Regular', Verdana, sans-serif;
	font-size: 10px;
}
.fontMuseo100{
	font-family: 'Museo300-Regular', Verdana, sans-serif;
	font-size: 11px;
}
.fontMuseo200{
	font-family: 'Museo300-Regular', Verdana, sans-serif;
	font-size: 12px;
}
.fontMuseo300{
	font-family: 'Museo300-Regular', Verdana, sans-serif;
	font-size: 14px;
}
	
.fontMuseo500{
	font-family: 'Museo500-Regular', Verdana, sans-serif;
	font-size: 16px;
}
	
.fontMuseo700{
	font-family: 'Museo700-Regular', Verdana, sans-serif;
	font-size: 18px;
}
	
.fontMuseo900{
	font-family: 'Museo900-Regular', Verdana, sans-serif;
	font-size: 28px;
}
.fontMuseo1000{
	font-family: 'Museo900-Regular', Verdana, sans-serif;
	font-size: 48px;
}
a.fontMuseo100_menu{text-decoration:none; color:#000000; font-family: 'Museo500-Regular', Verdana, sans-serif; font-size:11px; font-style:normal}
a.fontMuseo100_menu:hover {text-decoration:none; color:#0000ff; font-family: 'Museo500-Regular', Verdana, sans-serif; font-size:11px; font-style:normal}
a.fontMuseo200_menu{text-decoration:none; color:#000000; font-family: 'Museo300-Regular', Verdana, sans-serif; font-size:12px; font-style:normal}
a.fontMuseo200_menu:hover {text-decoration:none; color:#0000ff; font-family: 'Museo300-Regular', Verdana, sans-serif; font-size:12px; font-style:normal}
a.fontMuseo300_menu{text-decoration:none; color:#006600; font-family: 'Museo300-Regular', Verdana, sans-serif; font-size:14px; font-style:normal}
a.fontMuseo300_menu:hover {text-decoration:none; color:#333333; font-family: 'Museo300-Regular', Verdana, sans-serif; font-size:14px; font-style:normal}
a.fontMuseo500_menu{text-decoration:none; color:#c28800; font-family: 'Museo500-Regular', Verdana, sans-serif; font-size:16px; font-style:normal}
a.fontMuseo500_menu:hover {text-decoration:none; color:#333333; font-family: 'Museo500-Regular', Verdana, sans-serif; font-size:16px; font-style:normal}
a.fontMuseo700_menu{text-decoration:none; color:#c28800; font-family: 'Museo700-Regular', Verdana, sans-serif; font-size:18px; font-style:normal}
a.fontMuseo700_menu:hover {text-decoration:none; color:#333333; font-family: 'Museo700-Regular', Verdana, sans-serif; font-size:18x; font-style:normal}
a.fontMuseo900_menu{text-decoration:none; color:#c28800; font-family: 'Museo900-Regular', Verdana, sans-serif; font-size:28px; font-style:normal}
a.fontMuseo900_menu:hover {text-decoration:none; color:#333333; font-family: 'Museo900-Regular', Verdana, sans-serif; font-size:28x; font-style:normal}
prova calulo3_files/MathJax.js.download
/*
 * /MathJax.js
 *
 * Copyright (c) 2009-2016 The MathJax Consortium
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
if(document.getElementById&&document.childNodes&&document.createElement){if(!(window.MathJax&&MathJax.Hub)){if(window.MathJax){window.MathJax={AuthorConfig:window.MathJax}}else{window.MathJax={}}MathJax.isPacked=true;MathJax.version="2.7.0";MathJax.fileversion="2.7.0";MathJax.cdnVersion="2.7.0";MathJax.cdnFileVersions={};(function(d){var b=window[d];if(!b){b=window[d]={}}var e=[];var c=function(f){var g=f.constructor;if(!g){g=function(){}}for(var
h in f){if(h!=="constructor"&&f.hasOwnProperty(h)){g[h]=f[h]}}return g};var a=function(){return function(){return arguments.callee.Init.call(this,arguments)}};b.Object=c({constructor:a(),Subclass:function(f,h){var g=a();g.SUPER=this;g.Init=this.Init;g.Subclass=this.Subclass;g.Augment=this.Augment;g.protoFunction=this.protoFunction;g.can=this.can;g.has=this.has;g.isa=this.isa;g.prototype=new this(e);g.prototype.constructor=g;g.Augment(f,h);return g},Init:function(f){var g=this;if(f.length===1&&f[0]===e){return g}if(!(g instanceof f.callee)){g=new f.callee(e)}return g.Init.apply(g,f)||g},Augment:function(f,g){var h;if(f!=null){for(h in f){if(f.hasOwnProperty(h)){this.protoFunction(h,f[h])}}if(f.toString!==this.prototype.toString&&f.toString!=={}.toString){this.protoFunction("toString",f.toString)}}if(g!=null){for(h in g){if(g.hasOwnProperty(h)){this[h]=g[h]}}}return this},protoFunction:function(g,f){this.prototype[g]=f;if(typeof f==="function"){f.SUPER=this.SUPER.prototype}},prototype:{Init:function(){},SUPER:function(f){return f.callee.SUPER},can:function(f){return typeof(this[f])==="function"},has:function(f){return typeof(this[f])!=="undefined"},isa:function(f){return(f instanceof Object)&&(this instanceof f)}},can:function(f){return this.prototype.can.call(this,f)},has:function(f){return this.prototype.has.call(this,f)},isa:function(g){var f=this;while(f){if(f===g){return true}else{f=f.SUPER}}return false},SimpleSUPER:c({constructor:function(f){return this.SimpleSUPER.define(f)},define:function(f){var h={};if(f!=null){for(var g in f){if(f.hasOwnProperty(g)){h[g]=this.wrap(g,f[g])}}if(f.toString!==this.prototype.toString&&f.toString!=={}.toString){h.toString=this.wrap("toString",f.toString)}}return h},wrap:function(i,h){if(typeof(h)!=="function"||!h.toString().match(/\.\s*SUPER\s*\(/)){return h}var g=function(){this.SUPER=g.SUPER[i];try{var f=h.apply(this,arguments)}catch(j){delete this.SUPER;throw j}delete this.SUPER;return f};g.toString=function(){return h.toString.apply(h,arguments)};return g}})});b.Object.isArray=Array.isArray||function(f){return Object.prototype.toString.call(f)==="[object Array]"};b.Object.Array=Array})("MathJax");(function(BASENAME){var BASE=window[BASENAME];if(!BASE){BASE=window[BASENAME]={}}var isArray=BASE.Object.isArray;var CALLBACK=function(data){var cb=function(){return arguments.callee.execute.apply(arguments.callee,arguments)};for(var id in CALLBACK.prototype){if(CALLBACK.prototype.hasOwnProperty(id)){if(typeof(data[id])!=="undefined"){cb[id]=data[id]}else{cb[id]=CALLBACK.prototype[id]}}}cb.toString=CALLBACK.prototype.toString;return cb};CALLBACK.prototype={isCallback:true,hook:function(){},data:[],object:window,execute:function(){if(!this.called||this.autoReset){this.called=!this.autoReset;return this.hook.apply(this.object,this.data.concat([].slice.call(arguments,0)))}},reset:function(){delete this.called},toString:function(){return this.hook.toString.apply(this.hook,arguments)}};var ISCALLBACK=function(f){return(typeof(f)==="function"&&f.isCallback)};var EVAL=function(code){return eval.call(window,code)};var TESTEVAL=function(){EVAL("var __TeSt_VaR__ = 1");if(window.__TeSt_VaR__){try{delete window.__TeSt_VaR__}catch(error){window.__TeSt_VaR__=null}}else{if(window.execScript){EVAL=function(code){BASE.__code=code;code="try {"+BASENAME+".__result = eval("+BASENAME+".__code)} catch(err) {"+BASENAME+".__result = err}";window.execScript(code);var result=BASE.__result;delete BASE.__result;delete BASE.__code;if(result instanceof Error){throw result}return result}}else{EVAL=function(code){BASE.__code=code;code="try {"+BASENAME+".__result = eval("+BASENAME+".__code)} catch(err) {"+BASENAME+".__result = err}";var head=(document.getElementsByTagName("head"))[0];if(!head){head=document.body}var script=document.createElement("script");script.appendChild(document.createTextNode(code));head.appendChild(script);head.removeChild(script);var result=BASE.__result;delete BASE.__result;delete BASE.__code;if(result instanceof Error){throw result}return result}}}TESTEVAL=null};var USING=function(args,i){if(arguments.length>1){if(arguments.length===2&&!(typeof arguments[0]==="function")&&arguments[0] instanceof Object&&typeof arguments[1]==="number"){args=[].slice.call(args,i)}else{args=[].slice.call(arguments,0)}}if(isArray(args)&&args.length===1){args=args[0]}if(typeof args==="function"){if(args.execute===CALLBACK.prototype.execute){return args}return CALLBACK({hook:args})}else{if(isArray(args)){if(typeof(args[0])==="string"&&args[1] instanceof Object&&typeof args[1][args[0]]==="function"){return CALLBACK({hook:args[1][args[0]],object:args[1],data:args.slice(2)})}else{if(typeof args[0]==="function"){return CALLBACK({hook:args[0],data:args.slice(1)})}else{if(typeof args[1]==="function"){return CALLBACK({hook:args[1],object:args[0],data:args.slice(2)})}}}}else{if(typeof(args)==="string"){if(TESTEVAL){TESTEVAL()}return CALLBACK({hook:EVAL,data:[args]})}else{if(args instanceof Object){return CALLBACK(args)}else{if(typeof(args)==="undefined"){return CALLBACK({})}}}}}throw Error("Can't make callback from given data")};var DELAY=function(time,callback){callback=USING(callback);callback.timeout=setTimeout(callback,time);return callback};var WAITFOR=function(callback,signal){callback=USING(callback);if(!callback.called){WAITSIGNAL(callback,signal);signal.pending++}};var WAITEXECUTE=function(){var signals=this.signal;delete this.signal;this.execute=this.oldExecute;delete this.oldExecute;var result=this.execute.apply(this,arguments);if(ISCALLBACK(result)&&!result.called){WAITSIGNAL(result,signals)}else{for(var i=0,m=signals.length;i<m;i++){signals[i].pending--;if(signals[i].pending<=0){signals[i].call()}}}};var WAITSIGNAL=function(callback,signals){if(!isArray(signals)){signals=[signals]}if(!callback.signal){callback.oldExecute=callback.execute;callback.execute=WAITEXECUTE;callback.signal=signals}else{if(signals.length===1){callback.signal.push(signals[0])}else{callback.signal=callback.signal.concat(signals)}}};var AFTER=function(callback){callback=USING(callback);callback.pending=0;for(var i=1,m=arguments.length;i<m;i++){if(arguments[i]){WAITFOR(arguments[i],callback)}}if(callback.pending===0){var result=callback();if(ISCALLBACK(result)){callback=result}}return callback};var HOOKS=MathJax.Object.Subclass({Init:function(reset){this.hooks=[];this.remove=[];this.reset=reset;this.running=false},Add:function(hook,priority){if(priority==null){priority=10}if(!ISCALLBACK(hook)){hook=USING(hook)}hook.priority=priority;var i=this.hooks.length;while(i>0&&priority<this.hooks[i-1].priority){i--}this.hooks.splice(i,0,hook);return hook},Remove:function(hook){for(var i=0,m=this.hooks.length;i<m;i++){if(this.hooks[i]===hook){if(this.running){this.remove.push(i)}else{this.hooks.splice(i,1)}return}}},Execute:function(){var callbacks=[{}];this.running=true;for(var i=0,m=this.hooks.length;i<m;i++){if(this.reset){this.hooks[i].reset()}var result=this.hooks[i].apply(window,arguments);if(ISCALLBACK(result)&&!result.called){callbacks.push(result)}}this.running=false;if(this.remove.length){this.RemovePending()}if(callbacks.length===1){return null}if(callbacks.length===2){return callbacks[1]}return AFTER.apply({},callbacks)},RemovePending:function(){this.remove=this.remove.sort();for(var i=this.remove.length-1;i>=0;i--){this.hooks.splice(i,1)}this.remove=[]}});var EXECUTEHOOKS=function(hooks,data,reset){if(!hooks){return null}if(!isArray(hooks)){hooks=[hooks]}if(!isArray(data)){data=(data==null?[]:[data])}var handler=HOOKS(reset);for(var i=0,m=hooks.length;i<m;i++){handler.Add(hooks[i])}return handler.Execute.apply(handler,data)};var QUEUE=BASE.Object.Subclass({Init:function(){this.pending=this.running=0;this.queue=[];this.Push.apply(this,arguments)},Push:function(){var callback;for(var i=0,m=arguments.length;i<m;i++){callback=USING(arguments[i]);if(callback===arguments[i]&&!callback.called){callback=USING(["wait",this,callback])}this.queue.push(callback)}if(!this.running&&!this.pending){this.Process()}return callback},Process:function(queue){while(!this.running&&!this.pending&&this.queue.length){var
callback=this.queue[0];queue=this.queue.slice(1);this.queue=[];this.Suspend();var result=callback();this.Resume();if(queue.length){this.queue=queue.concat(this.queue)}if(ISCALLBACK(result)&&!result.called){WAITFOR(result,this)}}},Suspend:function(){this.running++},Resume:function(){if(this.running){this.running--}},call:function(){this.Process.apply(this,arguments)},wait:function(callback){return callback}});var SIGNAL=QUEUE.Subclass({Init:function(name){QUEUE.prototype.Init.call(this);this.name=name;this.posted=[];this.listeners=HOOKS(true);this.posting=false;this.callback=null},Post:function(message,callback,forget){callback=USING(callback);if(this.posting||this.pending){this.Push(["Post",this,message,callback,forget])}else{this.callback=callback;callback.reset();if(!forget){this.posted.push(message)}this.Suspend();this.posting=true;var result=this.listeners.Execute(message);if(ISCALLBACK(result)&&!result.called){WAITFOR(result,this)}this.Resume();this.posting=false;if(!this.pending){this.call()}}return callback},Clear:function(callback){callback=USING(callback);if(this.posting||this.pending){callback=this.Push(["Clear",this,callback])}else{this.posted=[];callback()}return callback},call:function(){this.callback(this);this.Process()},Interest:function(callback,ignorePast,priority){callback=USING(callback);this.listeners.Add(callback,priority);if(!ignorePast){for(var i=0,m=this.posted.length;i<m;i++){callback.reset();var result=callback(this.posted[i]);if(ISCALLBACK(result)&&i===this.posted.length-1){WAITFOR(result,this)}}}return callback},NoInterest:function(callback){this.listeners.Remove(callback)},MessageHook:function(msg,callback,priority){callback=USING(callback);if(!this.hooks){this.hooks={};this.Interest(["ExecuteHooks",this])}if(!this.hooks[msg]){this.hooks[msg]=HOOKS(true)}this.hooks[msg].Add(callback,priority);for(var i=0,m=this.posted.length;i<m;i++){if(this.posted[i]==msg){callback.reset();callback(this.posted[i])}}callback.msg=msg;return callback},ExecuteHooks:function(msg){var type=(isArray(msg)?msg[0]:msg);if(!this.hooks[type]){return null}return this.hooks[type].Execute(msg)},RemoveHook:function(hook){this.hooks[hook.msg].Remove(hook)}},{signals:{},find:function(name){if(!SIGNAL.signals[name]){SIGNAL.signals[name]=new SIGNAL(name)}return SIGNAL.signals[name]}});BASE.Callback=BASE.CallBack=USING;BASE.Callback.Delay=DELAY;BASE.Callback.After=AFTER;BASE.Callback.Queue=QUEUE;BASE.Callback.Signal=SIGNAL.find;BASE.Callback.Hooks=HOOKS;BASE.Callback.ExecuteHooks=EXECUTEHOOKS})("MathJax");(function(e){var a=window[e];if(!a){a=window[e]={}}var d=(navigator.vendor==="Apple Computer, Inc."&&typeof navigator.vendorSub==="undefined");var g=0;var h=function(i){if(document.styleSheets&&document.styleSheets.length>g){g=document.styleSheets.length}if(!i){i=document.head||((document.getElementsByTagName("head"))[0]);if(!i){i=document.body}}return i};var f=[];var c=function(){for(var k=0,j=f.length;k<j;k++){a.Ajax.head.removeChild(f[k])}f=[]};var b={};b[e]="";b.Contrib="";a.Ajax={loaded:{},loading:{},loadHooks:{},timeout:15*1000,styleDelay:1,config:{root:"",path:b},params:{},STATUS:{OK:1,ERROR:-1},fileURL:function(j){var i=j.match(/^\[([-._a-z0-9]+)\]/i);if(i&&i[1] in b){j=(b[i[1]]||this.config.root)+j.substr(i[1].length+2)}return j},fileName:function(j){var i=this.config.root;if(j.substr(0,i.length)===i){j="["+e+"]"+j.substr(i.length)}else{for(var k in b){if(b.hasOwnProperty(k)&&b[k]){if(j.substr(0,b[k].length)===b[k]){j="["+k+"]"+j.substr(b[k].length);break}}}}return j},fileRev:function(j){var i=a.cdnFileVersions[j]||a.cdnVersion||"";if(i){i="?V="+i}return i},urlRev:function(i){return this.fileURL(i)+this.fileRev(i)},Require:function(k,n){n=a.Callback(n);var l;if(k instanceof Object){for(var j in k){if(k.hasOwnProperty(j)){l=j.toUpperCase();k=k[j]}}}else{l=k.split(/\./).pop().toUpperCase()}if(this.params.noContrib&&k.substr(0,9)==="[Contrib]"){n(this.STATUS.ERROR)}else{k=this.fileURL(k);if(this.loaded[k]){n(this.loaded[k])}else{var m={};m[l]=k;this.Load(m,n)}}return n},Load:function(k,m){m=a.Callback(m);var l;if(k instanceof Object){for(var j in k){if(k.hasOwnProperty(j)){l=j.toUpperCase();k=k[j]}}}else{l=k.split(/\./).pop().toUpperCase()}k=this.fileURL(k);if(this.loading[k]){this.addHook(k,m)}else{this.head=h(this.head);if(this.loader[l]){this.loader[l].call(this,k,m)}else{throw Error("Can't load files of type "+l)}}return m},LoadHook:function(l,m,k){m=a.Callback(m);if(l instanceof Object){for(var j in l){if(l.hasOwnProperty(j)){l=l[j]}}}l=this.fileURL(l);if(this.loaded[l]){m(this.loaded[l])}else{this.addHook(l,m,k)}return m},addHook:function(j,k,i){if(!this.loadHooks[j]){this.loadHooks[j]=MathJax.Callback.Hooks()}this.loadHooks[j].Add(k,i);k.file=j},removeHook:function(i){if(this.loadHooks[i.file]){this.loadHooks[i.file].Remove(i);if(!this.loadHooks[i.file].hooks.length){delete this.loadHooks[i.file]}}},Preloading:function(){for(var l=0,j=arguments.length;l<j;l++){var k=this.fileURL(arguments[l]);if(!this.loading[k]){this.loading[k]={preloaded:true}}}},loader:{JS:function(k,m){var j=this.fileName(k);var i=document.createElement("script");var l=a.Callback(["loadTimeout",this,k]);this.loading[k]={callback:m,timeout:setTimeout(l,this.timeout),status:this.STATUS.OK,script:i};this.loading[k].message=a.Message.File(j);i.onerror=l;i.type="text/javascript";i.src=k+this.fileRev(j);this.head.appendChild(i)},CSS:function(j,l){var i=this.fileName(j);var k=document.createElement("link");k.rel="stylesheet";k.type="text/css";k.href=j+this.fileRev(i);this.loading[j]={callback:l,message:a.Message.File(i),status:this.STATUS.OK};this.head.appendChild(k);this.timer.create.call(this,[this.timer.file,j],k)}},timer:{create:function(j,i){j=a.Callback(j);if(i.nodeName==="STYLE"&&i.styleSheet&&typeof(i.styleSheet.cssText)!=="undefined"){j(this.STATUS.OK)}else{if(window.chrome&&i.nodeName==="LINK"){j(this.STATUS.OK)}else{if(d){this.timer.start(this,[this.timer.checkSafari2,g++,j],this.styleDelay)}else{this.timer.start(this,[this.timer.checkLength,i,j],this.styleDelay)}}}return j},start:function(j,i,k,l){i=a.Callback(i);i.execute=this.execute;i.time=this.time;i.STATUS=j.STATUS;i.timeout=l||j.timeout;i.delay=i.total=k||0;if(k){setTimeout(i,k)}else{i()}},time:function(i){this.total+=this.delay;this.delay=Math.floor(this.delay*1.05+5);if(this.total>=this.timeout){i(this.STATUS.ERROR);return 1}return 0},file:function(j,i){if(i<0){a.Ajax.loadTimeout(j)}else{a.Ajax.loadComplete(j)}},execute:function(){this.hook.call(this.object,this,this.data[0],this.data[1])},checkSafari2:function(i,j,k){if(i.time(k)){return}if(document.styleSheets.length>j&&document.styleSheets[j].cssRules&&document.styleSheets[j].cssRules.length){k(i.STATUS.OK)}else{setTimeout(i,i.delay)}},checkLength:function(i,l,n){if(i.time(n)){return}var m=0;var j=(l.sheet||l.styleSheet);try{if((j.cssRules||j.rules||[]).length>0){m=1}}catch(k){if(k.message.match(/protected variable|restricted URI/)){m=1}else{if(k.message.match(/Security error/)){m=1}}}if(m){setTimeout(a.Callback([n,i.STATUS.OK]),0)}else{setTimeout(i,i.delay)}}},loadComplete:function(i){i=this.fileURL(i);var j=this.loading[i];if(j&&!j.preloaded){a.Message.Clear(j.message);clearTimeout(j.timeout);if(j.script){if(f.length===0){setTimeout(c,0)}f.push(j.script)}this.loaded[i]=j.status;delete this.loading[i];this.addHook(i,j.callback)}else{if(j){delete this.loading[i]}this.loaded[i]=this.STATUS.OK;j={status:this.STATUS.OK}}if(!this.loadHooks[i]){return null}return this.loadHooks[i].Execute(j.status)},loadTimeout:function(i){if(this.loading[i].timeout){clearTimeout(this.loading[i].timeout)}this.loading[i].status=this.STATUS.ERROR;this.loadError(i);this.loadComplete(i)},loadError:function(i){a.Message.Set(["LoadFailed","File failed to load: %1",i],null,2000);a.Hub.signal.Post(["file load error",i])},Styles:function(k,l){var i=this.StyleString(k);if(i===""){l=a.Callback(l);l()}else{var j=document.createElement("style");j.type="text/css";this.head=h(this.head);this.head.appendChild(j);if(j.styleSheet&&typeof(j.styleSheet.cssText)!=="undefined"){j.styleSheet.cssText=i}else{j.appendChild(document.createTextNode(i))}l=this.timer.create.call(this,l,j)}return
l},StyleString:function(n){if(typeof(n)==="string"){return n}var k="",o,m;for(o in n){if(n.hasOwnProperty(o)){if(typeof n[o]==="string"){k+=o+" {"+n[o]+"}\n"}else{if(a.Object.isArray(n[o])){for(var l=0;l<n[o].length;l++){m={};m[o]=n[o][l];k+=this.StyleString(m)}}else{if(o.substr(0,6)==="@media"){k+=o+" {"+this.StyleString(n[o])+"}\n"}else{if(n[o]!=null){m=[];for(var j in n[o]){if(n[o].hasOwnProperty(j)){if(n[o][j]!=null){m[m.length]=j+": "+n[o][j]}}}k+=o+" {"+m.join("; ")+"}\n"}}}}}}return k}}})("MathJax");MathJax.HTML={Element:function(d,f,e){var g=document.createElement(d),h;if(f){if(f.hasOwnProperty("style")){var c=f.style;f.style={};for(h in c){if(c.hasOwnProperty(h)){f.style[h.replace(/-([a-z])/g,this.ucMatch)]=c[h]}}}MathJax.Hub.Insert(g,f);for(h in f){if(h==="role"||h.substr(0,5)==="aria-"){g.setAttribute(h,f[h])}}}if(e){if(!MathJax.Object.isArray(e)){e=[e]}for(var b=0,a=e.length;b<a;b++){if(MathJax.Object.isArray(e[b])){g.appendChild(this.Element(e[b][0],e[b][1],e[b][2]))}else{if(d==="script"){this.setScript(g,e[b])}else{g.appendChild(document.createTextNode(e[b]))}}}}return g},ucMatch:function(a,b){return b.toUpperCase()},addElement:function(b,a,d,c){return b.appendChild(this.Element(a,d,c))},TextNode:function(a){return document.createTextNode(a)},addText:function(a,b){return a.appendChild(this.TextNode(b))},setScript:function(a,b){if(this.setScriptBug){a.text=b}else{while(a.firstChild){a.removeChild(a.firstChild)}this.addText(a,b)}},getScript:function(a){var b=(a.text===""?a.innerHTML:a.text);return b.replace(/^\s+/,"").replace(/\s+$/,"")},Cookie:{prefix:"mjx",expires:365,Set:function(a,e){var d=[];if(e){for(var g in e){if(e.hasOwnProperty(g)){d.push(g+":"+e[g].toString().replace(/&/g,"&&"))}}}var b=this.prefix+"."+a+"="+escape(d.join("&;"));if(this.expires){var f=new Date();f.setDate(f.getDate()+this.expires);b+="; expires="+f.toGMTString()}try{document.cookie=b+"; path=/"}catch(c){}},Get:function(a,d){if(!d){d={}}var g=new RegExp("(?:^|;\\s*)"+this.prefix+"\\."+a+"=([^;]*)(?:;|$)");var f;try{f=g.exec(document.cookie)}catch(c){}if(f&&f[1]!==""){var j=unescape(f[1]).split("&;");for(var e=0,b=j.length;e<b;e++){f=j[e].match(/([^:]+):(.*)/);var h=f[2].replace(/&&/g,"&");if(h==="true"){h=true}else{if(h==="false"){h=false}else{if(h.match(/^-?(\d+(\.\d+)?|\.\d+)$/)){h=parseFloat(h)}}}d[f[1]]=h}}return d}}};MathJax.Localization={locale:"en",directory:"[MathJax]/localization",strings:{ast:{menuTitle:"asturianu"},bg:{menuTitle:"\u0431\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438"},bcc:{menuTitle:"\u0628\u0644\u0648\u0686\u06CC"},br:{menuTitle:"brezhoneg"},ca:{menuTitle:"catal\u00E0"},cdo:{menuTitle:"M\u00ECng-d\u0115\u0324ng-ng\u1E73\u0304"},cs:{menuTitle:"\u010De\u0161tina"},da:{menuTitle:"dansk"},de:{menuTitle:"Deutsch"},diq:{menuTitle:"Zazaki"},en:{menuTitle:"English",isLoaded:true},eo:{menuTitle:"Esperanto"},es:{menuTitle:"espa\u00F1ol"},fa:{menuTitle:"\u0641\u0627\u0631\u0633\u06CC"},fi:{menuTitle:"suomi"},fr:{menuTitle:"fran\u00E7ais"},gl:{menuTitle:"galego"},he:{menuTitle:"\u05E2\u05D1\u05E8\u05D9\u05EA"},ia:{menuTitle:"interlingua"},it:{menuTitle:"italiano"},ja:{menuTitle:"\u65E5\u672C\u8A9E"},kn:{menuTitle:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1"},ko:{menuTitle:"\uD55C\uAD6D\uC5B4"},lb:{menuTitle:"L\u00EBtzebuergesch"},lki:{menuTitle:"\u0644\u06D5\u06A9\u06CC"},lt:{menuTitle:"lietuvi\u0173"},mk:{menuTitle:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438"},nl:{menuTitle:"Nederlands"},oc:{menuTitle:"occitan"},pl:{menuTitle:"polski"},pt:{menuTitle:"portugus\u00EA"},"pt-br":{menuTitle:"portugu\u00EAs do Brasil"},ru:{menuTitle:"\u0440\u0443\u0441\u0441\u043A\u0438\u0439"},sco:{menuTitle:"Scots"},scn:{menuTitle:"sicilianu"},sl:{menuTitle:"sloven\u0161\u010Dina"},sv:{menuTitle:"svenska"},tr:{menuTitle:"T\u00FCrk\u00E7e"},uk:{menuTitle:"\u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},vi:{menuTitle:"Ti\u1EBFng Vi\u1EC7t"},"zh-hans":{menuTitle:"\u4E2D\u6587\uFF08\u7B80\u4F53\uFF09"}},pattern:/%(\d+|\{\d+\}|\{[a-z]+:\%\d+(?:\|(?:%\{\d+\}|%.|[^\}])*)+\}|.)/g,SPLIT:("axb".split(/(x)/).length===3?function(a,b){return a.split(b)}:function(c,e){var a=[],b,d=0;e.lastIndex=0;while((b=e.exec(c))){a.push(c.substr(d,b.index-d));a.push.apply(a,b.slice(1));d=b.index+b[0].length}a.push(c.substr(d));return a}),_:function(b,a){if(MathJax.Object.isArray(a)){return this.processSnippet(b,a)}return this.processString(this.lookupPhrase(b,a),[].slice.call(arguments,2))},processString:function(l,p,g){var j,e,o=MathJax.Object.isArray;for(j=0,e=p.length;j<e;j++){if(g&&o(p[j])){p[j]=this.processSnippet(g,p[j])}}var f=this.SPLIT(l,this.pattern);for(j=1,e=f.length;j<e;j+=2){var q=f[j].charAt(0);if(q>="0"&&q<="9"){f[j]=p[f[j]-1];if(typeof f[j]==="number"){f[j]=this.number(f[j])}}else{if(q==="{"){q=f[j].substr(1);if(q>="0"&&q<="9"){f[j]=p[f[j].substr(1,f[j].length-2)-1];if(typeof f[j]==="number"){f[j]=this.number(f[j])}}else{var k=f[j].match(/^\{([a-z]+):%(\d+)\|(.*)\}$/);if(k){if(k[1]==="plural"){var d=p[k[2]-1];if(typeof d==="undefined"){f[j]="???"}else{d=this.plural(d)-1;var h=k[3].replace(/(^|[^%])(%%)*%\|/g,"$1$2%\uEFEF").split(/\|/);if(d>=0&&d<h.length){f[j]=this.processString(h[d].replace(/\uEFEF/g,"|"),p,g)}else{f[j]="???"}}}else{f[j]="%"+f[j]}}}}}if(f[j]==null){f[j]="???"}}if(!g){return f.join("")}var a=[],b="";for(j=0;j<e;j++){b+=f[j];j++;if(j<e){if(o(f[j])){a.push(b);a=a.concat(f[j]);b=""}else{b+=f[j]}}}if(b!==""){a.push(b)}return a},processSnippet:function(g,e){var c=[];for(var d=0,b=e.length;d<b;d++){if(MathJax.Object.isArray(e[d])){var f=e[d];if(typeof f[1]==="string"){var h=f[0];if(!MathJax.Object.isArray(h)){h=[g,h]}var a=this.lookupPhrase(h,f[1]);c=c.concat(this.processMarkdown(a,f.slice(2),g))}else{if(MathJax.Object.isArray(f[1])){c=c.concat(this.processSnippet.apply(this,f))}else{if(f.length>=3){c.push([f[0],f[1],this.processSnippet(g,f[2])])}else{c.push(e[d])}}}}else{c.push(e[d])}}return c},markdownPattern:/(%.)|(\*{1,3})((?:%.|.)+?)\2|(`+)((?:%.|.)+?)\4|\[((?:%.|.)+?)\]\(([^\s\)]+)\)/,processMarkdown:function(b,h,d){var j=[],e;var c=b.split(this.markdownPattern);var g=c[0];for(var f=1,a=c.length;f<a;f+=8){if(c[f+1]){e=this.processString(c[f+2],h,d);if(!MathJax.Object.isArray(e)){e=[e]}e=[["b","i","i"][c[f+1].length-1],{},e];if(c[f+1].length===3){e=["b",{},e]}}else{if(c[f+3]){e=this.processString(c[f+4].replace(/^\s/,"").replace(/\s$/,""),h,d);if(!MathJax.Object.isArray(e)){e=[e]}e=["code",{},e]}else{if(c[f+5]){e=this.processString(c[f+5],h,d);if(!MathJax.Object.isArray(e)){e=[e]}e=["a",{href:this.processString(c[f+6],h),target:"_blank"},e]}else{g+=c[f];e=null}}}if(e){j=this.concatString(j,g,h,d);j.push(e);g=""}if(c[f+7]!==""){g+=c[f+7]}}j=this.concatString(j,g,h,d);return j},concatString:function(a,c,b,d){if(c!=""){c=this.processString(c,b,d);if(!MathJax.Object.isArray(c)){c=[c]}a=a.concat(c)}return a},lookupPhrase:function(f,a,d){if(!d){d="_"}if(MathJax.Object.isArray(f)){d=(f[0]||"_");f=(f[1]||"")}var c=this.loadDomain(d);if(c){MathJax.Hub.RestartAfter(c)}var b=this.strings[this.locale];if(b){if(b.domains&&d in b.domains){var e=b.domains[d];if(e.strings&&f in e.strings){a=e.strings[f]}}}return a},loadFile:function(b,d,e){e=MathJax.Callback(e);b=(d.file||b);if(!b.match(/\.js$/)){b+=".js"}if(!b.match(/^([a-z]+:|\[MathJax\])/)){var a=(this.strings[this.locale].directory||this.directory+"/"+this.locale||"[MathJax]/localization/"+this.locale);b=a+"/"+b}var c=MathJax.Ajax.Require(b,function(){d.isLoaded=true;return e()});return(c.called?null:c)},loadDomain:function(c,e){var b,a=this.strings[this.locale];if(a){if(!a.isLoaded){b=this.loadFile(this.locale,a);if(b){return MathJax.Callback.Queue(b,["loadDomain",this,c]).Push(e||{})}}if(a.domains&&c in a.domains){var d=a.domains[c];if(!d.isLoaded){b=this.loadFile(c,d);if(b){return MathJax.Callback.Queue(b).Push(e)}}}}return MathJax.Callback(e)()},Try:function(a){a=MathJax.Callback(a);a.autoReset=true;try{a()}catch(b){if(!b.restart){throw b}MathJax.Callback.After(["Try",this,a],b.restart)}},resetLocale:function(a){if(!a){return}a=a.toLowerCase();while(!this.strings[a]){var

Teste o Premium para desbloquear

Aproveite todos os benefícios por 3 dias sem pagar! 😉
Já tem cadastro?

Continue navegando