appScience software

disclaimer

fc31024

Creating functions

Functions are a way of representing sets of mathematical operations. There are many standard functions available but you can also create your own and export them.

To define a function type its name with one or more parameters separated by commas followed by the expression to be evaluated. You can choose any name for your function but it has to be unique (that is, there is no other function with the same name). Function definitions should be confined to a single line (no line breaks within the function).

Here are two examples of functions:

mySine(x)=sin(x*pi/180)

multifunc(this,that,those)=pow(this,that)-those*mySine(that)+3/2

Functions can use constants but they cannot access parameters defined outside the function. In this sense, functions are self-contained. If you want to use a parameter in the function you need to pass it through the parameter list, as in this, that and those of the example above.

Once a function is defined it can be used. Your function is automatically appended to the end of the user-functions list. It remains there while the function appears in the math text input.

To keep the function, display the keyboard and press the Functions button, then User and the name of your function. You have the option of giving it a description and selecting the keep for next time switch. If you have multiple worksheets open, the function is copied to all worksheets. If a function already exists, formula calculator asks if you want to overwrite it.

To delete the function, just make sure it doesn't appear in the math input text. If the function has been saved for next time, display the keyboard and press the Functions button, then User and the name of your function. Press the delete button. If the function definition is still in the math text, then running the calculator will place the function name in the functions list again.

fciosexport

Formula calculator allows you to export your functions. Select the export icon, choose the items to export and then press the export button.