CASTI-89 TITANIUM · CALC89
Define
Defines a user function or variable that can be used in later calculations, for example f(x).
Syntax
Define f(x)=expr
- Group
- Variables and memory
- Arguments
- Takes a function name with its argument list, an equals sign and the defining expression.
- Availability
- Included
- Menu path
- F4 Other ▸ Define
Example
| Input | Result |
|---|---|
| Define f(x)=x^2+1 | Done |
| f(3) | 10 |
Entered line by line, Define f(x)=x^2+1 returns Done, then f(3) returns 10.
Keystrokes on the TI-89 Titanium
F41
The same key sequence inserts Define in Calc89, and the AI tutor shows it step by step on the on-screen keypad.
Related commands
- DelVarDeletes variables from memory so they are undefined again.
- getLockInfo(Returns 1 if a variable is locked and 0 if it is not.
- LockLocks variables so they cannot be changed or deleted until they are unlocked.
- NewProbStarts a new problem by clearing single letter variables, so values stored earlier do not affect new calculations.
- unLockUnlocks variables that were locked with Lock, so they can be changed or deleted again.