Texas Instruments TI-89 Titanium User Manual page 214

Hide thumbs Also See for TI-89 Titanium:
Table of Contents

Advertisement

Creating and Evaluating User-Defined Functions
User-defined functions can be a great time-saver when you need to repeat the same
expression (but with different values) multiple times. User-defined functions can also
extend your TI-89 Titanium's capabilities beyond the built-in functions.
Format of a Function
The following examples show user-defined functions with one argument and two
arguments. You can use as many arguments as necessary. In these examples, the
definition consists of a single expression (or statement).
3
cube(x) = x
Ê Ë
Ì
Ê
Function name
Ë
Argument list
Ì
Definition
When defining functions and programs, use unique names for arguments that will not be
used in the arguments for a subsequent function or program call.
Function names follow the same rules as variable names. Refer to "Storing and
Note:
Recalling Variable Values" in Operating the Calculator.
In the argument list, be sure to use the same arguments that are used in the definition.
For example,
cube(n) = x
Calculator Home Screen
1/x
xroot(x,y) = y
Ê Ë
Ì
3
gives unexpected results when you evaluate the function.
211

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents