Math: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 14: | Line 14: | ||
Fractions: <syntaxhighlight lang="html5" inline><math>\frac{1}{x}</math></syntaxhighlight> gives <math>\frac{1}{x}</math><br> | Fractions: <syntaxhighlight lang="html5" inline><math>\frac{1}{x}</math></syntaxhighlight> gives <math>\frac{1}{x}</math><br> | ||
Square root: <syntaxhighlight lang="html5" inline><math>\sqrt{x+1}</math></syntaxhighlight> gives <math>\sqrt{x+1}</math><br> | Square root: <syntaxhighlight lang="html5" inline><math>\sqrt{x+1}</math></syntaxhighlight> gives <math>\sqrt{x+1}</math><br> | ||
General radical: <syntaxhighlight lang="html5" inline><math>$\sqrt[3]{64}=4</math></syntaxhighlight> gives <math>\sqrt[3]{64}=4</math><br> | General radical: <syntaxhighlight lang="html5" inline><math>$\sqrt[3]{64}=4</math></syntaxhighlight> gives <math>\sqrt[3]{64}=4</math><br> | ||
=== Trig. & Log Functions === | |||
Sin, Cos, Tan, etc.: <syntaxhighlight lang="html5" inline><math>\sin{\theta}</math></syntaxhighlight> gives \sin{\theta}</math><br> | |||
---- | ---- |
Revision as of 15:34, 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 \sin{\theta}</math>
123