# Find Multiple Zeros nD System (VI) (G Dataflow)

Version:

Determines a set of solutions of a nonlinear system of equations in n dimensions beginning with randomly chosen start points. You define the equations with a strictly typed VI reference.

## h

Step size that this node uses to calculate the numerical derivatives of the given functions.

Default: 1E-08

## f(x)

Strictly typed reference to the VI that implements the functions.

## data

Arbitrary values passed to the strictly typed VI reference.

## start

Start values of the n-dimension interval where this node starts searching for the solutions. Each element in this array represents the start value of the corresponding variable in variables.

## end

End values of the n-dimension interval where this node stops searching for the solutions. Each element in this array represents the end value of the corresponding variable in variables.

## error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

## accuracy

Maximum deviation of the calculated solution from the actual solution when determining the zeros.

Default: 1E-08

## number of trials

Number of randomly chosen points between start and end. This node starts with these randomly chosen points and looks for zeros close to these points. The greater number of trials is, the higher the probability that this node finds all solutions.

Default: 5

## zeros

Determined values of the variables where the n-dimensional functions evaluate to zero.

These values are an approximation of the actual values of the variables where the functions evaluate to zero.

## f(zeros)

Function values at zeros. The values are expected to be nearly zero.

## error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

## Finding All Solutions

This node generates random n-dimension points as specified by number of trials and looks for a solution close to each point. The greater the number of trials, the higher the probability that this node finds all solutions.

However, this node cannot guarantee finding all solutions because this node uses an algorithm that is fundamentally stochastic. If the random points are far from the actual solutions, the node might not find all (or any) solutions.

For example, if all the random points are close to a particular solution and far from other solutions, the node finds that particular solution multiple times and does not find other solutions. Generally, the node finds the solution closest to the random point for a particular trial.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application