Difference between revisions of "Nroot Function"
From GeoGebra Manual
m |
m |
||
Line 4: | Line 4: | ||
;nroot( <Expression>, <N> ):Calculates the ''n''<sup>th</sup> root of a given expression. | ;nroot( <Expression>, <N> ):Calculates the ''n''<sup>th</sup> root of a given expression. | ||
:{{Example|1=<br> | :{{Example|1=<br> | ||
− | ::*'''<code><nowiki>nroot(16, 4)</nowiki></code>''' yields | + | ::*'''<code><nowiki>nroot(16, 4)</nowiki></code>''' yields ''2''. |
::*'''<code><nowiki>nroot(x^8, 2)</nowiki></code>''' yields <math>f(x) = \sqrt[2] {x^8} </math> in Algebra, but ''x⁴'' in the [[File:Menu view cas.svg|link=|16px]] ''CAS View''. | ::*'''<code><nowiki>nroot(x^8, 2)</nowiki></code>''' yields <math>f(x) = \sqrt[2] {x^8} </math> in Algebra, but ''x⁴'' in the [[File:Menu view cas.svg|link=|16px]] ''CAS View''. | ||
}} | }} | ||
:{{Note|1=See also [[Predefined Functions and Operators]].}} | :{{Note|1=See also [[Predefined Functions and Operators]].}} |
Latest revision as of 14:01, 6 August 2015
- nroot( <Expression>, <N> )
- Calculates the nth root of a given expression.
- Example:
nroot(16, 4)
yields 2.nroot(x^8, 2)
yields f(x) = \sqrt[2] {x^8} in Algebra, but x⁴ in the CAS View.
- Note: See also Predefined Functions and Operators.