Error, invalid input: f uses a 3rd argument, c, which is missing - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Home : Support : Online Help : Error, invalid input: f uses a 3rd argument, c, which is missing

Error, invalid input: ... uses a ... argument, ..., which is missing

 

Description

Examples

Description

This error message occurs when one or more arguments expected by the procedure are missing. Refer to the help page corresponding to your procedure for the correct calling sequence.

Examples

Example 1

In the following example, it is unclear whether the argument represents the summand or the index.

Error, invalid input: sum uses a 2nd argument, k, which is missing

 

Solution:

For this example, assume the intention was for the summand and index to both be  You must explicitly state both arguments for sum.

(2.1)

Example 2

In the following example, the polynomial to be factored has not been supplied to the factor command.

Error, invalid input: factor uses a 1st argument, xFP, which is missing

Solution:

Include polynomial to be factored.

(2.2)

Example 3

In this example, the procedure Adder has been defined with two parameters, a and b.

(2.3)

Here, the second argument is missing.

Error, invalid input: Adder uses a 2nd argument, b, which is missing

Solution:

Add the missing second argument.

(2.4)

 

Example 4

Without the second argument, it is unclear which variable is supposed to be eliminated

Error, invalid input: eliminate uses a 2nd argument, vars (of type {name, ({set, list})(name)}), which is missing

Solution:

Add the missing second argument.

(2.5)

See Also

eval

map

sum

factor

eliminate

 


Download Help Document