Help:Math

From Club Penguin

(Difference between revisions)
 
Line 1: Line 1:
-
[[Category:Extensions]]
+
 
-
[[Category:Features]]You can add math formulas to your page using <nowiki><m></m></nowiki> tags.
+
You can add math formulas to your page using <nowiki><m></m></nowiki> tags.
Keep in mind that the syntax is different then LaTeX, but is pretty easy to figure out. Feel free to try some out in the [[Sandbox]]
Keep in mind that the syntax is different then LaTeX, but is pretty easy to figure out. Feel free to try some out in the [[Sandbox]]
-
 
+
To see more : [http://www.editthis.info/wiki/Help:Math More help]
-
==Syntax==
+
-
===Usual Commands===
+
-
*x+y : <m>x+y </m>
+
-
*x-y : <m>x-y </m>
+
-
*x*y : <m>x*y </m>
+
-
*x/y : <m>x/y </m>
+
-
*x^y : <m>x^y </m>
+
-
*x_y : <m>x_y </m>
+
-
*x<>y : <m>x<>y </m>
+
-
*x>y : <m>x>y </m>
+
-
*x>=y : <m>x>=y </m>
+
-
*x<y : <m>x<y </m>
+
-
*x<=y : <m>x<=y </m>
+
-
===Parenthesis===
+
-
*visible : (x)<m>visible (x)</m>
+
-
*invisible : {x}<m>invisible {x}</m>
+
-
===Math space===
+
-
*a~b : <m>a~b </m>
+
-
===Greek letters===
+
-
*alpha : <m>alpha </m>
+
-
*beta : <m>beta </m>
+
-
*gamma : <m>gamma </m>
+
-
*delta : <m>delta </m>
+
-
*epsilon : <m>epsilon </m>
+
-
*varepsilon : <m>varepsilon </m>
+
-
*zeta : <m>zeta </m>
+
-
*eta : <m>eta </m>
+
-
*theta : <m>theta </m>
+
-
*vartheta : <m>vartheta </m>
+
-
*iota : <m>iota </m>
+
-
*kappa : <m>kappa </m>
+
-
*lambda : <m>lambda </m>
+
-
*mu : <m>mu </m>
+
-
*nu : <m>nu </m>
+
-
*xi : <m>xi </m>
+
-
*pi : <m>pi </m>
+
-
*varpi : <m>varpi </m>
+
-
*rho : <m>rho </m>
+
-
*varrho : <m>varrho </m>
+
-
*sigma : <m>sigma </m>
+
-
*varsigma : <m>varsigma </m>
+
-
*tau : <m>tau </m>
+
-
*upsilon : <m>upsilon </m>
+
-
*phi : <m>phi </m>
+
-
*varphi : <m>varphi </m>
+
-
*chi : <m>chi </m>
+
-
*psi : <m>psi </m>
+
-
*omega : <m>omega </m>
+
-
*Gamma : <m>Gamma </m>
+
-
*Lambda : <m>Lambda </m>
+
-
*Sigma : <m>Sigma </m>
+
-
*Psi : <m>Psi </m>
+
-
*Delta : <m>Delta </m>
+
-
*Xi : <m>Xi </m>
+
-
*Upsilon : <m>Upsilon </m>
+
-
*Omega : <m>Omega </m>
+
-
*Theta : <m>Theta </m>
+
-
*Pi : <m>Pi </m>
+
-
*Phi : <m>Phi </m>
+
-
===Symbols===
+
-
*infty : <m>infty </m>
+
-
*in : <m>in </m>
+
-
*notin : <m>notin </m>
+
-
*forall : <m>forall </m>
+
-
*exists : <m>exists </m>
+
-
*notexists : <m>notexists </m>
+
-
*partial : <m>partial </m>
+
-
*approx : <m>approx </m>
+
-
*pm : <m>pm </m>
+
-
*inter : <m>inter </m>
+
-
*union : <m>union </m>
+
-
*ortho : <m>ortho </m>
+
-
*parallel : <m>parallel </m>
+
-
*backslash : <m>backslash </m>
+
-
*prime : <m>prime </m>
+
-
*wedge : <m>wedge </m>
+
-
*vert : <m>vert </m>
+
-
*lbrace : <m>lbrace</m>
+
-
*rbrace : <m>rbrace</m>
+
-
*circ : <m>circ </m>
+
-
*varnothing : <m>varnothing </m>
+
-
*subset : <m>subset </m>
+
-
*notsubset : <m>notsubset </m>
+
-
*cdots : <m>cdots </m>
+
-
*vdots : <m>vdots </m>
+
-
*ddots : <m>ddots </m>
+
-
 
+
-
===Arrows===
+
-
*left : <m>left </m>
+
-
*right : <m>right </m>
+
-
*leftright : <m>leftright </m>
+
-
*doubleleft : <m>doubleleft </m>
+
-
*doubleright : <m>doubleright </m>
+
-
*doubleleftright : <m>doubleleftright </m>
+
-
*nearrow : <m>nearrow </m>
+
-
*searrow : <m>searrow </m>
+
-
===Sets===
+
-
*bbR : <m>bbR </m>
+
-
*bbN : <m>bbN </m>
+
-
*bbZ : <m>bbZ </m>
+
-
*bbC : <m>bbC </m>
+
-
===Roots===
+
-
*sqrt{a} : <m>sqrt{a} </m>
+
-
*root{n}{a} : <m>root{n}{a} </m>
+
-
===Limits===
+
-
*lim{a}{x} : <m>lim{a}{x} </m>
+
-
===Big operators===
+
-
*int{a}{b}{x} : <m>int{a}{b}{x} </m>
+
-
*doubleint{a}{b}{x} : <m>doubleint{a}{b}{x} </m>
+
-
*tripleint{a}{b}{x} : <m>tripleint{a}{b}{x} </m>
+
-
*oint{a}{b}{x} : <m>oint{a}{b}{x} </m>
+
-
*sum{a}{b}{x} : <m>sum{a}{b}{x} </m>
+
-
*prod{a}{b}{x} : <m>prod{a}{b}{x} </m>
+
-
*bigcup{a}{b}{x} : <m>bigcup{a}{b}{x} </m>
+
-
*bigcap{a}{b}{x} : <m>bigcap{a}{b}{x} </m>
+
-
===Delimiters===
+
-
*delim{[}{x}{]} : <m>delim{[}{x}{]} </m>
+
-
*delim{]}{x}{]} : <m>delim{]}{x}{]} </m>
+
-
*delim{[}{x}{[} : <m>delim{[}{x}{[} </m>
+
-
*delim{]}{x}{[} : <m>delim{]}{x}{[} </m>
+
-
*delim{lbrace}{x}{rbrace} : <m>delim{lbrace}{x}{rbrace} </m>
+
-
*delim{|}{x}{|} : <m>delim{|}{x}{|} </m>
+
-
*delim{vert}{x}{vert} : <m>delim{vert}{x}{vert} </m>
+
-
===Matrix===
+
-
*matrix{num of lines}{num of columns}{first_element ... last_element}
+
-
====Example====
+
-
*matrix{2}{3}{a b c d e f g} : <m>matrix{2}{3}{a b c d e f g} </m>
+
-
===Tabular===
+
-
Tabular
+
-
tabular{lines description}{columns description}{first_element ... last_element}<br>
+
-
lines description : sequence of 1 (draw the horizontal line) or 0 (don't draw the horizontal line) - the length of the sequence=num of lines+1<br>
+
-
columns description : sequence of 1 (draw the vertical line) or 0 (don't draw the vertical line) - the length of the sequence=num of columns+1
+
-
====Examples====
+
-
tabular{111}{1111}{a b c d e f g} : <m>tabular{111}{1111}{a b c d e f g} </m>
+
-
 
+
-
tabular{1001}{101}{1 2 3 4 5 6} : <m>tabular{1001}{101}{1 2 3 4 5 6}</m>
+
-
 
+
-
====Constructions====
+
-
*vec{express} : <m>vec{express}</m>
+
-
*{express}under{foo} : <m>{express}under{foo</m>
+
-
*{express}over{foo} : <m>{express}over{foo}</m>
+
-
*overline{express} : <m>overline{express}</m>
+
-
*underline{express} : <m>underline{express}</m>
+
-
*hat{express} : <m>hat{express}</m>
+
-
==Usage Examples==
+
-
<p>delim{|}{{1/N} sum{n=1}{N}{gamma(u_n)} - 1/{2 pi} int{0}{2 pi}{gamma(t) dt}}{|} <= varepsilon/3:<m>delim{|}{{1/N} sum{n=1}{N}{gamma(u_n)} - 1/{2 pi} int{0}{2 pi}{gamma(t) dt}}{|} <= varepsilon/3</m>
+
-
===About pi===
+
-
*pi=sum{n=0}{+infty}{{(n!)^2 2^{n+1}}/{(2n+1)!} : <m>pi=sum{n=0}{+infty}{{(n!)^2 2^{n+1}}/{(2n+1)!}}</m>
+
-
*pi=22/7-int{0}{1}{{x^4 (1-x)^4}/{1+x^2}dx} : <m>pi=22/7-int{0}{1}{{x^4 (1-x)^4}/{1+x^2}dx}</m>
+
-
*pi=3/4 sqrt{3}+24 int{0}{1/4}{sqrt{x-x^2}dx} : <m>pi=3/4 sqrt{3}+24 int{0}{1/4}{sqrt{x-x^2}dx}</m>
+
-
*delim{lbrace}{matrix{3}{1}{{3x-5y+z=0} {sqrt{2}x-7y+8z=0} {x-8y+9z=0}}}{~} : <m>delim{lbrace}{matrix{3}{1}{{3x-5y+z=0} {sqrt{2}x-7y+8z=0} {x-8y+9z=0}}}{~}</m>
+
-
*delim{|}{matrix{3}{3}{a_{1 1} cdots a_{1 n} vdots ddots vdots a_{n 1} cdots a_{n n}}}{|} : <m>delim{|}{matrix{3}{3}{a_{1 1} cdots a_{1 n} vdots ddots vdots a_{n 1} cdots a_{n n}}}{|}</m>
+

Current revision as of 00:40, 28 August 2006

You can add math formulas to your page using <m></m> tags.

Keep in mind that the syntax is different then LaTeX, but is pretty easy to figure out. Feel free to try some out in the Sandbox

To see more : More help

Personal tools