Each custom function that you write must conform to certain function definitions.
The mcadincl.h file, located in the Custom Functions folder of your PTC Mathcad installation directory, contains the following functions that allow you to define custom functions that PTC Mathcad can read: