Contents
Display Legacy Contents

 Print
    Nth Root      
This Function returns a <numeric>, which is the the Nth root of the specified Value.

Parameters

Value <numeric>
  Value to get the Nth root from.
   
Degree <numeric>
  Degree of the root of Value.

     
Example 1
  Example 2   Example 3
NRoot(27, 3)

Result = 3
  NRoot(8, 3)

Result = 2
  NRoot(-27, 3)

Result = -3
         
Example 4   Example 5    
NRoot(-16, 4)

Result = 2
  NRoot(16, 2)

Result = 4
   

     
  • To calculate a square root, set Degree to 2.

See also
Samples
Sample 1
Sample 2
 
Updated: 3/22/2013 4:12 PM