20060301
(6) After the function is the way you want, tap
[
, or tap [Edit] and then [Save File] to save
it.
Tip
• A user-defined function can contain only a single mathematical expression.
An error “Invalid in a Function or Current Expression” occurs if a user-defined function contains
multiple expressions, or is followed by a carriage return.
• A user-defined function cannot contain any command.
I
Creating a U
s
er-defined Function U
s
ing the Define Command
The procedure below describes how to create a user-defined function by executing the
Define
command from the Main application.
Syntax:
Define
:h
[<folder name>\ ]<function name>([<variable name>[,<variable name>...]])
=<expression>
• Items inside of brackets ([ ]) can be skipped.
•
:
indicates a space.
S
Cla
ss
Pad Operation
(1) On the application menu, tap
.
(2)
Press
.
, and then tap the
(catalog) tab.
(3) On the catalog (cat) keyboard that appears, tap the [Form] down arrow button, and
then select [Cmd].
(4) Scroll the list of commands until the
Define
command is visible, and then tap
Define
to
select it.
(5) Tap [INPUT] to input the
Define
command.
(6) Input the function you want to define.
Example 1:
Define folder1 \ f1(
x
) = 2
x
+ 1 (where folder1 is an existing folder)
Example 2:
Define f2(
x
,
y
) = 2
x
+ 3
y
+ 1
Example 3:
Define sen(
x
) = sin (
x
)
(7)
Tap
U
to store the function.
12-5-2
User-defined Functions
• Input user-defined function arguments as parameter
variables. For more information about parameter
variables, see page “Configuring Parameter Variables
and Inputting Their Values” on page 12-2-7.
Parameter variable
Summary of Contents for ClassPad 330
Page 11: ...20060301 20090601 ClassPad 330 ClassPad OS Version 3 04 ...
Page 277: ...20060301 3 3 10 Storing Functions 3 Tap AND Plot OR Plot ...
Page 779: ...20090601 S Graph Line Clustered C S Graph Line Stacked E 13 9 2 Graphing ...
Page 780: ...20090601 S Graph Line 100 Stacked F S Graph Column Clustered G 13 9 3 Graphing ...
Page 781: ...20090601 S Graph Column Stacked I S Graph Column 100 Stacked J 13 9 4 Graphing ...
Page 782: ...20090601 S Graph Bar Clustered K S Graph Bar Stacked 9 13 9 5 Graphing ...