Calculator Home Screen
221
Format of a Function
Format of a Function
Format of a Function
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).
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) = x
3
gives unexpected results when you evaluate the function.
Arguments (x and y in these examples) are placeholders that represent whatever values
you pass to the function. They do not represent the variables x and y unless you
specifically pass x and y as the arguments when you evaluate the function.
cube(x) = x
3
Ê Ë
Ì
Ê
Function name
Ë
Argument list
Ì
Definition
xroot(x,y) = y
1/x
Ê Ë
Ì
Summary of Contents for Voyage 200
Page 36: ...Getting Started 36 D B D B Press Result ...
Page 45: ...Getting Started 45 3 0 D B D D B D Press Result ...
Page 46: ...Getting Started 46 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 60: ...Getting Started 60 B D Press Result ...
Page 139: ...Previews 139 8 Complete the operation Press 2 d Steps and keystrokes Display 5 f 2 ...
Page 453: ...Differential Equation Graphing 453 ...
Page 468: ...Tables 468 ...
Page 777: ...Activities 777 ...