Math: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
=== Trig. & Log Functions === | === Trig. & Log Functions === | ||
Sin, | Sin, cos, tan, etc.: <syntaxhighlight lang="html5" inline><math>\sin{(\theta)}</math></syntaxhighlight> gives <math>\sin{(\theta)}</math><br> | ||
Arcsin, arccos, arctan, etc.: <syntaxhighlight lang="html5" inline><math>\arcsin{(\theta)}</math></syntaxhighlight> gives <math>\arcsin{(\theta)}</math><br> | Arcsin, arccos, arctan, etc.: <syntaxhighlight lang="html5" inline><math>\arcsin{(\theta)}</math></syntaxhighlight> gives <math>\arcsin{(\theta)}</math><br> | ||
Log: <syntaxhighlight lang="html5" inline><math>\log_{5}{5^2}=2</math></syntaxhighlight> gives <math>\log_{5}{5^2}=2</math><br> | Log: <syntaxhighlight lang="html5" inline><math>\log_{5}{5^2}=2</math></syntaxhighlight> gives <math>\log_{5}{5^2}=2</math><br> |
Revision as of 15:49, 25 August 2022
Basics[edit]
To render any math equation, the math equation must be between <math></math>
i.e., <math>f(x)=x^2</math>
gives .
Common math commands[edit]
Superscript & Subscript[edit]
Superscript: <math>x^{5+y}</math>
gives
Subscript: <math>x_{5+t}</math>
gives
Together: <math>x_{5+t}^{5+y}</math>
gives
Fractions & Radicals[edit]
Fractions: <math>\frac{1}{x}</math>
gives
Square root: <math>\sqrt{x+1}</math>
gives
General radical: <math>\sqrt[3]{64}=4</math>
gives
Trig. & Log Functions[edit]
Sin, cos, tan, etc.: <math>\sin{(\theta)}</math>
gives
Arcsin, arccos, arctan, etc.: <math>\arcsin{(\theta)}</math>
gives
Log: <math>\log_{5}{5^2}=2</math>
gives
Ln: <math>\ln{e^3}=3</math>
gives
Calculus[edit]
Integral: <math>\int_{1}^{x+1}\frac{1}{x}dx</math>
gives
123