Calculates an array of function values at given points in a given interval by y[i] = f(x[i]) for i = 1, …n, where f is the 1D function given by the user formula.


icon

Inputs/Outputs

  • cstr.png formula

    formula is a string representing the function under investigation. The formula can contain any number of valid variables.

  • c1ddbl.png X Values

    X Values is the given array of input values X[i].

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i1ddbl.png Y Values

    Y Values is the 1D array of function values of formula at the given points in the array X Values. For example, Y Values = formula (X Values).

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • To calculate the formula y = x² for x = 1, 2, 3, 4, and 5, use the following values for the input arrays:

    • formula: x^2
    • X Values: [1, 2, 3, 4, 5]

    The resulting Y Values output array is [1, 4, 9, 16, 25].