Texas Instruments TI-89 User Manual - Page 223
Creating and Evaluating User-Defined Functions, Recalling Variable Values
UPC - 033317196326
View all Texas Instruments TI-89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 223 highlights
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). cube(x) = x3 ÊË Ì Ê Function name Ë Argument list Ì Definition xroot(x,y) = y1/x ÊË Ì 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. Note: Function names follow the same rules as variable names. Refer to "Storing and 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) = x3 gives unexpected results when you evaluate the function. Calculator Home Screen 223