Error, (in ...) expecting ... argument, got ... - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : expectingargumentgot

Error,  (in ...) expecting ... argument, got ...

 

Description

Examples

See Also

Description

Maple commands and functions use types, and a specific number or order of arguments. If you do not use the correct type or argument, an error is generated.

Examples

cosx,y;

Error, (in cos) expecting 1 argument, got 2

Solution 1

Use the type or whattype command to verify the type of argument.

whattypecos

symbol

(2.1)

Solution 2

Use the Describe command or review the related help page to see correct usage. In this case, review the calling sequence for cos

 in the trig help page.

Describecos


cos( x::algebraic )

See Also

 Describe, type, whattype


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam