class="resources" Find All Zeroes of f(x) (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Find All Zeroes of f(x) (Not in Base Package)

Determines all zeroes of a 1D function in a given interval. Details  Example

accuracy controls the accuracy of the zeroes and the extrema. The default is 1.00E-8.
step type controls the spacing used for the function values. A step type value of 0, fixed function, represents uniformly spaced function values. A value of 1, modified function, represents the optimal step size. The default is 0. In general, modified function leads to more accurate zeroes and extrema.
algorithm is the method used by the VI. An algorithm value of 0 selects the Ridders method. A value of 1 selects the Newton Raphson method. The default is 0.
start is the start point of the interval. The default is 0.0.
end is the end point of the interval. The default is 1.0.
formula is a string describing the function.
Zeroes are the determined zeroes of formula.
f(Zeroes) contains the function values of Zeroes. Usually, these values are close to 0.
ticks is the time in milliseconds for the whole calculation.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Find All Zeroes of f(x) Details

To obtain the zeroes of sin(sinc(gamma(x))) in the interval (–2, 2), enter the following values on the front panel:

  • start: -2.00
  • end: 2.00
  • formula: sin(sinc(gamma(x)))

The following illustration shows the graph and the zeroes of sin(sinc(gamma(x))) in the interval (–2, 2).

Example

Refer to the 1D Explorer Example VI in the labview\examples\math\math.llb directory for an example of using the Find All Zeroes of f(x) VI.

 


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit