Difference between revisions of "Template:Root"
Jump to navigation
Jump to search
m (1 revision) |
(No difference)
|
Latest revision as of 17:53, 18 January 2010
[edit] [ ] Template documentation
This template finds an nth root of a real number. By default, it gives a square root.
To use it to find a square root, enter:
{{root|number}}
To use it to find an nth root, enter:
{{root|number|n}}
Examples:
- {{root|0.000001}} gives 0.001
- {{root|0.0001}} gives 0.01
- {{root|0.81}} gives 0.9
- {{root|2}} gives 1.4142135623731
- {{root|25}} gives 5
- {{root|27|3}} gives 3
- {{root|256|4}} gives 4
- {{root|-1}} gives 1i (result if answer is not a real number)
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
The above documentation is transcluded from Template:Root/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |