Y-th Root of X Function

Owning Palette: Exponential Functions

Requires: Base Development System

Returns the yth root of the input value x. If x is not complex, x must be greater than or equal to zero unless y is an integer. Otherwise, the result is NaN.

The connector pane displays the default data types for this polymorphic function.

Example

 Add to the block diagram  Find on the palette
y can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
y-th root(x) returns the yth root of x. When x and y are complex, the following equation defines y-th root(x):

y-th root(x) = exp((1/y) * ln(x))

Refer to the Natural Logarithm function and the Exponential function for more information.

Example

Refer to the Exponential VI in the labview\examples\Mathematics\Elementary & Special Functions\Exponential Functions directory for an example of using the Y-th Root of X function.

 Open example  Find related examples