Difference between revisions of "Nroot Function"

From GeoGebra Manual
Jump to: navigation, search
Line 4: Line 4:
 
:{{Example|1=<br>  
 
:{{Example|1=<br>  
 
::*'''<code><nowiki>nroot(16, 4)</nowiki></code>''' yields "2"
 
::*'''<code><nowiki>nroot(16, 4)</nowiki></code>''' yields "2"
::*'''<code><nowiki>nroot(x^8, 2)</nowiki></code>''' yields ''(&#124;x&#124;)⁴'' in the CAS View
+
::*'''<code><nowiki>nroot(x^8, 2)</nowiki></code>''' yields <math>f(x) =  \sqrt[2] {x^8} </math> in Algebra, but ''&#124;x&#124;⁴'' in the CAS View
 
}}
 
}}
 
:{{Note|1=See also [[Predefined Functions and Operators]].}}
 
:{{Note|1=See also [[Predefined Functions and Operators]].}}

Revision as of 19:35, 12 December 2012

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
© 2024 International GeoGebra Institute