Template:Infobox mathematical constant/doc
Constant value used in mathematics
More actions
| This is a documentation subpage for Template:Infobox mathematical constant. It may contain usage information, categories and other content that is not part of the original template page. |
| Uses Lua: |
| {{{name}}} | |
|---|---|
| {{{symbol}}} | |
| General information | |
| Type | {{{type}}} |
| Fields | {{{fields_of_application}}} |
| Main uses | {{{main_applications}}} |
| Representations | |
| Value | {{{value}}} |
| Algebraic form | {{{algebraic_form}}} |
| Approximation | {{{approximation}}} |
| Continued fraction | {{{continued_fraction}}} |
| History | |
| Discovered | {{{discovery_date}}} |
| By | {{{discovery_person}}} |
| First mention | {{{discovery_work}}} |
| Named after | {{{named_after}}} |
{{{notes}}} | |
Blank syntax
{{Infobox mathematical constant
| name =
| symbol =
| type =
| fields_of_application =
| main_applications =
| value =
| algebraic_form =
| approximation =
| continued_fraction =
| discovery_date =
| discovery_person =
| discovery_work =
| named_after =
| notes =
}}Example
The code below produces the box opposite:
| Pi | |
|---|---|
| π 3.14159...[1] | |
| General information | |
| Type | Transcendental |
| Fields | |
| History | |
| Discovered | circa 1900 BCE |
{{Infobox mathematical constant
| name = Pi
| symbol = {{pi}}
| type = [[Transcendental number|Transcendental]]
| approximation = 3.14159...<ref>{{Cite OEIS|A000796}}</ref>
| fields_of_application = {{flatlist |
* [[Geometry]]
* [[calculus]]
}}
| discovery_date = circa 1900 BCE
}}| Euler's number | |
|---|---|
| e | |
| General information | |
| Type | Transcendental |
| Fields | |
| Representations | |
| Approximation | 2.71828...[2] |
| Continued fraction | [2; 1, 2, 1, 1, 4, 1, 1, 6, 1, ..., 1, 2n, 1, ...][3] |
| History | |
| Discovered | 1685 |
| By | Jacob Bernoulli |
| First mention | Quæstiones nonnullæ de usuris, cum solutione problematis de sorte alearum, propositi in Ephem. Gall. A. 1685 |
| Named after | |
{{Infobox mathematical constant
| name = Euler's number
| symbol = {{mvar|e}}
| type = [[Transcendental number|Transcendental]]
| fields_of_application = {{flatlist |
* [[Calculus]]
* [[statistics]]
}}
| approximation = 2.71828...<ref>{{Cite OEIS|A001113}}</ref>
| continued_fraction = [2; 1, 2, 1, 1, 4, 1, 1, 6, 1, ..., 1, 2n, 1, ...]<ref>{{Cite OEIS|A003417}}</ref>
| discovery_date = 1685
| discovery_person = [[Jacob Bernoulli]]
| discovery_work = ''Quæstiones nonnullæ de usuris, cum solutione problematis de sorte alearum, propositi in Ephem. Gall. A. 1685''
| named_after = {{flatlist |
* [[Leonhard Euler]]
* [[John Napier]]
}}
}}Parameters
All parameters are optional. Separate multiple entries using {{Plainlist}}.
| Parameter | Notes |
|---|---|
| name | Race name to display in top header (default = PAGENAME). |
| symbol | The symbol used to represent the number. Displays large in the style of {{Infobox grapheme}}. |
| type | The type of constant (rational, irrational, transcendental, etc.) |
| fields_of_application | Fields that the constant is primarily associated with. Separate multiple entries using {{Flatlist}}. |
| main_applications | Main uses for the constant. Separate multiple entries using {{Flatlist}}. |
| value | A fixed and easy to represent value for the constant, if it exists. |
| algebraic_form | Algebraic form for the constant. |
| approximation | Numerical approximation for the constant. |
| continued_fraction | Continued fraction for the constant. |
| discovery_date | Date the constant was discovered, if possible to determine. |
| discovery_person | Person who discovered the constant, if possible to determine. Wikilink if possible. |
| discovery_work | The paper or book that first described the constant, if possible to determine. |
| named_after | Who or what the common name of the constant is named after. Separate multiple entries using {{Flatlist}}. |
| notes | Notes. |