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

Online Help

All Products    Maple    MapleSim

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

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


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.



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

Solution 1

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




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.


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