Math: Difference between revisions

From Mr. V Wiki Math
Jump to navigation Jump to search
Line 24: Line 24:
=== Calculus ===
=== Calculus ===


Sum: <syntaxhighlight lang="html5" inline><math>\sum_{i=1}^{n}i=\frac{n(n+1)}{2}</math></syntaxhighlight> gives <math>\sum_{i=1}^{n}i=\frac{n(n+1)}{2}</math><br>
Sum: <syntaxhighlight lang="html5" inline><math>\sum_{i=1}^{n}i=\frac{n(n+1)}{2}</math></syntaxhighlight> gives <math>\sum_{i=1}^{n}i=\frac{n(n+1)}{2}</math><br><br>
Limit: <syntaxhighlight lang="html5" inline><math>\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math></syntaxhighlight> gives <math>\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math><br><br>
Limit: <syntaxhighlight lang="html5" inline><math>\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math></syntaxhighlight> gives <math>\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math><br><br>
Integral: <syntaxhighlight lang="html5" inline><math>\int_{1}^{x+1}\frac{1}{x}dx</math></syntaxhighlight> gives <math>\int_{1}^{x+1}\frac{1}{x}dx</math><br>
Integral: <syntaxhighlight lang="html5" inline><math>\int_{1}^{x+1}\frac{1}{x}dx</math></syntaxhighlight> gives <math>\int_{1}^{x+1}\frac{1}{x}dx</math><br>

Revision as of 15:52, 25 August 2022

Basics

To render any math equation, the math equation must be between <math></math> i.e., <math>f(x)=x^2</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle f(x)=x^2} .

Common math commands

Superscript & Subscript

Superscript: <math>x^{5+y}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle x^{5+y}}
Subscript: <math>x_{5+t}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle x_{5+t}}
Together: <math>x_{5+t}^{5+y}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle x_{5+t}^{5+y}}

Fractions & Radicals

Fractions: <math>\frac{1}{x}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \frac{1}{x}}
Square root: <math>\sqrt{x+1}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \sqrt{x+1}}
General radical: <math>\sqrt[3]{64}=4</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \sqrt[3]{64}=4}

Trig. & Log Functions

Sin, cos, tan, etc.: <math>\sin{(\theta)}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \sin{(\theta)}}
Arcsin, arccos, arctan, etc.: <math>\arcsin{(\theta)}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \arcsin{(\theta)}}
Log: <math>\log_{5}{5^2}=2</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \log_{5}{5^2}=2}
Ln: <math>\ln{e^3}=3</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \ln{e^3}=3}

Calculus

Sum: <math>\sum_{i=1}^{n}i=\frac{n(n+1)}{2}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \sum_{i=1}^{n}i=\frac{n(n+1)}{2}}

Limit: <math>\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \lim_{h\to 0}\frac{f(x+h)-f(x)}{h}}

Integral: <math>\int_{1}^{x+1}\frac{1}{x}dx</math> gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \int_{1}^{x+1}\frac{1}{x}dx}









123Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle }