unable to evaluate m of the n functions to numeric values - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : unable to evaluate m of the n functions to numeric values

Warning, unable to evaluate m of the n functions to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

 

Description

Examples

See Also

Description

Note: For users of Maple 15 and earlier versions, this warning occurs when you create a Maple plot without points, curves, or surfaces.  In the warning message, "functions" refers to the functions being plotted (expressed as an algebraic expressions or procedures) and "region" refers to the plotting domain.

 

Verify that you are using the correct syntax for the plotting command and that the function values are real numbers in the specified region.

 

Examples

Example 1
In this example, the plot command is used to plot a list of functions.   Note that a warning message is displayed and only one function is graphed.

 

The warning occurs because the function values for some of the functions in the list are not numeric.

plotb,x,b+x,x=0..1

Warning, unable to evaluate 2 of the 3 functions to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

Solution:

Assign a value to b before plotting the functions.  Now all three functions are shown on the graph.

b3:

plotb,x,b+x,x=0..1

 

Example 2

In this example, the plot command is used to plot a set of functions.  Note that the warning appears and only the first function is graphed.

 

The warning occurs because the function g is not properly defined; when you simply type the letter e, it is interpreted by Maple as a name rather than the natural exponential function.

f:=x2;g:=xe12x

f:=x2

g:=xe12x

(2.1)

plotf,g,x=2..2

Warning, unable to evaluate 1 of the 2 functions to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

Solution:

To define g, you must use the exponential 'e'.  One way to obtain this is to use the ⅇa template from the Expression Palette and then replace a with 12x.  For more information on the exponential 'e', see the exp help page.

f:=x2;g:=xⅇ12x

f:=x2

g:=xⅇ12x

(2.2)

plotf,g,x=2..2

See Also

exp, plot, plot/multiple,  unabletoevaluatethefunctiontonumericvalues