- Navigation
- Main page
- Table of contents
- Index (Categories)
- What's new
- Response to comments
- Future updates
- Events
- In the News
- Funding
- Recent changes
- Help
- Export to pdf

- Tools
- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Page information

- MPCA Links
- MPCA Homepage
- Stormwater
- Policies / Disclaimers

m (Redirected page to Help:Math) |
|||

(32 intermediate revisions by one other user not shown) | |||

Line 1: | Line 1: | ||

− | + | #REDIRECT [[Help:Math]] | |

− | |||

− | |||

+ | Math functions need to be within either math tags <code><nowiki><math>a^2+b^2=c^2</math></nowiki></code> or double dollar signs <code><nowiki>$$a^2+b^2=c^2$$</nowiki></code>. The difference being, the math tag can be used inline and the double dollar sign will put the equation on it's own line and centered on the page. | ||

− | <math>f( | + | Example: <math>a^2+b^2=c^2</math> |

+ | |||

+ | For expontents, you want to use the ^ symbol. So <math>A^x</math> would be written like this: <code>A^x</code>. If the exponent contains more than one character, you need to encase them in curly brackets {} so <math>A^{xyz}</math> would be written like <code>A^{xyz}</code>. | ||

+ | |||

+ | For subscripts, you want to use the _ symbol. So <math>A_x</math> would be written like this: <code>A_x</code>. If the subscript contains more than one character, you need to encase them in curly brackets {} so <math>A_{xyz}</math> would be written like <code>A_{xyz}</code>. | ||

+ | |||

+ | Operators work as expected, you can use + - * / within the math tags to add, subtract, multiply and divide. <code>A+B*C/D</code> looks like <math>A+B*C/D</math> | ||

+ | |||

+ | Symbols such as <math>\sqrt{}</math> and <math>\pi</math> are written using LaTeX commands. The two used previously are <code>\sqrt</code> and <code>\pi</code>. A complete list of LaTeX symbols can be found [http://web.ift.uib.no/Teori/KURS/WRK/TeX/symALL.html here]. So, for example if you typed this within math tags <code>\sqrt[2]{144*2}</code> you would get this:: | ||

+ | |||

+ | <math>\sqrt[2]{144*2}</math> | ||

+ | |||

+ | == Other Examples == | ||

+ | |||

+ | $$\sum f(x) = F(x) + g(x)$$ | ||

+ | |||

+ | $$\sqrt{12*32}$$ | ||

+ | |||

+ | $$A^2 + B^2 = C^2$$ | ||

+ | |||

+ | $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$ | ||

+ | |||

+ | |||

+ | === Specific Example taken from this wiki === | ||

+ | |||

+ | <math>A_{sv} = (A_{sd} * Sn_w) - I_{vol}</math> | ||

+ | |||

+ | Where: | ||

+ | |||

+ | *<math>A_{sv}</math> = Average snowmelt volume (depth/unit area) | ||

+ | *<math>A_{sd}</math> = Average snowpack depth at the initiation of the snowmelt period | ||

+ | *<math>Sn_w</math> = Typical snowpack water at time of melt | ||

+ | *<math>I_{vol}</math> = Estimated infiltration volume likely to occur during a 10-day melt period. |

Redirect to:

Math functions need to be within either math tags `\(a^2+b^2=c^2\)`

or double dollar signs `$$a^2+b^2=c^2$$`

. The difference being, the math tag can be used inline and the double dollar sign will put the equation on it's own line and centered on the page.

Example\[a^2+b^2=c^2\]

For expontents, you want to use the ^ symbol. So \(A^x\) would be written like this: `A^x`

. If the exponent contains more than one character, you need to encase them in curly brackets {} so \(A^{xyz}\) would be written like `A^{xyz}`

.

For subscripts, you want to use the _ symbol. So \(A_x\) would be written like this: `A_x`

. If the subscript contains more than one character, you need to encase them in curly brackets {} so \(A_{xyz}\) would be written like `A_{xyz}`

.

Operators work as expected, you can use + - * / within the math tags to add, subtract, multiply and divide. `A+B*C/D`

looks like \(A+B*C/D\)

Symbols such as \(\sqrt{}\) and \(\pi\) are written using LaTeX commands. The two used previously are `\sqrt`

and `\pi`

. A complete list of LaTeX symbols can be found here. So, for example if you typed this within math tags `\sqrt[2]{144*2}`

you would get this:\[\sqrt[2]{144*2}\]

$$\sum f(x) = F(x) + g(x)$$

$$\sqrt{12*32}$$

$$A^2 + B^2 = C^2$$

$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$

\(A_{sv} = (A_{sd} * Sn_w) - I_{vol}\)

Where:

- \(A_{sv}\) = Average snowmelt volume (depth/unit area)
- \(A_{sd}\) = Average snowpack depth at the initiation of the snowmelt period
- \(Sn_w\) = Typical snowpack water at time of melt
- \(I_{vol}\) = Estimated infiltration volume likely to occur during a 10-day melt period.

Retrieved from "https://stormwater.pca.state.mn.us/index.php?title=Math&oldid=32049"

This page was last edited on 15 March 2017, at 17:50.