Also, you will be prompted for confirmation if a function of the same name already exists in the library. Note that you cannot add a function that depends on other functions defined at the document level to the Function Library you must move those functions into the Function Library first. To move functions from your current graph document into the Function Library, select a function in the top listbox and use the Add button. Graphmatica supports two levels of custom functions: those defined in the current graph document only, and the Function Library, which is available to any graph document created on your machine. Any graphs that depend on the redefined function will be redrawn once you close the dialog box. The program will ask you for confirmation if you attempt to redefine a function that already exists. If you want to replace the definition of a function, simply type in the new definition and press Define as usual. If the function is still referenced by one or more equations, the program will offer to delete the equations as well or allow you to cancel the operation. Note that when a function is referenced by other functions, you must delete each of those (or modify them to no longer reference the function you are trying to delete) first. To remove a function that is no longer needed, select a function in the top listbox and use the Delete button. You may also use any built-in function, or a custom function or constant you have previously defined in your graph document or function library.įor example, some useful functions and constants you could define include: Logarithm base 2 Your function definition may be any expression that uses only the variable you specify and any constants or free variables (a, b, c, j, k) you need. Regardless of which variable you pick, you may use the function in any equation the value you pass to the function when you use it does not need to use the same variable. The variable name in your function definition must be either x or t. However, Greek letters are case sensitive, to accommodate the customary practice ofĪssigning unrelated meanings to upper- and lowercase Greek letters in different contexts. Letters may be used interchangeably in the function name when it is defined and when you reference it in Note that Latin letters used in function and constant names are not case sensitive-upper and lowercase ( select Special Characters in the Edit menu press the αβγ… button) to help you enter characters (See the Operator Table for aĬomplete list of these.) Use the Special Characters tool window You may not use a name which is alreadyĪssigned to a built-in function or variable. Valid function names start with a letter (Latin or Greek) and areįollowed by letters, numbers, subscripts, or underscore ("_"). Or a multi-letter word up to 20 characters. The function or constant name may be f, g, a single Greek letter (except lowercase π or θ or uppercase Σ or Γ), Use the Functions item in the Tools menu to bring up the Functions dialog box, which lists all of the custom functions you have defined and allows you to define or delete functions.Įnter your custom function or constant in one of the following formats: constant=expression You may want to do so to add functions derived from those built-in to the program to its library, or to make entering equations with several instances of a common subexpression faster and more accurate. Graphmatica allows you to define your own custom functions and named constants, which you can then reference in any equation. Graphmatica Help - Defining Your Own FunctionsĭEFINING YOUR OWN FUNCTIONS AND CONSTANTS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |