0% found this document useful (0 votes)
15 views55 pages

영어 프로그램

카시오 계산기 영어된 프로그램 설명서

Uploaded by

kgr031117
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views55 pages

영어 프로그램

카시오 계산기 영어된 프로그램 설명서

Uploaded by

kgr031117
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 55

Chapter 8 Programming

Important!
Input in the PRGM mode is always performed using the Linear input/output mode.

1. Basic Programming Steps


Commands and calculations are executed sequentially, just like manual calculation multi-
statements.
1. From the Main Menu, enter the PRGM mode. When you do, a program list appears on the
display.

No PRGM mode files in memory At least one PRGM mode file in


memory
Files are listed in the alphabetic sequence of their names.
2. Register a file name.
3. Input the program.
8
4. Run the program.
• The values to the right of the program list indicate the number of bytes used by each program.
• A file name can be up to eight characters long.
• The following are the characters you can use in a file name: A through Z, r, θ, spaces, [, ],
{, }, ’, ”, ~, 0 through 9, ., +, –, ×, ÷
• Registering a file name uses 32 bytes of memory.

Example To calculate the surface area (cm2) and volume (cm3) of three regular
octahedrons when the length of one side is 7, 10, and 15 cm, respectively
Store the calculation formula under the file name OCTA.

The following are the formulas used for calculating surface area S and
volume V of a regular octahedron for which the length of one side A is known.
'2
3 A2, V = –––– A3
S = 2'
A 3

1 m PRGM
2 3(NEW)j(O)I(C)/(T)v(A)w
3 !J(PRGM)4(?)aav(A)6(g)5(:)
c*!x(')d*av(A)x6(g)6(g)5(^)
!x(')c/d*av(A)Md
JJ

8-1
4 1(EXE) or w
hw(Value of A) S when A = 7
w V when A = 7

ww
baw S when A = 10
w V when A = 10

ww
bfw S when A = 15
w*1 V when A = 15

*1 Pressing w while the program’s final result is on the display exits the program.

• You can also run a program while in the RUN • MAT (or RUN) mode by inputting: Prog "<file
name>" w.
• Pressing w while the final result of a program executed using this method is on the display
re-executes the program.
• An error occurs if the program specified by Prog "<file name>" cannot be found.

2. PRGM Mode Function Keys


u File List Function Menu
Only the {NEW} and {LOAD} function menus are displayed when there are no program files in
memory.
• {EXE}/{EDIT} ... program {execute}/{edit}
• {NEW} ... {new program}
• {DEL}/{DEL • A} ... {specific program}/{all program} delete
• {SRC}/{REN} ... file name {search}/{change}
• {SV • AS} ... saves program as a text file
• {LOAD} ... converts a text file to a program and saves it

u When you are registering a file name


• {RUN}/{BASE} ... {general calculation}/{number base} program input
• {Q} ... {password registration}
• {SYBL} ... {symbol menu}

u When you are inputting a program —— 1(RUN) … default


• {TOP}/{BTM} ... {top}/{bottom} of program
• {SRC} ... {search}
• {MENU} ... {mode menu}
• {STAT}/{MAT}*/{LIST}/{GRPH}/{DYNA}*/{TABL}/{RECR}*
... {statistic}/{matrix}/{list}/{graph}/{Dynamic Graph}/{Table}/{recursion} menu
8-2
• {A↔a} ... {toggles between upper-case and lower-case input}
• {CHAR} ... {displays a screen for selecting various mathematical symbols, special symbols,
and accented characters}
* Not included on the fx-7400GIII

• Pressing !J(PRGM) displays the following program (PRGM) menu.


• {COM} ... {program command menu}
• {CTL} ... {program control command menu}
• {JUMP} ... {jump command menu}
• {?}/{^} ... {input}/{output} command
• {CLR}/{DISP} ... {clear}/{display} command menu
• {REL} ... {conditional jump relational operator menu}
• {I/O} ... {I/O control/transfer command menu}
• {:} ... {multi-statement command}
• {STR} ... {string command}
See “Command Reference” on page 8-9 for full details on each of these commands.

• Pressing !m(SET UP) displays the mode command menu shown below.
• {ANGL}/{COOR}/{GRID}/{AXES}/{LABL}/{DISP}/{S/L}/{DRAW}/{DERV}/{BACK}/{FUNC}/
{SIML}/{S-WIN}/{LIST}/{LOCS}*/{T-VAR}/{ΣDSP}*/{RESID}/{CPLX}/{FRAC}/{Y • SPD}*/
{DATE}*/{PMT}*/{PRD}*/{INEQ}/{SIMP}/{Q1Q3} * Not included on the fx-7400GIII
See “Setup Screen Function Key Menus” on page 1-31 for details about each of these
commands.

u When you are inputting a program —— 2(BASE)*1


• {TOP}/{BTM}/{SRC}
• {MENU}
• {d~o} ... {decimal}/{hexadecimal}/{binary}/{octal} value input
• {LOG} ... {bitwise operator}
• {DISP} ... conversion of displayed value to {decimal}/{hexadecimal}/{binary}/{octal}
• {A↔a}/{SYBL}

• Pressing !J(PRGM) displays the following PRGM (PROGRAM) menu.


• {Prog} ... {program recall}
• {JUMP}/{?}/{^}
• {REL} ... {conditional jump relational operator menu}
• {:} ... {multi-statement command}

• Pressing !m(SET UP) displays the mode command menu shown below.
• {Dec}/{Hex}/{Bin}/{Oct}
*1 Programs input after pressing 2(BASE) are indicated by B to the right of the file name.

8-3
3. Editing Program Contents

k Debugging a Program
A problem in a program that keeps the program from running correctly is called a “bug”,
and the process of eliminating such problems is called “debugging”. Either of the following
symptoms indicates that your program contains bugs that require debugging.
• Error messages appearing when the program is run
• Results that are not within your expectations

u To eliminate bugs that cause error messages


An error message, like the one shown to the right, appears
whenever something illegal occurs during program execution.

When such a message appears, press J to display the place in the program where the
error was caused. The cursor will be flashing at the location of the problem. Check the “Error
Message Table” (page α-1) for steps you should take to correct the situation.
• Note that pressing J does not display the location of the error if the program is password
protected.

u To eliminate bugs that cause bad results


If your program produces results that are not what you normally expect, check the contents of
the program and make necessary changes.
1(TOP) ... Moves the cursor to the top of the
program

2(BTM)... Moves the cursor to the bottom of


the program

k Searching for Data Inside a Program

Example To search for the letter “A” inside the program named OCTA
1. Recall the program.
2. Press 3(SRC) and input the data you want to find.

3(SRC)
av(A)

8-4
3. Press w to begin the search. The contents of the
program appear on the screen with the cursor located at
the first instance of the data you specified.*1

4. Each press of w or 1(SRC) causes the cursor to jump


to the next instance of the data you specified.*2

*1 The message “Not Found” appears when the search data you specify cannot be found in the
program.
*2 If there are no more instances of the data you specified, the search operation ends.

• You cannot specify the newline symbol (_) or display command (^) for the search data.
• Once the contents of the program are on the screen, you can use the cursor keys to move
the cursor to another location before searching for the next instance of the data. Only the
part of the program starting from the current cursor location is searched when you press w.
• Once the search finds an instance of your data, inputting characters or moving the cursor
causes the search operation to be cancelled.
• If you make a mistake while inputting characters to search for, press A to clear your input
and re-input from the beginning.

4. File Management
k Deleting a Program

u To delete a specific program


1. While the program list is on the display, use f and c to move the highlighting to the
name of the program you want to delete.
2. Press 4(DEL).
3. Press 1(YES) to delete the selected program or 6(NO) to abort the operation without
deleting anything.

u To delete all programs


1. While the program list is on the display, press 5(DEL • A).
2. Press 1(YES) to delete all the programs in the list or 6(NO) to abort the operation
without deleting anything.
• You also can delete all programs by entering the MEMORY mode from the Main Menu. See
“Chapter 11 Memory Manager” for details.

8-5
k Searching for a File

u To find a file using initial character search

Example To use initial character search to recall the program named OCTA
1. While the program list is on the display, press 6(g)1(SRC) and input the initial
characters of the file you want to find.
6(g)1(SRC)
j(O)I(C)/(T)
2. Press w to search.
• The name that starts with the characters you input
highlights.

• If there is no program whose file name starts with the characters you input, the message
“Not Found” appears on the display. If this happens, press J to clear the error message.

k Editing a File Name


1. While the program list is on the display, use f and c to move the highlighting to the file
whose name you want to edit and then press 6(g)2(REN).
2. Make any changes you want.
3. Press w to register the new name and return to the program list.
The program list is resorted according to the changes you made in the file name.
• If the modifications you make result in a file name that is identical to the name of a program
already stored in memory, the message “Already Exists” appears. When this happens, you
can perform either of the following two operations to correct the situation.
- Press J to clear the error and return to the file name editing screen.
- Press A to clear the input file name and input a new one.

k Converting Programs and Text Files


You can convert programs created on this calculator to a text file, and then use a text editor
or other application on your computer to edit them. You also can convert text files created and
edited on your computer to a program that can be run by the calculator.

u Program and Text File Conversion Rules


Conversion of program and text files is subject to the following rules.
• Certain characters in the program name are automatically replaced and the result is
assigned as the file name whenever you convert a program to a text file. When you convert
from a text file to a program, the program name is assigned by converting in the opposite
direction.

8-6
Program Name Characters Text File Name Characters
r _r_
 _t_
Leading/trailing spaces _s_
" _q_
Leading/trailing dots _p_
× _x_
÷ _d_
+ _+_
− _-_

• The following header information is added to the text file when converting from a program to
a text file.
'Program Mode: RUN (RUN Mode program)
'Program Mode: BASE (BASE Mode program)
• Converting a text file that contains the above header information to a program converts to a
program of the mode specified in the header information. The header information line text is
not included in the converted program.
• Converting a program to a text file causes all CASIO scientific function calculator-specific
commands in the program to be replaced by special corresponding character strings.
Conversely, converting from a text file to a program converts the special character strings
back to their corresponding commands. For information about program commands and their
corresponding special character strings, see “CASIO Scientific Function Calculator Special
Commands ⇔ Text Conversion Table” (page 8-46).

u To convert a program to a text file


1. In the program list, use f and c to move the highlighting to the name of the program
you want to convert to a text file.
2. Press 6(g)3(SV • AS).
• This starts conversion to a text file. The message “Complete!” appears after conversion is
complete. To close the message dialog box, press J.
• The resulting text file is stored in the storage memory’s PROGRAM folder, under a name
that is basically the same as the original file, except for certain special characters. For
details about special character exceptions, see “Program and Text File Conversion Rules”
(page 8-6).

Important!
A program that is password protected cannot be converted to a text file.

u Auto Conversion from Text Files to Programs


Whenever you terminate the USB connection between the calculator and computer, all of the
text files that were transferred from the computer to Storage Memory\@MainMem\PROGRAM\
while they were connected will be automatically converted to programs and stored in the
calculator’s main memory.
For details, see “Transferring Data between the Calculator and a Personal Computer” (page
13-4).

8-7
u To convert a text file to a program

Important!
Using the procedure below to convert a text file to a program will create and save a program
under a name that is basically the same as the original file, except for certain special
characters. For details about special character exceptions, see “Program and Text File
Conversion Rules” (page 8-6).
If there is already a program in memory with the same name as the program created by
the conversion process, the existing program will be overwritten automatically with the new
program. If you do not want such an existing program to be overwritten, use the program list to
change its name before performing this procedure.
1. Copy the text file you want to convert to a program to the calculator’s storage memory root
directory.
• For information about the procedure for copying files from a computer or another
calculator to this calculator’s storage memory, see “Chapter 13 Data Communication”.
2. From the Main Menu, enter the PRGM mode.
3. On the program list, press 6(g)4(LOAD).
• This displays a list of folders and text files currently in the storage memory root directory.
4. Use f and c to move the highlighting to the text file you want to convert and then press
1(OPEN).

k Registering a password
When inputting a program, you can protect it with a password that limits access to the program
contents to those who know the password.
• You do not need to input the password to run a program.
• The password input procedure is identical to that used for file name input.

1. While the program list is on the display, press 3(NEW) and input the file name of the new
program file.
2. Press 5(Q) and then input the password.
3. Press w to register the file name and password. Now you can input the contents of the
program file.
4. After inputting the program, press !J(QUIT) to
exit the program file and return to the program list.
Files that are password protected are indicated by an
asterisk to the right of the file name.

k Recalling a Password Protected Program


1. In the program list, use f and c to move the highlighting to the name of the program you
want to recall.
2. Press 2(EDIT).
3. Input the password and press w to recall the program.
• Inputting the wrong password when recalling a password protected program causes the
message “Mismatch” to appear.

8-8
5. Command Reference
k Command Index PlotPhase.............................................8-18
Break....................................................8-12 RclCapt ................................................8-23
CloseComport38k ................................8-19 Receive( ...............................................8-19
ClrGraph ............................................. 8-15 Receive38k ..........................................8-20
ClrList ..................................................8-16 Return ..................................................8-13
ClrMat ..................................................8-16 Send( ...................................................8-19
ClrText ................................................8-16 Send38k ...............................................8-20
ClrVct ..................................................8-16 Stop .................................................... 8-13
DispF-Tbl, DispR-Tbl ...........................8-16 StrCmp(................................................8-21
Do~LpWhile .........................................8-12 StrInv( ..................................................8-21
DrawDyna ........................................... 8-16 StrJoin(.................................................8-21
DrawFTG-Con, DrawFTG-Plt ..............8-17 StrLeft( .................................................8-21
DrawGraph ..........................................8-17 StrLen( .................................................8-21
DrawR-Con, DrawR-Plt .......................8-17 StrLwr( .................................................8-21
DrawRΣ-Con, DrawRΣ-Plt ..................8-17 StrMid( .................................................8-22
DrawStat ..............................................8-17 StrRight( ...............................................8-22
DrawWeb ............................................ 8-17 StrRotate(.............................................8-22
Dsz ......................................................8-14 StrShift( ................................................8-22
Exp(......................................................8-21 StrSrc( ..................................................8-22
Exp'Str( .............................................8-21 StrUpr( .................................................8-22
For~To~(Step~)Next ............................8-11 While~WhileEnd ..................................8-12
Getkey .................................................8-18 ? (Input Command) ..............................8-10
Goto~Lbl ............................................. 8-14 ^ (Output Command) .........................8-10
If~Then~(Else~)IfEnd ..........................8-11 : (Multi-statement Command) ..............8-10
Isz ........................................................8-14 _ (Carriage Return) ...........................8-10
Locate ..................................................8-19 ’ (Comment Text Delimiter) .................8-10
Menu ....................................................8-15 S (Jump Code) ...................................8-15
OpenComport38k.................................8-19 =, ≠, >, <, ≥, ≤ (Relational Operators) ..8-20
Prog .....................................................8-13 + ...........................................................8-22

The following are conventions that are used in this section when describing the various
commands.
Boldface Text ............. Actual commands and other items that always must be input are
shown in boldface.
{Curly Brackets} ........... Curly brackets are used to enclose a number of items, one of which
must be selected when using a command. Do not input the curly
brackets when inputting a command.
[Square Brackets] ........ Square brackets are used to enclose items that are optional. Do not
input the square brackets when inputting a command.
Numeric Expressions ... Numeric expressions (such as 10, 10 + 20, A) indicate constants,
calculations, numeric constants, etc.
Alpha Characters ......... Alpha characters indicate literal strings (such as AB).
8-9
k Basic Operation Commands
? (Input Command)

Function: Prompts for input of values for assignment to variables during program execution.
Syntax: ? → <variable name>, "<prompt>" ? → <variable name>
Example: ? → A_
Description:
• This command momentarily interrupts program execution and prompts for input of a value
or expression for assignment to a variable. If you do not specify a prompt, execution of this
command causes “?” to appear indicating the calculator is standing by for input. If a prompt
is specified, “<prompt>?” appears to prompt input. Up to 255 bytes of text can be used for a
prompt.
• Input in response to the input command must be a value or an expression, and the
expression cannot be a multi-statement.
• You can specify a list name, matrix name, vector name, string memory, function memory (fn),
graph (Yn), etc. as a variable name.

^ (Output Command)

Function: Displays an intermediate result during program execution.


Description:
• This command momentarily interrupts program execution and displays alpha character text
or the result of the calculation immediately before the command.
• The output command should be used at locations where you would normally press the w
key during a manual calculation.

: (Multi-statement Command)

Function: Connects two statements for sequential execution without stopping.


Description:
• Unlike the output command (^), statements connected with the multi-statement command
are executed non-stop.
• The multi-statement command can be used to link two calculation expressions or two commands.
• You can also use a carriage return indicated by _ in place of the multi-statement command.

_ (Carriage Return)

Function: Connects two statements for sequential execution without stopping.


Description:
• Operation of the carriage return is identical to that of the multi-statement command.
• You can create a blank line in a program by inputting a carriage return only. Using a carriage
return in place of the multi-statement command makes the displayed program easier to read.

’ (Comment Text Delimiter)

Function: Indicates comment text inserted inside a program.


Description: Inputting an apostrophe (’) at the beginning of a line, causes everything from
the beginning of the line up to the next Multi-statement Command (:), Carriage Return (_), or
Output Command (^) is treated as comment text, which is ignored during execution.
8-10
k Program Commands (COM)
If~Then~(Else~)IfEnd

Function: The Then-statement is executed only when the If-condition is true (non-zero). The
Else-statement is executed when the If-condition is false (0). The IfEnd-statement is always
executed following either the Then-statement or Else-statement.
Syntax: _ _
If <condition> : Then <statement> : <statement>
numeric expression ^ ^

_ _ _
: Else <statement> : <statement> : IfEnd
^ ^ ^

Parameters: condition, numeric expression


Description:
(1) If ~ Then ~ IfEnd
• When the condition is true, execution proceeds with the Then-statement and then
continues with the statement following IfEnd.
• When the condition is false, execution jumps to the statement following IfEnd.
(2) If ~ Then ~ Else ~ IfEnd
• When the condition is true, execution proceeds with the Then-statement and then jumps
to the statement following IfEnd.
• When the condition is false, execution jumps to the Else-statement and then continues
with the statement following IfEnd.

For~To~(Step~)Next

Function: This command repeats everything between the For-statement and the Next-
statement. The starting value is assigned to the control variable with the first execution, and
the value of the control variable is changed according to the step value with each execution.
Execution continues until the value of the control variable exceeds the ending value.
Syntax: For <starting value> → <control variable name> To <ending value>
_
Step <step value> : Next
^
Parameters:
• control variable name: A to Z
• starting value: value or expression that produces a value (i.e. sin x, A, etc.)
• ending value: value or expression that produces a value (i.e. sin x, A, etc.)
• step value: numeric value (default: 1)
Description:
• The default step value is 1.
• Making the starting value less than the ending value and specifying a positive step value
causes the control variable to be incremented with each execution. Making the starting
value greater than the ending value and specifying a negative step value causes the control
variable to be decremented with each execution.

8-11
Do~LpWhile

Function: This command repeats specific commands as long as its condition is true (non-
zero).
Syntax:
_ _
Do : <statement> : LpWhile <condition>
^ ^ numeric expression

Parameters: expression
Description:
• This command repeats the commands contained in the loop as long as its condition is true
(non-zero). When the condition becomes false (0), execution proceeds from the statement
following the LpWhile-statement.
• Since the condition comes after the LpWhile-statement, the condition is tested (checked)
after all of the commands inside the loop are executed.

While~WhileEnd

Function: This command repeats specific commands as long as its condition is true (non-
zero).
Syntax:
_ _
While <condition> : <statement> : WhileEnd
numeric expression ^ ^

Parameters: expression
Description:
• This command repeats the commands contained in the loop as long as its condition is true
(non-zero). When the condition becomes false (0), execution proceeds from the statement
following the WhileEnd-statement.
• Since the condition comes after the While-statement, the condition is tested (checked) before
the commands inside the loop are executed.

k Program Control Commands (CTL)


Break

Function: This command breaks execution of a loop and continues from the next command
following the loop.
Syntax: Break_
Description:
• This command breaks execution of a loop and continues from the next command following
the loop.
• This command can be used to break execution of a For-statement, Do-statement, and While-
statement.

8-12
Prog

Function: This command specifies execution of another program as a subroutine. In the


RUN • MAT (or RUN) mode, this command executes a new program.
Syntax: Prog "file name"_
Example: Prog "ABC"_
Description:
• Even when this command is located inside of a loop, its execution immediately breaks the
loop and launches the subroutine.
• This command can be used as many times as necessary inside of a main routine to call up
independent subroutines to perform specific tasks.
• A subroutine can be used in multiple locations in the same main routine, or it can be called
up by any number of main routines.
Main Routine Subroutines

A D

Prog "D"

Prog "C" C E I J
Prog "E" Prog "I" Prog "J"

Level 1 Level 2 Level 3 Level 4

• Calling up a subroutine causes it to be executed from the beginning. After execution of the
subroutine is complete, execution returns to the main routine, continuing from the statement
following the Prog command.
• A Goto~Lbl command inside of a subroutine is valid inside of that subroutine only. It cannot
be used to jump to a label outside of the subroutine.
• If a subroutine with the file name specified by the Prog command does not exist, an error
occurs.
• In the RUN • MAT (or RUN) mode, inputting the Prog command and pressing w launches
the program specified by the command.

Return

Function: This command returns from a subroutine.


Syntax: Return_
Description: Execution of the Return command inside a main routine causes execution of
the program to stop. Execution of the Return command within a subroutine terminates the
subroutine and returns to the program from which the subroutine was jumped to.

Stop

Function: This command terminates execution of a program.


Syntax: Stop_
Description:
• This command terminates program execution.
• Execution of this command inside of a loop terminates program execution without an error
being generated.

8-13
k Jump Commands (JUMP)
Dsz

Function: This command is a count jump that decrements the value of a control variable by 1,
and then jumps if the current value of the variable is zero.
Syntax:
Variable Value ≠ 0
_
Dsz <variable name> : <statement> : <statement>
^
Variable Value = 0

Parameters: variable name: A to Z, r, θ


[Example] Dsz B : Decrements the value assigned to variable B by 1.
Description: This command decrements the value of a control variable by 1, and then tests
(checks) it. If the current value is non-zero, execution continues with the next statement.
If the current value is zero, execution jumps to the statement following the multi-statement
command (:), display command (^), or carriage return (_).

Goto~Lbl

Function: This command performs an unconditional jump to a specified location.


Syntax: Goto <label name> ~ Lbl <label name>
Parameters: label name: value (0 to 9), variable (A to Z, r, θ)
Description:
• This command consists of two parts: Goto n (where n is a parameter as described above) and Lbl
n (where n is the parameter referenced by Goto n). This command causes program execution to
jump to the Lbl-statement whose n parameter matches that specified by the Goto-statement.
• This command can be used to loop back to the beginning of a program or to jump to any
location within the program.
• This command can be used in combination with conditional jumps and count jumps.
• If there is no Lbl-statement whose value matches that specified by the Goto-statement, an
error occurs.

Isz

Function: This command is a count jump that increments the value of a control variable by 1,
and then jumps if the current value of the variable is zero.
Syntax:
Variable Value ≠ 0
_
Isz <variable name> : <statement> : <statement>
^
Variable Value = 0

Parameters: variable name: A to Z, r, θ


[Example] Isz A : Increments the value assigned to variable A by 1.
Description: This command increments the value of a control variable by 1, and then tests
(checks) it. If the current value is non-zero, execution continues with the next statement.
If the current value is zero, execution jumps to the statement following the multi-statement
command (:), display command (^), or carriage return (_).
8-14
⇒ (Jump Code)

Function: This code is used to set up conditions for a conditional jump. The jump is executed
whenever the conditions are false.
Syntax:
True
_
<left side> <relational operator> <right side> ⇒ <statement> : <statement>
^
False
Parameters:
• left side/right side: variable (A to Z, r, θ), numeric constant, variable expression (such as: A × 2)
• relational operator: =, ≠, >, <, ≥, ≤ (page 8-20)
Description:
• The conditional jump compares the contents of two variables or the results of two
expressions, and a decision is made whether or not to execute the jump based on the results
of the comparison.
• If the comparison returns a true result, execution continues with the statement following
the ⇒ command. If the comparison returns a false result, execution jumps to the statements
following the multi-statement command (:), display command (^), or carriage return (_).

Menu

Function: Creates a branching menu in a program.


Syntax: Menu "<string (menu name)>", "<string (branch name) 1>", <value or variable 1>,
"<string (branch name) 2>" ,<value or variable 2>, ... , "<string (branch name) n>", <value or
variable n>
Parameters: value (0 to 9), variable (A to Z, r, θ)
Description:
• Each "<string (branch name) n>" ,<value or variable n> part is a branch set, and the entire
branch set must be included.
• From two to nine branching sets can be included. An error occurs when there is only one or
more than nine branching sets.
• Selecting a branch on the menu while the program is running jumps to the same type of label
(Lbl n) as the one used in combination with the Goto command. Specifying “"OK", 3” for the
“"<string (branch name) n>", <value or variable n>” part specifies a jump to Lbl 3.
Example: Lbl 2_
Menu "IS IT DONE?", "OK", 1, "EXIT", 2_
Lbl 1_
"IT’S DONE !"

k Clear Commands (CLR)


ClrGraph

Function: This command clears the graph screen.


Syntax: ClrGraph_
Description: This command clears the graph screen during program execution.

8-15
ClrList

Function: This command deletes list data.


Syntax: ClrList <list name>
ClrList
Parameters: list name: 1 to 26, Ans
Description: This command deletes the data in the list specified by “list name”. All list data is
deleted if nothing is specified for “list name”.

ClrMat (Not included on the fx-7400GIII)

Function: This command deletes matrix data.


Syntax: ClrMat <matrix name>
ClrMat
Parameters: matrix name: A to Z, Ans
Description: This command deletes the data in the matrix specified by “matrix name”. All
matrix data is deleted if nothing is specified for “matrix name”.

ClrText

Function: This command clears the text screen.


Syntax: ClrText_
Description: This command clears text from the screen during program execution.

ClrVct (Not included on the fx-7400GIII)

Function: This command deletes vector data.


Syntax: ClrVct <vector name>
ClrVct
Parameters: vector name: A to Z, Ans
Description: This command deletes the data in the vector specified by “vector name”. All
vector data is deleted if nothing is specified for “vector name”.

k Display Commands (DISP)


DispF-Tbl, DispR-Tbl* * (Not included on the fx-7400GIII) No parameters

Function: These commands display numeric tables.


Description:
• These commands generate numeric tables during program execution in accordance with
conditions defined within the program.
• DispF-Tbl generates a function table, while DispR-Tbl generates a recursion table.

DrawDyna (Not included on the fx-7400GIII) No parameters

Function: This command executes a Dynamic Graph draw operation.


Description: This command draws a Dynamic Graph during program execution in accordance
with the drawing conditions defined within the program.
8-16
DrawFTG-Con, DrawFTG-Plt No parameters

Function: This command uses values in a generated table to graph a function.


Description:
• This command draws a function graph in accordance with conditions defined within the
program.
• DrawFTG-Con produces a connect type graph, while DrawFTG-Plt produces a plot type
graph.

DrawGraph No parameters

Function: This command draws a graph.


Description: This command draws a graph in accordance with the drawing conditions defined
within the program.

DrawR-Con, DrawR-Plt (Not included on the fx-7400GIII) No parameters

Function: These commands graph recursion expressions, with an (bn or cn) as the vertical axis
and n as the horizontal axis.
Description:
• These commands graph recursion expressions in accordance with conditions defined within
the program, with an (bn or cn) as the vertical axis and n as the horizontal axis.
• DrawR-Con produces a connect type graph, while DrawR-Plt produces a plot type graph.

DrawRΣ-Con, DrawRΣ-Plt (Not included on the fx-7400GIII) No parameters

Function: These commands graph recursion expressions, with Σan (Σbn or Σcn) as the vertical
axis and n as the horizontal axis.
Description:
• These commands graph recursion expressions in accordance with conditions defined within
the program, with Σan (Σbn or Σcn) as the vertical axis and n as the horizontal axis.
• DrawRΣ-Con produces a connect type graph, while DrawRΣ-Plt produces a plot type graph.

DrawStat

Function: This draws a statistical graph.


Syntax: See “Using Statistical Calculations and Graphs in a Program” on page 8-28.
Description: This command draws a statistical graph in accordance with conditions defined
within the program.

DrawWeb (Not included on the fx-7400GIII)

Function: This command graphs convergence/divergence of a recursion expression (WEB


graph).
Syntax: DrawWeb <recursion type>[, <number of lines>]_
Example: DrawWeb an+1 (bn+1 or cn+1), 5_
Description:
• This command graphs convergence/divergence of a recursion expression (WEB graph).
• Omitting the number of lines specification automatically specifies the default value 30.
8-17
PlotPhase (Not included on the fx-7400GIII)

Function: Graphs a phase plot based on numeric sequences that correspond to the x-axis
and y-axis.
Syntax: PlotPhase <x-axis numeric sequence name>, <y-axis numeric sequence name>
Description:
• Only the following commands can be input for each argument to specify the recursion table.
an, bn, cn, an+1, bn+1, cn+1, an+2, bn+2, cn+2, Σan, Σbn, Σcn, Σan+1, Σbn+1, Σcn+1, Σan+2, Σbn+2, Σcn+2
• A memory ERROR occurs if you specify a numeric sequence name that does not have
values stored in the recursion table.
Example: PlotPhase Σbn+1, Σan+1
Graphs a phase plot using Σbn+1 for the x-axis and Σan+1 for the y-axis.

k Input/Output Commands (I/O)


Getkey

Function: This command returns the code that corresponds to the last key pressed.
Syntax: Getkey_
Description:
• This command returns the code that corresponds to the last key pressed.

     

    
 
    

     

     

   

    

    

    

• A value of zero is returned if no key was pressed previous to executing this command.
• This command can be used inside of a loop.

8-18
Locate

Function: This command displays alpha-numeric characters at a specific location on the text
screen.
Syntax: Locate <column number>, <line number>, <value>
Locate <column number>, <line number>, <numeric expression>
Locate <column number>, <line number>, "<string>"
[Example] Locate 1, 1, "AB"_
Parameters:
• line number: number from 1 to 7
• column number: number from 1 to 21
• value and numeric expression
• string: character string
Description:
• This command displays values (including variable contents) or text at a specific location on
the text screen. If there is a calculation input, that calculation result is displayed.
• The line is designated by a value from 1 to 7, while the column is designated by a value from
1 to 21.
(1, 1) → ← (21, 1)

(1, 7) → ← (21, 7)

Example: Cls_
Locate 7, 1, "CASIO FX"
This program displays the text “CASIO FX” in the center of the screen.
• In some cases, the ClrText command should be executed before running the above program.

Receive( / Send(

Function: This command receives data from and sends data to a connected device.
Syntax: Receive(<data>) / Send(<data>)
Description:
• This command receives data from and sends data to a connected device.
• The following types of data can be received (sent) by this command.
• Individual values assigned to variables
• Matrix data (all values - individual values cannot be specified)
• List data (all values - individual values cannot be specified)

OpenComport38k / CloseComport38k

Function: Opens and closes the 3-pin COM port (serial).


Description: See the Receive38k/Send38k command below.

8-19
Receive38k / Send38k

Function: Executes data send and receive at a data rate of 38 kbps.


Syntax: Send38k <expression>
<variable name>
Receive38k
<list name>
Description:
• The OpenComport38k command must be executed before this command is executed.
• The CloseComport38k command must be executed after this command is executed.
• If this command is executed when the communication cable is not connected, program
execution will continue without generating an error.

k Conditional Jump Relational Operators (REL)

=, ≠, >, <, ≥, ≤
Function: These relational operators are used in combination with the conditional jump
command.
Syntax: <left side> <relational operator> <right side>
Parameters:
• left side/right side: variable (A to Z, r, θ), numeric constant, variable expression (such as:
A × 2)
• relational operator: =, ≠, >, <, ≥, ≤

k Strings
A string is a series of characters enclosed in double quotes. In a program, strings are used
to specify display text. A string made up of numbers (like "123") or an expression (like "x–1")
cannot be processed as a calculation.
To display a string at a specific location on the screen, use the Locate command (page 8-19).
• To include double quotes (") or a backslash (\) in a string, put a backslash (\) in front of the
double quotes (") or backslash (\).
Example 1: To include Japan: “Tokyo” in a string
"Japan:\"Tokyo\""
Example 2: To include main\abc in a string
"main\\abc"
You can input a backslash from the menu that appears when you press 6(CHAR)2(SYBL)
in the PRGM mode, or from the String category of the catalog that appears when you press
!e(CATALOG).

• You can assign strings to string memory (Str 1 through Str 20). For details about strings, see
“String Memory” (page 2-8).
• You can use the “+” command (page 8-22) to connect strings inside of an argument.
• A function or command within a string function (Exp(, StrCmp(, etc.) is treated as a single
character. For example, the “sin” function is treated as a single character.

8-20
Exp(

Function: Converts a string to an expression, and executes the expression.


Syntax: Exp("<string>"[)]

Exp'Str(

Function: Converts a graph expression to a string and assigns it to the specified variable.
Syntax: Exp'Str(<formula>, <string variable name>[)]
Description: A graph expression (Yn, r, Xt, Yt, X), recursion formula (an, an+1, an+2, bn, bn+1, bn+2,
cn, cn+1, cn+2), or function memory (fn) can be used as the first argument (<formula>).

StrCmp(

Function: Compares “<string 1>” and “<string 2>” (character code comparison).
Syntax: StrCmp("<string 1>", "<string 2>"[)]
Description: Compares two strings and returns one of the following values.
Returns 0 when “<string 1>” = “<string 2>”.
Returns 1 when “<string 1>” > “<string 2>”.
Returns –1 when “<string 1>” < “<string 2>”.

Strlnv(

Function: Inverts the sequence of a string.


Syntax: StrInv("<string>"[)]

StrJoin(

Function: Joins “<string 1>” and “<string 2>”.


Syntax: StrJoin("<string 1>", "<string 2>"[)]
Note: The same result also can be achieved using the “+” command (page 8-22).

StrLeft(

Function: Copies a string up to the nth character from the left.


Syntax: StrLeft("<string>", n[)] (0 < n < 9999, n is a natural number)

StrLen(

Function: Returns the length of a string (the number of its characters).


Syntax: StrLen("<string>"[)]

StrLwr(

Function: Converts all the characters of a string to lower case.


Syntax: StrLwr("<string>"[)]

8-21
StrMid(

Function: Extracts from the n-th to the m-th character of a string.


Syntax: StrMid("<string>", n [,m)] (0 < n < 9999, n is a natural number)
Description: Omitting “m” will extract from the n-th character to the end of the string.

StrRight(

Function: Copies a string up to the nth character from the right.


Syntax: StrRight("<string>", n[)] (0 < n < 9999, n is a natural number)

StrRotate(

Function: Rotates the left side part and right side part of a string at the nth character.
Syntax: StrRotate("<string>", [,n)] (–9999 < n < 9999, n is an integer)
Description: Rotation is to the left when “n” is positive, and to the right when “n” is negative.
Omitting “n” uses a default value of +1.
Example: StrRotate("abcde", 2) ........ Returns the string “cdeab”.

StrShift(

Function: Shifts a string left or right n characters.


Syntax: StrShift("<string>", [,n)] (–9999 < n < 9999, n is an integer)
Description: Shift is to the left when “n” is positive, and to the right when “n” is negative.
Omitting “n” uses a default value of +1.
Example: StrShift("abcde", 2) ........ Returns the string “cde”.

StrSrc(

Function: Searches “<string 1>” starting from the specified point (nth character from
beginning of string) to determine if it contains the data specified by “<string 2>”. If the data is
found, this command returns the location of the first character of “<string 2>”, starting from the
beginning of “<string 1>”.
Syntax: StrSrc("<string 1>", "<string 2>"[,n)] (0 < n < 9999, n is a natural number)
Description: Omitting the start point causes the search to start from the beginning of
“<string 1>”.

StrUpr(

Function: Converts all the characters of a string to upper case.


Syntax: StrUpr("<string>"[)]

Function: Joins “<string 1>” and “<string 2>”.


Syntax: "<string 1>"+"<string 2>"
Example: "abc"+"de"→Str 1 .......... Assigns “abcde” to Str 1.

8-22
k Other
RclCapt

Function: Displayed the contents specified by the capture memory number.


Syntax: RclCapt <capture memory number> (capture memory number: 1 to 20)

6. Using Calculator Functions in Programs

k Text Display
You can include text in a program by simply enclosing it between double quotation marks.
Such text appears on the display during program execution, which means you can add labels
to input prompts and results.
Program Display
"CASIO" CASIO
?→X ?
"X =" ? → X X=?

• If the text is followed by a calculation formula, be sure to insert a display command (^)
between the text and calculation.
• Inputting more than 21 characters causes the text to move down to the next line. The screen
scrolls automatically if the text exceeds 21 characters.
• You can specify up to 255 bytes of text for a comment.

k Specifying the Display Format of a Calculation Result in a Program


You can specify the display format of calculation results produced within a program as
described below.
• Number of decimal places: Fix <number of digits> ... Number of digits: 0 to 9
• Number of significant digits: Sci <number of digits> ... Number of digits: 0 to 9
• Normal display mode: Norm <number*> ... Number: 1 or 2
• Engineering symbol display on EngOn
• Engineering symbol display off EngOff
• Enable engineering symbol on/off toggling Eng
* Input of a number can be omitted. Input without a number while the Fix, Sci, and Norm 2
settings are configured will switch to Norm 1. If Norm 1 is set, input will switch to Norm 2.

k Using Matrix Row Operations in a Program (Not available on the fx-7400GIII)


These commands let you manipulate the rows of a matrix in a program.
• For this program, enter the RUN • MAT mode and then use the Matrix Editor to input the
matrix, and then enter the PRGM mode to input the program.

8-23
u To swap the contents of two rows (Swap)

Example 1 To swap the values of Row 2 and Row 3 in the following matrix:
1 2
Matrix A = 3 4
5 6

The following is the syntax to use for this program.

Swap A, 2, 3_
Rows to be swapped
Matrix name
Mat A
Executing this program produces the following result.

u To calculate a scalar multiplication (`Row)

Example 2 To calculate the product of Row 2 of the matrix in Example 1 and the
scalar 4
The following is the syntax to use for this program.
`Row 4, A, 2_
Row
Matrix name
Multiplier
Mat A

u To calculate a scalar multiplication and add the results to another row


(`Row+)

Example 3 To calculate the product of Row 2 of the matrix in Example 1 and the
scalar 4, then add the result to row 3
The following is the syntax to use for this program.
`Row+ 4, A, 2, 3_
Rows to be added
Row for which scalar multiplication is to be calculated
Matrix name
Multiplier
Mat A

8-24
u To add two rows (Row+)

Example 4 To add Row 2 to Row 3 of the matrix in Example 1


The following is the syntax to use for this program.
Row+ A, 2, 3_
Row number to be added to
Row number to be added
Matrix name
Mat A

k Using Graph Functions in a Program


You can incorporate graph functions into a program to draw complex graphs and to overlay
graphs on top of each other. The following shows various types of syntax you need to use
when programming with graph functions.
• V-Window View Window –5, 5, 1, –5, 5, 1_
• Graph function input Y = Type_ ....................Specifies graph type.
"X2 – 3" → Y1*1_
• Graph draw operation DrawGraph_

*1 Input this Y1 with J4(GRPH)1(Y)b (displayed as ). A Syntax ERROR will occur


if you input “Y” with the calculator keys.

u Syntax of other graphing functions


• V-Window View Window <Xmin>, <Xmax>, <Xscale>, <Ymin>, <Ymax>, <Yscale>,
<Tθ min>, <Tθ max>, <Tθ pitch>
StoV-Win <area of V-Win> .............. area: 1 to 6
RclV-Win <area of V-Win> .............. area: 1 to 6
• Style NormalG <area of graph> ............... area: 1 to 20
NormalG <element of recursion formula> ... element: an+1, bn+1, etc.
ThickG <area of graph> .................. area: 1 to 20
ThickG <element of recursion formula> ... element: an+1, bn+1, etc.
BrokenThickG <area of graph> ....... area: 1 to 20
BrokenThickG <element of recursion formula> ... element: an+1, bn+1, etc.
DotG <area of graph> ..................... area: 1 to 20
DotG <element of recursion formula> ... element: an+1, bn+1, etc.
• Zoom Factor <X factor>, <Y factor>
ZoomAuto........................................ Non-parameter
• Pict StoPict <area of picture>................. area: 1 to 6
numeric expression

RclPict <area of picture> ............... area: 1 to 6


numeric expression

• Sketch PlotOn <X-coordinate>, <Y-coordinate>


PlotOff <X-coordinate>, <Y-coordinate>

8-25
PlotChg <X-coordinate>, <Y-coordinate>
PxlOn <line number>, <column number>
PxlOff <line number>, <column number>
PxlChg <line number>, <column number>
PxlTest <line number>, <column number>
Text <line number>, <column number>, "<text>"
Text <line number>, <column number>, <expression>
SketchThick <Sketch or Graph statement>
SketchBroken <Sketch or Graph statement>
SketchDot <Sketch or Graph statement>
SketchNormal <Sketch or Graph statement>
Tangent <function>, <X-coordinate>
Normal <function>, <X-coordinate>
Inverse <function>
Line
F-Line <X-coordinate 1>, <Y-coordinate 1>, <X-coordinate 2>,
<Y-coordinate 2>
Circle <center point X-coordinate>, <center point Y-coordinate>,
<radius R value>
Vertical <X-coordinate>
Horizontal <Y-coordinate>
• Graph Memory StoGMEM <graph memory number> ... number: 1 to 20
RclGMEM <graph memory number> ... number: 1 to 20

k Using Background Picture in a Program


You can change the “Background” setting on the Setup screen from a program.
• Syntax when a background image is displayed
BG-Pict <area of picture> [,a] ... area: 1 to 20
Appending “a” at the end loads V-Window values (that are saved with the image data) when
the background image is displayed.
• Syntax when a background image is not displayed (or hidden)
BG-None

k Using Dynamic Graph Functions in a Program


Using Dynamic Graph functions in a program makes it possible to perform repeated Dynamic
Graph operations. The following shows how to specify the Dynamic Graph range inside a
program.
• Dynamic Graph range
1 → D Start_
5 → D End_
1 → D pitch_

8-26
k Using Table & Graph Functions in a Program
Table & Graph functions in a program can generate numeric tables and perform graphing
operations. The following shows various types of syntax you need to use when programming
with Table & Graph functions.
• Table range setting • Graph draw operation
1 → F Start_ Connect type: DrawFTG-Con_
5 → F End_ Plot type: DrawFTG-Plt_
1 → F pitch_
• Numeric table generation
DispF-Tbl_
• Number Table and Graph Creation Conditions
VarList <list number> ... Number table/graph creation using the specified list (number: 1 to
26).
VarRange ... Number table/graph creation using the table range.

k Using Recursion Table & Graph Functions in a Program


Incorporating Recursion Table & Graph functions in a program lets you generate numeric
tables and perform graphing operations. The following shows various types of syntax you
need to use when programming with Recursion Table & Graph functions.
• Recursion formula input
an+1 Type_ .... Specifies recursion type.
"3an + 2" → an+1_
"4bn + 6" → bn+1_
• Table range setting • Numeric table generation
1 → R Start_ DispR-Tbl_
5 → R End_ • Graph draw operation
1 → a0_ Connect type: DrawR-Con_, DrawRΣ-Con_
2 → b0_ Plot type: DrawR-Plt_, DrawRΣ-Plt_
1 → an Start_ • Statistical convergence/divergence graph
3 → bn Start_ (WEB graph)
DrawWeb an+1, 10_

k Configuring Residual Calculation Settings in a Program


You can configure residual calculation settings in a program and store residual values in a
specified list. Use a syntax like the ones shown in the examples below.
• To specify a storage list and execute residual calculation
Resid-List <list number> ... number: 1 to 26
• To skip residual calculation execution
Resid-None

8-27
k Specifying a List File for Use in a Program
You can specify a list file to be used when executing a list operation in a program. Display
formats are as shown in the example below.
File <file number> ... number: 1 to 6

k Using List Sort Functions in a Program


These functions let you sort data in lists into ascending or descending order.
• Ascending order
1 2
SortA (List 1, List 2, List 3)
Lists to be sorted (up to six can be specified)
1
431 2
K11

• Descending order
3
SortD (List 1, List 2, List 3)
Lists to be sorted (up to six can be specified)
3
432

k Using Statistical Calculations and Graphs in a Program


Including statistical calculations and graphing operations in a program lets you calculate and
graph statistical data.

u To set conditions and draw a statistical graph


Following a StatGraph command (“S-Gph1”, “S-Gph2”, or “S-Gph3”), you must specify the
following graph conditions:
• Graph draw/non-draw status (DrawOn/DrawOff)
• Graph Type
• x-axis data location (list name)
• y-axis data location (list name)
• Frequency data location (list name)
• Mark Type (Cross, Dot, Square)
• Pie graph display setting (% or Data)
• Pie graph percentage data storage list specification (None or list name)
• First bar graph data (list name)
• Second and third bar graph data (list name)
• Bar graph orientation (Length or Horizontal)

The graph conditions that are required depends on the graph type. See “Changing Graph
Parameters” (page 6-1).

8-28
• The following is a typical graph condition specification for a scatter diagram or xyLine graph.
S-Gph1 DrawOn, Scatter, List 1, List 2, 1, Square _
In the case of an xy line graph, replace “Scatter” in the above specification with “xyLine”.
• The following is a typical graph condition specification for a normal probability plot.
S-Gph1 DrawOn, NPPlot, List 1, Square _
• The following is a typical graph condition specification for a single-variable graph.
S-Gph1 DrawOn, Hist, List 1, List 2 _
The same format can be used for the following types of graphs, by simply replacing “Hist” in
the above specification with the applicable graph type.
Histogram ....................... Hist Normal Distribution ............. N-Dist
1
Median Box .................... MedBox* Broken Line ......................... Broken
*1 Outliers:On Outliers:Off
S-Gph1 DrawOn, MedBox, List 1, 1, 1 S-Gph1 DrawOn, MedBox, List 1, 1, 0
• The following is a typical graph condition specification for a regression graph.
S-Gph1 DrawOn, Linear, List 1, List 2, List 3 _
The same format can be used for the following types of graphs, by simply replacing “Linear”
in the above specification with the applicable graph type.
Linear Regression .......... Linear Logarithmic Regression ...... Log
Med-Med......................... Med-Med Exponential Regression ...... Exp(a·eˆbx)
Quadratic Regression .... Quad Exp(a·bˆx)
Cubic Regression .......... Cubic Power Regression ............... Power
Quartic Regression ........ Quart
• The following is a typical graph condition specification for a sinusoidal regression graph.
S-Gph1 DrawOn, Sinusoidal, List 1, List 2 _
• The following is a typical graph condition specification for a logistic regression graph.
S-Gph1 DrawOn, Logistic, List 1, List 2 _
• The following is a typical graph condition specification for a pie graph.
S-Gph1 DrawOn, Pie, List 1, %, None _
• The following is a typical graph condition specification for a bar graph.
S-Gph1 DrawOn, Bar, List 1, None, None, StickLength _
• To draw a statistical graph, insert the “DrawStat” command following the graph condition
specification line.
ClrGraph
S-Wind Auto
{1, 2, 3} → List 1
{1, 2, 3} → List 2
S-Gph1 DrawOn, Scatter, List 1, List 2, 1, Square _
DrawStat

8-29
k Using Distribution Graphs in a Program (Not available on the fx-7400GIII)
Special commands are used to draw distribution graphs in a program.

• To draw a normal cumulative distribution graph


1
DrawDistNorm <Lower>, <Upper> [,σ, ]
Population mean*1
Population standard deviation*1
Data upper limit
Data lower limit
1
4151
*1 This can be omitted. Omitting these items performs the calculation using  = 1 and  = 0.

(x – μμ)2 Upper – μ

Upper – Lower – μ
p= 1 e 2σ
2
dx ZLow = ZUp =
σ
2πσ σ
Lower

• Executing DrawDistNorm performs the above calculation


in accordance with the specified conditions and draws
the graph. At this time the ZLow < x < ZUp region on the
graph is filled in.

• At the same time, the p, ZLow, and ZUp calculation result values are assigned respectively to
variables p, ZLow, and ZUp, and p is assigned to Ans.

• To draw a Student- t cumulative distribution graph


1
DrawDistT <Lower>, <Upper>, <df>
Degree of freedom
Data upper limit
Data lower limit
1
4152
df + 1

2 2
df + 1 1+ x
Γ

Upper
2 df
p= × dx tLow = Lower tUp = Upper
Lower Γ
df π × df
2
• Executing DrawDistT performs the above calculation in accordance with the specified
conditions and draws the graph. At this time the Lower < x < Upper region on the graph is
filled in.
• At the same time, the p calculation result value and the Lower and Upper input values are
assigned respectively to variables p, tLow, and tUp, and p is assigned to Ans.

8-30
• To draw a 2 cumulative distribution graph
1
DrawDistChi <Lower>, <Upper>, <df>
Degree of freedom
Data upper limit
Data lower limit
1
4153

df


Upper df x
1 1 2 –1 –
p= × × x 2
× e 2
dx
df 2
Lower Γ
2
• Executing DrawDistChi performs the above calculation in accordance with the specified
conditions and draws the graph. At this time the Lower < x < Upper region on the graph is
filled in.
• At the same time, calculation result p is assigned to variables p and Ans.

• To draw an F cumulative distribution graph


1
DrawDistF <Lower>, <Upper>, <ndf>, <ddf>
Degrees of freedom of denominator
Degrees of freedom of numerator
Data upper limit
Data lower limit
1
4154

ndf + ddf
Γ ndf ndf + ddf


Upper ndf –
2 ndf 2 –1 ndf × x 2
p= × × x 2
× 1+ dx
ndf × ddf ddf ddf
Lower Γ Γ
2 2
• Executing DrawDistF performs the above calculation in accordance with the specified
conditions and draws the graph. At this time the Lower < x < Upper region on the graph is
filled in.
• At the same time, calculation result p is assigned to variables p and Ans.

k Performing Statistical Calculations in a Program


• Single-variable statistical calculation
1
1-Variable List1, List 2
Frequency data (Frequency)
x-axis data (XList)
1
4161

• Paired-variable statistical calculation


1
2-Variable List 1, List 2, List 3
Frequency data (Frequency)
y-axis data (YList)
x-axis data (XList)
1
4162
8-31
• Regression statistical calculation
1
LinearReg(ax+b) List 1, List 2, List 3
Calculation Frequency data (Frequency)
type*
y-axis data (YList)
x-axis data (XList)
1
416611

* Any one of the following can be specified as the calculation type.


LinearReg(ax+b) ......linear regression (ax+b type)
LinearReg(a+bx) ......linear regression (a+bx type)
Med-MedLine ..........Med-Med calculation
QuadReg .................quadratic regression
CubicReg .................cubic regression
QuartReg .................quartic regression
LogReg ...................logarithmic regression
ExpReg(a·eˆbx)........exponential regression (a·ebx type)
ExpReg(a·bˆx)..........exponential regression (a·bx type)
PowerReg ...............power regression

• Sinusoidal regression statistical calculation


SinReg List 1, List 2
y-axis data (YList)
x-axis data (XList)

• Logistic regression statistical calculation


LogisticReg List 1, List 2
y-axis data (YList)
x-axis data (XList)

k Performing Distribution Calculations in a Program


(Not available on the fx-7400GIII)
• The following values are substituted whenever any of the values enclosed in brackets ([ ]) are
omitted.
σ=1, =0, tail=L (Left)
• For the calculation formula of each probability density function, see “Statistic Formula”
(page 6-55).

• Normal Distribution
NormPD(: Returns the normal probability density (p value) for the specified data.
Syntax: NormPD(x[, σ, )]
• A single value or a list can be specified for x. Calculation result p is assigned to variables p
and Ans (ListAns when x is a list).

8-32
NormCD(: Returns the normal cumulative distribution (p value) for the specified data.
Syntax: NormCD(Lower, Upper[, σ, )]
• Single values or lists can be specified for Lower and Upper. Calculation results p, ZLow, and
ZUp are assigned respectively to variables p, ZLow, and ZUp. Calculation result p also is
assigned to Ans (ListAns when Lower and Upper are lists).

InvNormCD(: Returns the inverse normal cumulative distribution (lower and/or upper value(s))
for the specified p value.
Syntax: InvNormCD(["L(or –1) or R(or 1) or C(or 0)", ]p[,σ, ])
tail (Left, Right, Central)

• A single value or a list can be specified for p. Calculation results are output in accordance
with the tail setting as described below.
tail = Left
The Upper value is assigned to variables x1InvN and Ans (ListAns when p is a list).
tail = Right
The Lower value is assigned to variables x1InvN and Ans (ListAns when p is a list).
tail = Central
The Lower and Upper values are assigned respectively to variables x1InvN and x2InvN.
Lower only is assigned to Ans (ListAns when p is a list).

• Student- t Distribution
tPD(: Returns the Student-t probability density (p value) for the specified data.
Syntax: tPD(x, df [)]
• A single value or a list can be specified for x. Calculation result p is assigned to variables p
and Ans (ListAns when x is a list).

tCD(: Returns the Student-t cumulative distribution (p value) for the specified data.
Syntax: tCD(Lower,Upper,df [)]
• Single values or lists can be specified for Lower and Upper. Calculation results p, tLow,
and tUp are assigned respectively to variables p, tLow, and tUp. Calculation result p also is
assigned to Ans (ListAns when Lower and Upper are lists).

InvTCD(: Returns the inverse Student-t cumulative distribution (Lower value) for the specified
p value.
Syntax: InvTCD(p,df [)]
• A single value or a list can be specified for p. The Lower value is assigned to the xInv and
Ans variables (ListAns when p is a list).

• 2 Distribution
ChiPD(: Returns the 2 probability density (p value) for the specified data.
Syntax: ChiPD(x,df [)]
• A single value or a list can be specified for x. Calculation result p is assigned to variables p
and Ans (ListAns when x is a list).

8-33
ChiCD(: Returns the 2 cumulative distribution (p value) for the specified data.
Syntax: ChiCD(Lower,Upper,df [)]
• Single values or lists can be specified for Lower and Upper. Calculation result p is assigned
to variables p and Ans (ListAns when Lower and Upper are lists).

InvChiCD(: Returns the inverse 2 cumulative distribution (Lower value) for the specified p
value.
Syntax: InvChiCD(p,df [)]
• A single value or a list can be specified for p. The Lower value is assigned to the xInv and
Ans variables (ListAns when p is a list).

• F Distribution
FPD(: Returns the F probability density (p value) for the specified data.
Syntax: FPD(x,ndf,ddf [)]
• A single value or a list can be specified for x. Calculation result p is assigned to variables p
and Ans (ListAns when x is a list).

FCD(: Returns the F cumulative distribution (p value) for the specified data.
Syntax: FCD(Lower,Upper,ndf,ddf [)]
• Single values or lists can be specified for Lower and Upper. Calculation result p is assigned
to variables p and Ans (ListAns when Lower and Upper are lists).

InvFCD(: Returns the inverse F cumulative distribution (Lower value) for the specified data.
Syntax: InvFCD(p,ndf,ddf [)]
• A single value or a list can be specified for p. The Lower value is assigned to the xInv and
Ans variables (ListAns when p is a list).

• Binomial Distribution
BinomialPD(: Returns the binomial probability (p value) for the specified data.
Syntax: BinomialPD([x,]n,P[)]
• A single value or a list can be specified for x. Calculation result p is assigned to variables p
and Ans (ListAns when x is a list).

BinomialCD(: Returns the binomial cumulative distribution (p value) for the specified data.
Syntax: BinomialCD([X,]n,P[)]
• A single value or a list can be specified for each X. Calculation result p is assigned to
variables p and Ans (ListAns when X is omitted or is a list).

InvBinomialCD(: Returns the inverse binomial cumulative distribution for the specified data.
Syntax: InvBinomialCD(p,n,P[)]
• A single value or a list can be specified for p. The calculation result X value is assigned to
the xInv and Ans variables (ListAns when p is a list).

8-34
• Poisson Distribution
PoissonPD(: Returns the Poisson probability (p value) for the specified data.
Syntax: PoissonPD(x, [)]
• A single value or a list can be specified for x. Calculation result p is assigned to variables p
and Ans (ListAns when x is a list).

PoissonCD(: Returns the Poisson cumulative distribution (p value) for the specified data.
Syntax: PoissonCD(X,[)]
• A single value or a list can be specified for each X. Calculation result p is assigned to
variables p and Ans (ListAns when X is a list).

InvPoissonCD(: Returns the inverse Poisson cumulative distribution for the specified data.
Syntax: InvPoissonCD(p,[)]
• A single value or a list can be specified for p. The calculation result X value is assigned to the
xInv and Ans variables (ListAns when p is a list).

• Geometric Distribution
GeoPD(: Returns the geometric probability (p value) for the specified data.
Syntax: GeoPD(x, P[)]
• A single value or a list can be specified for x. Calculation result p is assigned to variables p
and Ans (ListAns when x is a list).

GeoCD(: Returns the geometric cumulative distribution (p value) for the specified data.
Syntax: GeoCD(X,P[)]
• A single value or a list can be specified for each X. Calculation result p is assigned to
variables p and Ans (ListAns when X is a list).

InvGeoCD(: Returns the inverse geometric cumulative distribution for the specified data.
Syntax: InvGeoCD(p,P[)]
• A single value or a list can be specified for p. The calculation result X value is assigned to the
xInv and Ans variables (ListAns when p is a list).

• Hypergeometric Distribution
HypergeoPD(: Returns the hypergeometric probability (p value) for the specified data.
Syntax: HypergeoPD(x, n, M, N[)]
• A single value or a list can be specified for x. Calculation result p is assigned to variables p
and Ans (ListAns when x is a list).

HypergeoCD(: Returns the hypergeometric cumulative distribution (p value) for the specified
data.
Syntax: HypergeoCD(X, n, M, N[)]
• A single value or a list can be specified for each X. Calculation result p is assigned to
variables p and Ans (ListAns when X is a list).

8-35
InvHypergeoCD(: Returns the inverse hypergeometric cumulative distribution for the specified
data.
Syntax: InvHypergeoCD(p, n, M, N[)]
• A single value or a list can be specified for p. The calculation result X value is assigned to the
xInv and Ans variables (ListAns when p is a list).

k Using the TEST Command to Execute a Command in a Program


(Not available on the fx-7400GIII)
• The following are the specifications ranges for the “ condition” argument of the command.
“<” or –1 when  < 0
“≠” or 0 when  ≠ 0
“>” or 1 when  > 0
The above also apply for the “ρ condition” and “&ρ condition” specification methods.
• For explanations of arguments that are not covered in detail here, see “Tests” (page 6-23)
and “Input and Output Terms of Tests, Confidence Interval, and Distribution” (page 6-52).
• For the calculation formula of each command, see “Statistic Formula” (page 6-55).

• Z Test
OneSampleZTest: Executes 1-sample Z-test calculation.
Syntax: OneSampleZTest " condition", 0, σ, o, n
Output Values: Z, p, o, n are assigned respectively to variables z, p, o, n and to ListAns
elements 1 through 4.
Syntax: OneSampleZTest " condition", 0, σ, List[, Freq]
Output Values: Z, p, o, sx, n are assigned respectively to variables z, p, o, sx, n and to
ListAns elements 1 through 5.

TwoSampleZTest: Executes 2-sample Z-test calculation.


Syntax: TwoSampleZTest "1 condition", σ1, σ2, o1, n1, o2, n2
Output Values: Z, p, o1, o2, n1, n2 are assigned respectively to variables z, p, o1, o2, n1, n2
and to ListAns elements 1 through 6.
Syntax: TwoSampleZTest "1 condition", σ1, σ2, List1, List2[, Freq1 [, Freq2]]
Output Values: Z, p, o1, o2, sx1, sx2, n1, n2 are assigned respectively to variables z, p, o1, o2,
sx1, sx2, n1, n2 and to ListAns elements 1 through 8.

OnePropZTest: Executes 1-proportion Z-test calculation.


Syntax: OnePropZTest "p condition", p0, x, n
Output Values: Z, p, p̂, n are assigned respectively to variables z, p, p̂, n and to ListAns
elements 1 through 4.

TwoPropZTest: Executes 2-proportion Z-test calculation.


Syntax: TwoPropZTest "p1 condition", x1, n1, x2, n2
Output Values: Z, p, p̂ 1, p̂ 2, p̂, n1, n2 are assigned respectively to variables z, p, p̂ 1, p̂ 2, p̂,
n1, n2 and to ListAns elements 1 through 7.

8-36
• t Test
OneSampleTTest: Executes 1-sample t-test calculation.
Syntax: OneSampleTTest " condition", 0, o, sx, n
OneSampleTTest " condition", 0, List[, Freq]
Output Values: t, p, o, sx, n are assigned respectively to the variables with the same
names and to ListAns elements 1 through 5.

TwoSampleTTest: Executes 2-sample t-test calculation.


Syntax : TwoSampleTTest "1 condition", o1, sx1, n1, o2, sx2, n2[,Pooled condition]
TwoSampleTTest "1 condition", List1, List2, [, Freq1[, Freq2[,
Pooled condition ]]]
Output Values: When Pooled condition = 0, t, p, df, o1 o2, sx1, sx2, n1, n2 are assigned
respectively to the variables with the same names and to ListAns
elements 1 through 9.
When Pooled condition = 1, t, p, df, o1, o2, sx1, sx2, sp, n1, n2 are assigned
respectively to the variables with the same names and to ListAns
elements 1 through 10.
Note: Specify 0 when you want to turn off the Pooled condition and 1 when you
want to turn it on. Omitting the input is treated as Pooled condition off.

LinRegTTest: Executes linear regression t-test calculation.


Syntax: LinRegTTest "&ρ condition", XList, YList[, Freq]
Output Values: t, p, df, a, b, s, r, r2 are assigned respectively to the variables with the
same names and to ListAns elements 1 through 8.

• 2 Test
ChiGOFTest: Executes a chi-square goodness of fit test.
Syntax: ChiGOFTest List 1, List 2, df, List 3
(List 1 is the Observed list, List 2 is the Expected list, and List 3 is the
CNTRB list.)
Output Values: 2, p, df are assigned respectively to the variables with the same names
and to ListAns elements 1 through 3. The CNTRB list is stored in List 3.

ChiTest: Executes a chi-square test.


Syntax: ChiTest MatA, MatB
(MatA is the Observed matrix and MatB is the Expected matrix.)
Output Values: 2, p, df are assigned respectively to the variables with the same names
and to ListAns elements 1 through 3. The Expected matrix is assigned to
MatB.

• F Test
TwoSampleFTest: Executes 2-sample F-test calculation.
Syntax: TwoSampleFTest "σ1 condition", sx1, n1, sx2, n2
Output Values: F, p, sx1, sx2, n1, n2 are assigned respectively to the variables with the
same names and to ListAns elements 1 through 6.
Syntax: TwoSampleFTest "σ1 condition", List1, List2, [, Freq1 [, Freq2]]

8-37
Output Values: F, p, o1, o2, sx1, sx2, n1, n2 are assigned respectively to the variables with
the same names and to ListAns elements 1 through 8.

• ANOVA
OneWayANOVA: Executes one-factor ANOVA analysis of variance.
Syntax: OneWayANOVA List1, List2
(List1 is Factor list (A) and List2 is the Dependent list.)
Output Values: Adf, Ass, Ams, AF, Ap, ERRdf, ERRss, ERRms are assigned respectively
to variables Adf, SSa, MSa, Fa, pa, Edf, SSe, MSe.
Also, output values are assigned to MatAns as shown below.
Adf Ass Ams AF Ap
MatAns =
ERRdf ERRss ERRms 0 0
TwoWayANOVA: Executes two-factor ANOVA analysis of variance.
Syntax: TwoWayANOVA List1, List2, List3 (List1 is Factor list (A), List2 is Factor
list (B), and List3 is the Dependent list.)
Output Values: Adf, Ass, Ams, AF, Ap, Bdf, Bss, Bms, BF, Bp, ABdf, ABss, ABms, ABF,
ABp, ERRdf, ERRss, ERRms are assigned respectively to variables Adf,
SSa, MSa, Fa, pa, Bdf, SSb, MSb, Fb, pb, ABdf, SSab, MSab, Fab, pab,
Edf, SSe, MSe.
Also, output values are assigned to MatAns as shown below.
Adf Ass Ams AF Ap
Bdf Bss Bms BF Bp
MatAns =
ABdf ABss ABms ABF ABp
ERRdf ERRss ERRms 0 0

k Performing Financial Calculations in a Program


(Not available on the fx-7400GIII)

• Setup Commands
• Date Mode Setting for Financial Calculations
DateMode365 ....... 365 days
DateMode360 ....... 360 days
• Payment Period Setting
PmtBgn................. Start of period
PmtEnd................. End of period
• Bond Calculation Payment Periods
PeriodsAnnual ...... Annual
PeriodsSemi ......... Semiannual

8-38
• Financial Calculation Commands
For the meaning of each argument, see “Chapter 7 Financial Calculation (TVM)”.

• Simple Interest
Smpl_SI: Returns the interest based on simple interest calculation.
Syntax: Smpl_SI(n, I%, PV)
Smpl_SFV: Returns the total of principal and interest based on simple interest calculation.
Syntax: Smpl_SFV(n, I%, PV)

• Compound Interest
Note:
• P/Y and C/Y can be omitted for all compound interest calculations. When they are omitted,
calculations are performed using P/Y=12 and C/Y=12.
• If you perform a calculation that uses a compound interest function (Cmpd_n(, Cmpd_I%(,
Cmpd_PV(, Cmpd_PMT(, Cmpd_FV(), the argument(s) you input and the calculation results
will be saved to the applicable variables (n, I%, PV, etc.). If you perform a calculation that
uses any other type of financial calculation function, the argument and calculation results are
not assigned to variables.
Cmpd_n: Returns the number of compound periods.
Syntax: Cmpd_n(I%, PV, PMT, FV, P/Y, C/Y)
Cmpd_I%: Returns the annual interest.
Syntax: Cmpd_I%(n, PV, PMT, FV, P/Y, C/Y)
Cmpd_PV: Returns the present value (loan amount for installment payments, principal for
savings).
Syntax: Cmpd_PV(n, I%, PMT, FV, P/Y, C/Y)
Cmpd_PMT: Returns equal input/output values (payment amounts for installment payments,
deposit amounts for savings) for a fixed period.
Syntax: Cmpd_PMT(n, I%, PV, FV, P/Y, C/Y)
Cmpd_FV: Returns the final input/output amount or total principal and interest.
Syntax: Cmpd_FV(n, I%, PV, PMT, P/Y, C/Y)

• Cash Flow (Investment Appraisal)


Cash_NPV: Returns the net present value.
Syntax: Cash_NPV(I%, Csh)
Cash_IRR: Returns the internal rate of return.
Syntax: Cash_IRR(Csh)
Cash_PBP: Returns the payback period.
Syntax: Cash_PBP(I%, Csh)
Cash_NFV: Returns the net future value.
Syntax: Cash_NFV(I%, Csh)

8-39
• Amortization
Amt_BAL: Returns the remaining principal balance following payment PM2.
Syntax: Amt_BAL(PM1, PM2, I%, PV, PMT, P/Y, C/Y)
Amt_INT: Returns the interest paid for payment PM1.
Syntax: Amt_INT(PM1, PM2, I%, PV, PMT, P/Y, C/Y)
Amt_PRN: Returns the principal and interest paid for payment PM1.
Syntax: Amt_PRN(PM1, PM2, I%, PV, PMT, P/Y, C/Y)
Amt_ΣINT: Returns the total principal and interest paid from payment PM1 to PM2.
Syntax: Amt_ΣINT(PM1, PM2, I%, PV, PMT, P/Y, C/Y)
Amt_ΣPRN: Returns the total principal paid from payment PM1 to PM2.
Syntax: Amt_ΣPRN(PM1, PM2, I%, PV, PMT, P/Y, C/Y)

• Interest Rate Conversion


Cnvt_EFF: Returns the interest rate converted from the nominal interest rate to the effective
interest rate.
Syntax: Cnvt_EFF(n, I%)
Cnvt_APR: Returns the interest rate converted from the effective interest rate to the nominal
interest rate.
Syntax: Cnvt_APR(n, I%)

• Cost, Selling Price, Margin Calculations


Cost: Returns the cost based on a specified selling price and margin.
Syntax: Cost(Sell, Margin)
Sell: Returns the selling price based on a specified cost and margin.
Syntax: Sell(Cost, Margin)
Margin: Returns the margin based on a specified cost and selling price.
Syntax: Margin(Cost, Sell)

• Day/Date Calculations
Days_Prd: Returns the number of days from a specified d1 to specified d2.
Syntax: Days_Prd(MM1, DD1, YYYY1, MM2, DD2, YYYY2)

• Bond Calculations
Bond_PRC: Returns in list form bond prices based on specified conditions.
Syntax: Bond_PRC(MM1, DD1, YYYY1, MM2, DD2, YYYY2, RDV, CPN, YLD) = {PRC,
INT, CST}
Bond_YLD: Returns the yield based on specified conditions.
Syntax: Bond_YLD(MM1, DD1, YYYY1, MM2, DD2, YYYY2, RDV, CPN, PRC)

8-40
7. PRGM Mode Command List
Not all of the commands listed below are available on all models covered by this manual.

RUN Program
TYPE Y= Y=Type Σ a n+1 Σ a n+1
4(MENU) key
r= r=Type Σ a n+2 Σ a n+2
Level 1 Level 2 Level 3 Command Parm ParamType Σbn Σ bn
STAT DRAW On DrawOn X= X=Type Σ b n+1 Σ b n+1
Off DrawOff Y> Y>Type Σ b n+2 Σ b n+2
GRPH GPH1 S-Gph1_ Y< Y<Type Σcn Σ cn
GPH2 S-Gph2_ Yt YtType Σ c n+1 Σ c n+1
GPH3 S-Gph3_ Ys YsType Σ c n+2 Σ c n+2
Scat Scatter X> X>Type RANG a0 Sel_a 0
xy xyLine X< X<Type a1 Sel_a 1
Hist Hist Xt X tType
Box MedBox Xs X sType
Bar Bar STYL — NormalG_
N-Dis N-Dist — ThickG_ K key
Brkn Broken ····· BrokenThickG_ Level 1 Level 2 Level 3 Command
X Linear ······ DotG_ LIST List List_
Med Med-Med GMEM Sto StoGMEM_ L→M List→Mat(
X^2 Quad Rcl RclGMEM_ Dim Dim_
X^3 Cubic DYNA On D_SelOn_ Fill Fill(
X^4 Quart Off D_SelOff_ Seq Seq(
Log Log Var D_Var_ Min Min(
*1 TYPE Y= Y=Type Max Max(
Pwr Power r= r=Type Mean Mean(
Sin Sinusoidal Parm ParamType Med Median(
NPP NPPlot TABL On T_SelOn_ Aug Augment(
Lgst Logistic Off T_SelOff_ Sum Sum_
Pie Pie TYPE Y= Y=Type Prod Prod_
List List_ r= r=Type Cuml Cuml_
TYPE *2 Parm ParamType % Percent_
DIST DrwN DrawDistNorm_ STYL — NormalG_ A A List_
Drwt DrawDistT_ — ThickG_ MAT Mat Mat_
DrwC DrawDistChi_ ····· BrokenThickG_ M→L Mat→List(
DrwF DrawDistF_ ······ DotG_ Det Det_
CALC 1VAR 1-Variable_ RECR SEL+S On R_SelOn_ Trn Trn_
2VAR 2-Variable_ Off R_SelOff_ Aug Augment(
*3 — NormalG_ Iden Identity_
Med Med-MedLine_ — ThickG_ Dim Dim_
X^2 QuadReg_ ····· BrokenThickG_ Fill Fill(
X^3 CubicReg_ ······ DotG_ Ref Ref_
X^4 QuartReg_ TYPE a n a nType Rref Rref_
Log LogReg_ a n+1 a n+1Type Vct Vct_
*4 a n+2 a n+2Type DotP DotP(
Pwr PowerReg_ n.a ..
n n
n CrsP CrossP(
Sin SinReg_ an an Angle Angle(
Lgst LogisticReg_ a n+1 a n+1 UntV UnitV(
MAT Swap Swap_ a n+2 a n+2 Norm Norm(
×Rw `Row_ bn bn CPLX i i
×Rw+ `Row+_ b n+1 b n+1 Abs Abs_
Rw+ Row+_ b n+2 b n+2 Arg Arg_
LIST Srt-A SortA( cn cn Conj Conjg_
Srt-D SortD( c n+1 c n+1 ReP ReP_
GRPH SEL On G_SelOn_ c n+2 c n+2 ImP ImP_
Off G_SelOff_ Σan Σ an 'r∠θ 'r∠θ
'a+bi 'a+bi

8-41
CALC Solve Solve( TIME ns [ns] hp [hp]
d/dx d/dx( μs [μs] ft• lbf/s [ft • lbf/s]
d2/dx 2 d 2/dx 2 ( ms [ms] Btu/min [Btu/min]
∫ dx ∫( s [s] HYP sinh sinh_
SolveN SolveN( min [min] cosh cosh_
FMin FMin( h [h] tanh tanh_
FMax FMax( day [day] sinh –1 sinh –1_
Σ( Σ( cosh –1_
–1
week [week] cosh
logab log a b( yr [yr] tanh –1
tanh –1_
Int÷ Int÷ s-yr [s-yr] PROB X! !
Rmdr Rmdr t-yr [t-yr] nPr P
Simp 'Simp TMPR °C [°C] nCr C
STAT x̂ x̂ K [K] RAND Ran# Ran#_
ŷ ŷ °F [°F] Int RanInt#(
DIST *5 °R [°R] Norm RanNorm#(
S·Dev StdDev( VELO m/s [m/s] Bin RanBin#(
Var Variance( km/h [km/h] List RanList#(
TEST *6 knot [knot] P( P(
CONV ' ' ft/s [ft/s] Q( Q(
LENG fm [fm] mile/h [mile/h] R( R(
Å [Å] MASS u [u] t( t(
μm [μm] mg [mg] NUM Abs Abs_
mm [mm] g [g] Int Int_
cm [cm] kg [kg] Frac Frac_
m [m] mton [mton] Rnd Rnd
km [km] oz [oz] Intg Intg_
AU [AU] lb [lb] RndFi RndFix(
I.y. [I.y.] slug [slug] GCD GCD(
pc [pc] ton(short) [ton(short)] LCM LCM(
Mil [Mil] ton(long) [ton(long)] MOD MOD(
in [in] FORC N [N] MOD • E MOD_Exp(
ft [ft] lbf [lbf] ANGL ° °
yd [yd] tonf [tonf] r r
fath [fath] dyne [dyne] g g
rd [rd] kgf [kgf] ° ’ ’’
mile [mile] PRES Pa [Pa] Pol( Pol(
n mile [n mile] kPa [kPa] Rec( Rec(
AREA cm² [cm²] mmH 2O [mmH 2 O] 'DMS 'DMS
m² [m²] mmHg [mmHg] ESYM m m
ha [ha] atm [atm] μ μ
km² [km²] inH 2O [inH 2 O] n n
in² [in²] inHg [inHg] p p
ft² [ft²] lbf/in² [lbf/in²] f f
yd² [yd²] bar [bar] k k
acre [acre] kgf/cm² [kgf/cm²] M M
mile² [mile²] ENGY eV [eV] G G
VLUM cm³ [cm³] J [J] T T
mL [mL] calth [cal th ] P P
L [L] cal15 [cal15 ] E E
m³ [m³] calIT [cal IT] PICT Sto StoPict_
in³ [in³] kcalth [kcal th ] Rcl RclPict_
ft³ [ft³] kcal15 [kcal15 ] FMEM fn fn
fl_oz(UK) [fl_oz(UK)] kcalIT [kcalIT] LOGIC And _And_
fl_oz(US) [fl_oz(US)] I-atm [I-atm] Or _Or_
gal(US) [gal(US)] kW• h [kW• h] Not Not_
gal(UK) [gal(UK)] ft• lbf [ft • lbf] Xor Xor_
pt [pt] Btu [Btu] CAPT Rcl RclCapt_
qt [qt] erg [erg] TVM SMPL SI Smpl_SI(
tsp [tsp] kgf• m [kgf • m] SFV Smpl_SFV(
tbsp [tbsp] PWR W [W] CMPD n Cmpd_n(
cup [cup] calth /s [cal th /s] I% Cmpd_I%(
8-42
PV Cmpd_PV( minY minY b2 b2
PMT Cmpd_PMT( maxY maxY c0 c0
FV Cmpd_FV( GRPH a a c1 c1
CASH NPV Cash_NPV( b b c2 c2
IRR Cash_IRR( c c a nSt a n Start
PBP Cash_PBP( d d b nSt b n Start
NFV Cash_NFV( e e c nSt c n Start
AMT BAL Amt_BAL( r r Reslt R_Result
INT Amt_INT( r2 r2 EQUA S-Rlt Sim_Result
PRN Amt_PRN( MSe MSe S-Cof Sim_Coef
ΣINT Amt_ΣINT( Q1 Q1 P-Rlt Ply_Result
ΣPRN Amt_ΣPRN( Med Med P-Cof Ply_Coef
CNVT EFF Cnvt_EFF( Q3 Q3 TVM n n
APR Cnvt_APR( Mod Mod I% I%
COST Cost Cost( Strt H_Start PV PV
Sell Sell( Pitch H_pitch PMT PMT
Mrg Margin( PTS x1 x1 FV FV
DAYS PRD Days_Prd( y1 y1 P/Y P/Y
BOND PRC Bond_PRC( x2 x2 C/Y C/Y
YLD Bond_YLD( y2 y2 Str Str_
x3 x3
y3 y3
INPT n n
J key x x !J(PRGM) key
Level 1 Level 2 Level 3 Command sx sx
Level 1 Level 2 Level 3 Command
V-WIN X min Xmin n1 n1
COM If If_
max Xmax n2 n2
Then Then_
scal Xscl x1 x1
Else Else_
dot Xdot x2 x2
I-End IfEnd
Y min Ymin sx1 sx1
For For_
max Ymax sx2 sx2
To _To_
scal Yscl sp sp
Step _Step_
T,θ min Tθ min RESLT *7
Next Next
max Tθ max GRPH Y Y
Whle While_
ptch Tθ ptch r r
WEnd WhileEnd
R-X min RightXmin Xt Xt
Do Do
max RightXmax Yt Yt
Lp-W LpWhile_
scal RightXscl X X
CTL Prog Prog_
dot RightXdot DYNA Strt D_Start
Rtrn Return
R-Y min RightYmin End D_End
Brk Break
max RightYmax Pitch D_pitch
Stop Stop
scal RightYscl TABL Strt F_Start
JUMP Lbl Lbl_
R-T, θ min RightTθ min End F_End
Goto Goto_
RightTθ max Pitch F_pitch
max ⇒ ⇒
ptch RightTθ ptch Reslt F_Result
Isz Isz_
FACT Xfct Xfct RECR FORM a n an
Dsz Dsz_
Yfct Yfct a n+1 a n+1
Menu Menu_
STAT X n n a n+2 a n+2
? ?
x x bn bn
^ ^
Σx Σx b n+1 b n+1
CLR Text ClrText
Σx
2
Σx2 b n+2 b n+2
Grph ClrGraph
σx σx cn cn
List ClrList_
sx sx c n+1 c n+1
Mat ClrMat_
minX minX c n+2 c n+2
Vct ClrVct_
maxX maxX RANG Strt R_Start
DISP Stat DrawStat
Y y y End R_End
Grph DrawGraph
Σy Σy a0 a0
Dyna DrawDyna
Σy
2
Σy2 a1 a1
F-Tbl Tabl DispF-Tbl
Σ xy Σ xy a2 a2
G-Con DrawFTG-Con
σy σy b0 b0
G-Plt DrawFTG-Plt
sy sy b1 b1
8-43
R-Tbl Tabl DispR-Tbl ······ S-L-Dot G-∫ dx Graph_ ∫
Phase PlotPhase DRAW Con G-Connect Y> Graph_Y>
Web DrawWeb_ Plot G-Plot Y< Graph_Y<
an-Cn DrawR-Con DERV On DerivOn Yt Graph_Yt
Σa-Cn DrawR Σ -Con Off DerivOff Ys Graph_Ys
an-Pl DrawR-Plt BACK None BG-None X> Graph_X>
Σa-Pl DrawR Σ-Plt Pict BG-Pict_ X< Graph_X<
REL = = FUNC On FuncOn Xt Graph_X t
≠ ≠ Off FuncOff Xs Graph_X s
> > SIML On SimulOn PLOT Plot Plot_
< < Off SimulOff Pl-On PlotOn_
t t S-WIN Auto S-WindAuto Pl-Off PlotOff_
s s Man S-WindMan Pl-Chg PlotChg_
I/O Lcte Locate_ LIST File File_ LINE Line Line
Gtky Getkey LOCS On LocusOn F-Line F-Line_
Send Send( Off LocusOff Crcl Circle_
Recv Receive( T-VAR Rang VarRange Vert Vertical_
S38k Send38k_ List VarList_ Hztl Horizontal_
R38k Receive38k_ Σ DSP On Σ dispOn Text Text_
Open OpenComport38k Off Σ dispOff PIXL On PxlOn_
Close CloseComport38k RESID None Resid-None Off PxlOff_
: : List Resid-List_ Chg PxlChg_
STR Join StrJoin( CPLX Real Real Test PxlTest(
Len StrLen( a+bi a+bi STYL ⎯ SketchNormal_
Cmp StrCmp( r∠θ r∠θ — SketchThick_
Src StrSrc( FRAC d/c d/c ····· SketchBroken_
Left StrLeft( ab/c ab/c ······ SketchDot_
Right StrRight( Y• SPD Norm Y=DrawSpeedNorm
Mid StrMid( High Y=DrawSpeedHigh
E'S Exp'Str( DATE 365 DateMode365
Exp Exp( 360 DateMode360 BASE Program
Upr StrUpr( PMT Bgn PmtBgn
4(MENU) key
Lwr StrLwr( End PmtEnd
Inv StrInv( PRD Annu PeriodsAnnual Level 1 Level 2 Level 3 Command
Shift StrShift( Semi PeriodsSemi d~o d d
Rot StrRotate( INEQ And IneqTypeAnd h h
Or IneqTypeOr b b
SIMP Auto SimplfyAuto o o
Man SimplfyMan LOG Neg Neg_
!m(SET UP) key Q1Q3 Std Q1Q3TypeStd Not Not_
Level 1 Level 2 Level 3 Command OnD Q1Q3TypeOnData and and
ANGL Deg Deg I·MLT On ImpMultiOn or or
Rad Rad Off ImpMultiOff xor xor
Gra Gra xnor xnor
COOR On CoordOn DISP 'Dec 'Dec
Off CoordOff 'Hex 'Hex
GRID On GridOn ! key 'Bin 'Bin
Off GridOff Level 1 Level 2 Level 3 Command 'Oct 'Oct
AXES On AxesOn ZOOM Fact Factor_
Off AxesOff Auto ZoomAuto
LABL On LabelOn V-WIN V-Win ViewWindow_
!J(PRGM) key
Off LabelOff Sto StoV-Win_
DISP Fix Fix_ Rcl RclV-Win_ Level 1 Level 2 Level 3 Command
Sci Sci_ SKTCH Cls Cls Prog Prog_
Norm Norm_ Tang Tangent_ JUMP Lbl Lbl_
Eng On EngOn Norm Normal_ Goto Goto_
Off EngOff Inv Inverse_ ⇒ ⇒
Eng Eng GRPH Y= Graph_Y= Isz Isz_
S/L ⎯ S-L-Normal r= Graph_r= Dsz Dsz_
— S-L-Thick Parm Graph(X,Y)=( Menu Menu_
····· S-L-Broken X=c Graph_X= ? ?
8-44
^ ^ *6 Z 1-S OneSampleZTest_
REL = = 2-S TwoSampleZTest_
≠ ≠ 1-P OnePropZTest_
> > 2-P TwoPropZTest_
< < t 1-S OneSampleTTest_
t t 2-S TwoSampleTTest_
s s REG LinRegTTest_
: : Chi GOF ChiGOFTest_
2-WAY ChiTest_
F TwoSampleFTest_
ANOV 1-W OneWayANOVA_
!m(SET UP) key 2-W TwoWayANOVA_
Level 1 Level 2 Level 3 Command *7 TEST p p
Dec Dec z z
Hex Hex t t
Bin Bin Chi 2
Oct Oct F F
p̂ p̂
p̂ 1 p̂ 1
p̂ 2 p̂ 2
df df
Level 3 Level 4 Command se se
*1 Exp ae^bx Exp(ae^bx) r r
ab^x Exp(ab^x) r2 r2
*2 MARK Square pa pa
× Cross Fa Fa
k Dot Adf Adf
STICK Leng StickLength SSa SSa
Hztl StickHoriz MSa MSa
%DATA % % pb pb
Data Data Fb Fb
None None Bdf Bdf
*3 X ax+b LinearReg(ax+b) SSb SSb
a+bx LinearReg(a+bx) MSb MSb
*4 EXP ae^bx ExpReg(a•e^bx) pab pab
ab^x ExpReg(a•b^x) Fab Fab
*5 NORM Npd NormPD( ABdf ABdf
Ncd NormCD( SSab SSab
InvN InvNormCD( MSab MSab
t tpd tPD( Edf Edf
tcd tCD( SSe SSe
Invt InvTCD( MSe MSe
CHI Cpd ChiPD( INTR Left Left
Ccd ChiCD( Right Right
InvC InvChiCD( p̂ p̂
F Fpd FPD( p̂ 1 p̂ 1
Fcd FCD( p̂ 2 p̂ 2
InvF InvFCD( df df
BINM Bpd BinomialPD( DIST p p
Bcd BinomialCD( xInv xInv
InvB InvBinomialCD( x1Inv x1Inv
POISN Ppd PoissonPD( x2Inv x2Inv
Pcd PoissonCD( zLow zLow
InvP InvPoissonCD( zUp zUp
GEO Gpd GeoPD( tLow tLow
Gcd GeoCD( tUp tUp
InvG InvGeoCD(
H • GEO Hpd HypergeoPD(
Hcd HypergeoCD(
InvH InvHyperGeoCD(

8-45
8. CASIO Scientific Function Calculator Special
Commands ⇔ Text Conversion Table
The table below shows the special text strings that correspond to commands when converting
between programs and text files. For details about the operations for converting between
programs and text files, see “Converting Programs and Text Files” (page 8-6).

Important!
• Converting a program that contains the types of commands described below to a text file will
cause the commands to be converted to text strings with underbar (_) characters appended
at the beginning and end, as shown in the table below.
- A command enclosed in quotation marks (" ")
- A command in a comment line, which is a line that begins with a single quotation mark (')
Note that non-command alpha-numeric characters in a program that are enclosed in quotation
marks (" ") or are in a comment line are output to the text file as-is.

Example:
In the program: In the text file (after conversion):
"" ˝ _Theta_ ˝
"Theta"*1 ˝ Theta ˝
"Tmax"*2 ˝ _TThetamax_ ˝
"TThetamax"*1 ˝ TThetamax ˝
"or"*3 ˝ _or_ ˝
"or"*1 ˝ or ˝

*1 Non-command alpha-numeric characters


*2 V-Window Tmax command
*3 Logical operator or
Converting from a text file to a program converts the special character strings back to their
corresponding commands, shown above.
• When converting a program that contains special characters input using 6(CHAR) when
editing the program on the calculator, the special characters will be converted to character
string codes as shown below.
Example:
In the program: In the text file (after conversion):
λ #E54A
#E5A5
 #E641
` #E69C
⇔ #E6D6

These codes are not included in the tables on the pages 8-47 through 8-52.

8-46
• “ ” in the following tables indicates a space.
Command Text Command Text Command Text
f femto 7 7 m m
p pico 8 8 n n
n nano 9 9 o o
μ micro : : p p
m milli ; ; q q
k kilo < < r r
M Mega = = s s
G Giga > > t t
T Tera ? ? u u
P Peta @ @ v v
E Exa A A w w
^ Disps B B x x
↵ (CR) C C y y
→ -> D D z z
E Exp E E { {
≤ <= F F | |
≠ <> G G } }
≥ >= H H ~ ˜
⇒ => I I Pol( Pol(
f1 f1 J J sin sin
f2 f2 K K cos cos
f3 f3 L L tan tan
f4 f4 M M h &h
f5 f5 N N ln ln
f6 f6 O O ' Sqrt
a &HA P P - (-)
b &HB Q Q P nPr
c &HC R R + +
d &HD S S xnor xnor
e &HE T T 2
^<2>
f &HF U U dms
V V ∫( Integral(
! Char! W W Mod Mod
" ˝ X X Σx2 Sigmax^2
# # Y Y sin−1 sin^-1
$ $ Z Z cos−1
cos^-1
% % [ [ tan−1 tan^-1
& & \ ¥ d &d
' ’ ] ] log log
( ( ^ ^^ 3
' Cbrt
) ) _ _ Abs Abs
¼ ¼¼ ' ` c nCr
+ ++ a a − −
, , b b xor xor
- Char- c c −1
^<-1>
. . d d ° deg
/ // e e Med Med
0 0 f f Σx Sigmax
1 1 g g Rec( Rec(
2 2 h h sinh sinh
3 3 i i cosh cosh
4 4 j j tanh tanh
5 5 k k o &o
6 6 l l e^ e^

8-47
Command Text Command Text Command Text
Int Int ∑xy Sigmaxy ReP ReP
Not Not Plot Plot ImP ImP
^ ^ Line Line d/dx( d/dx(
× ¼ Lbl Lbl d /dx (
2 2 d^2/dx^2(
or or Fix Fix Solve( Solve(
! ! Sci Sci Σ( Sigma(
r rad Dsz Dsz FMin( FMin(
minY minY Isz Isz FMax( FMax(
minX minX Factor Factor Seq( Seq(
n Statn ViewWindow ViewWindow Min( Min(
sinh−1 sinh^−1 Goto Goto Mean( Mean(
cosh−1 cosh^−1 Prog Prog Median( Median(
tanh−1 tanh^−1 Graph Y= Graph Y= SolveN( SolveN(
b &b Graph Graph Integral MOD( MOD(
10 (10) Graph Y> Graph Y> MOD_Exp( MOD_Exp(
Frac Frac Graph Y< Graph Y< GCD( GCD(
Neg Neg Graph Y≥ Graph Y>= LCM( LCM(
x
' Xrt Graph Y≤ Graph Y<= StdDev( StdDev(
÷ / Graph r= Graph r= Variance( Variance(
and and Graph(X,Y)=( Graph(X,Y)=( Mat Mat
{ frac , Para, Trn Trn
gra ¼Row ¼Row
g
P( ProbP(
maxY maxY Q( ProbQ( ¼Row+ ¼Row+
maxX maxX R( ProbR( Row+ Row+
∑y 2
Sigmay2 t( Probt( Swap Swap
Ans Ans Xmin Xmin Dim Dim
Ran# Ran# Xmax Xmax Fill( Fill(
x̄ x-bar Xscl Xscl Identity Identity
ȳ y-bar Ymin Ymin Augment( Augment(
σx sigmax Ymax Ymax List→Mat( List->Mat(
sx Sx Yscl Yscl Mat→List( Mat->List(
σx sigmay Tmin TThetamin Sum Sum
sy Sy Tmax TThetamax Prod Prod
a Regression_a Tptch TThetaptch Percent Percent
b Regression_b Xfct Xfct Cuml Cuml
r Regression_r Yfct Yfct i Imaginary
^
x x-hat
D Start D Start List List
^
y y-hat
D End D End ΔList Dlist
r <r> ∞ Infinity
D pitch D pitch
 Theta RightXmin RightXmin ∠ Angle
∑y Sigmay RightXmax RightXmax Ref Ref
π pi RightXscl RightXscl Rref Rref
Cls Cls RightYmin RightYmin ' Conv
Rnd Rnd RightYmax RightYmax Sim Coef Sim Coef
Dec &D RightYscl RightYscl Ply Coef Ply Coef
Hex &H RightTmin RightTThetamin Sim Result Sim Result
Bin &B RightTmax RightTThetamax Ply Result Ply Result
Oct &O RightTptch RightTThetaptch n Financial n
‡ @D8 c Regression_c I% Financial I%
Norm Norm d Regression_d PV Financial PV
Deg Deg e Regression_e PMT Financial PMT
Rad Rad Max( Max( FV Financial FV
Gra Gra Det Det List1 List1
Eng Eng Arg Arg List2 List2
Intg Intg Conjg Conjg List3 List3

8-48
Command Text Command Text Command Text
List4 List4 Σbn+2 Sigmabn+2 MSab MSab
List5 List5 Σcn+2 Sigmacn+2 [ns] [ns]
List6 List6 Int÷ Int/ [s] [micros]
Q1 Q1 Rmdr Rmdr [ms] [ms]
Q3 Q3 Fa Fa [s] [s]
x1 x1 n1 n1 [min] [min]
y1 y1 n2 n2 [h] [h]
x2 x2 x̄1 x-bar1 [day] [day]
y2 y2 x̄2 x-bar2 [week] [week]
x3 x3 sx1 sx1 [yr] [yr]
y3 y3 sx2 sx2 [s-yr] [s-yr]
Vct Vct sp Sxp [t-yr] [t-yr]
logab( logab( p̂ p-hat [ C] [Centigrade]
RndFix( RndFix( p̂1 p-hat1 [K] [Kel]
RanInt#( RanInt#( p̂2 p-hat2 [ F] [Fahrenheit]
RanList#( RanList#( Left Left [ R] [Rankine]
RanBin#( RanBin#( Right Right [u] [u]
RanNorm#( RanNorm#( P/Y P/Year [g] [g]
Σan Sigmaan C/Y C/Year [kg] [kg]
Σbn Sigmabn Fb Fb [lb] [lb]
Σcn Sigmacn F F-Value [oz] [oz]
Getkey Getkey z z-Value [slug] [slug]
F Result F Result p p-Value [ton(short)] [ton(short)]
F Start F Start t t-Value [ton(long)] [ton(long)]
F End F End se se [mton] [mton]
F pitch F pitch χ 2
x^2 [l-atm] [l-atm]
R Result R Result r2 r^2 [ft·lbf] [ftlbf]
R Start R Start Adf Adf [calIT] [calIT]
R End R End Edf Edf [calth] [calth]
H Start H Start df df [Btu] [Btu]
H pitch H pitch SSa SSa [kW·h] [kWh]
'Simp >Simp MSa MSa [kgf·m] [kgfm]
an an SSe SSe [Pa] [Pa]
an+ 1
an+1 MSe MSe [kPa] [kPa]
an+2 an+2 Fab Fab [bar] [bar]
n Subscriptn Bdf Bdf [mmH2O] [mmH2O]
a0 a0 ABdf ABdf [mmHg] [mmHg]
a1 a1 pa pa [inH2O] [inH2O]
a 2
a2 pb pb [inHg] [inHg]
bn bn pab pab
2
[lbf/in ] [lbf/in^2]
bn+1 bn+1 CellSum( CellSum( [kgf/cm2] [kgf/cm^2]
bn+2 bn+2 CellProd( CellProd( [atm] [atm]
b 0
b0 CellMin( CellMin( [dyne] [dyne]
b1 b1 CellMax( CellMax( [N] [New]
b 2
b2 CellMean( CellMean( [kgf] [kgf]
anStart anStart CellMedian( CellMedian( [lbf] [lbf]
bnStart bnStart CellIf( CellIf( [tonf] [tonf]
And And Y GraphY [fm] [fm]
Or Or r Graphr [mm] [mm]
Not Not Xt GraphXt [cm] [cm]
Xor Xor Yt GraphYt [m] [m]
Σan+ 1
Sigmaan+1 X GraphX [km] [km]
Σbn+ 1
Sigmabn+1 SSb SSb [Mil] [Mil]
Σcn+ 1
Sigmacn+1 SSab SSab [in] [in]
Σan+2 Sigmaan+2 MSb MSb [ft] [ft]

8-49
Command Text Command Text Command Text
[yd] [yd] IfEnd IfEnd LinearReg(ax+b) LinearReg(ax+b)
[fath] [fath] For For Med-MedLine Med-MedLine
[rd] [rd] To To QuadReg QuadReg
[mile] [mile] Step Step CubicReg CubicReg
[n mile] [n_mile] Next Next QuartReg QuartReg
[acre] [acre] While While LogReg LogReg
[ha] [ha] WhileEnd WhileEnd ExpReg(a·e^bx) ExpReg(ae^bx)
[cm2] [cm^2] Do Do PowerReg PowerReg
2
[m ] [m^2] LpWhile LpWhile S-Gph1 S-Gph1
[km2] [km^2] Return Return S-Gph2 S-Gph2
[in2] [in^2] Break Break S-Gph3 S-Gph3
[ft2] [ft^2] Stop Stop Square Square
[yd2] [yd^2] Locate Locate Cross Cross
[mile2] [mile^2] Send( Send( Dot Dot
[m/s] [m/s] Receive( Receive( Scatter Scatter
[km/h] [km/h] OpenComport38k OpenComport38k xyLine xyLine
[ft/s] [ft/s] CloseComport38k CloseComport38k Hist Hist
[mile/h] [mile/h] Send38k Send38k MedBox MedBox
[knot] [knot] Recieve38k Recieve38k N-Dist N-Dist
[mL] [mL] ClrText ClrText Broken Broken
[L] [Lit] ClrGraph ClrGraph Linear Linear
[tsp] [tsp] ClrList ClrList Med-Med Med-Med
[cm3] [cm^3] LinearReg(a+bx) LinearReg(a+bx) Quad Quad
[m3] [m^3] S-L-Normal S-L-Normal Cubic Cubic
[tbsp] [tbsp] S-L-Thick S-L-Thick Quart Quart
3
[in ] [in^3] S-L-Broken S-L-Broken Log Log
[ft3] [ft^3] S-L-Dot S-L-Dot Exp(a·e^bx) Exp(ae^bx)
[fl_oz(UK)] [fl_oz(UK)] DrawGraph DrawGraph Power Power
[fl_oz(US)] [fl_oz(US)] PlotPhase PlotPhase ExpReg(a·b^x) ExpReg(ab^x)
[cup] [cup] DrawDyna DrawDyna S-WindAuto S-WindAuto
[pt] [pt] DrawStat DrawStat S-WindMan S-WindMan
[qt] [qt] DrawFTG-Con DrawFTG-Con Graph X= Graph X=
[gal(US)] [gal(US)] DrawFTG-Plt DrawFTG-Plt Y=Type Y=Type
[gal(UK)] [gal(UK)] DrawR-Con DrawR-Con r=Type r=Type
[m] [microm] DrawR-Plt DrawR-Plt ParamType ParamType
[mg] [mg] DrawRΣ-Con DrawRSigma-Con X=Type X=Type
[A] [Ang] DrawRΣ-Plt DrawRSigma-Plt X>Type X>Type
[AU] [AstU] DrawWeb DrawWeb X<Type X<Type
[l.y.] [l.y.] NormalG NormalG Y>Type Y>Type
[pc] [pc] ThickG ThickG Y<Type Y<Type
[ft·lbf/s] [ftlbf/s] BrokenThickG BrokenThickG YtType Y>=Type
[calth/s] [calth/s] DispF-Tbl DispF-Tbl YsType Y<=Type
[hp] [hp] DispR-Tbl DispR-Tbl XtType X>=Type
[Btu/min] [Btu/min] SimplifyAuto SimplifyAuto XsType X<=Type
[W] [Wat] SimplifyMan SimplifyMan G-Connect G-Connect
[eV] [eV] NPPlot NPPlot G-Plot G-Plot
[erg] [erg] Sinusoidal Sinusoidal Resid-None Resid-None
[J] [Jou] SinReg SinReg Resid-List Resid-List
[cal15] [cal15] Logistic Logistic BG-None BG-None
[kcal15] [kcal15] LogisticReg LogisticReg BG-Pict BG-Pict
[kcalth] [kcalth] Pie Pie GridOff GridOff
[kcalIT] [kcalIT] Bar Bar GridOn GridOn
If If DotG DotG Exp(a·b^x) Exp(a^bx)
Then Then 1-Variable 1-Variable D Var D Var
Else Else 2-Variable 2-Variable Q1Q3TypeStd Q1Q3TypeStd

8-50
Command Text Command Text Command Text
VarRange VarRange DerivOn DerivOn DrawDistT DrawDistT
Q1Q3TypeOnData Q1Q3TypeOnData LocusOn LocusOn DrawDistChi DrawDistChi
SketchNormal SketchNormal ΣdispOn SigmadispOn DrawDistF DrawDistF
SketchThick SketchThick G SelOn G SelOn None None
SketchBroken SketchBroken T SelOn T SelOn StickLength StickLength
SketchDot SketchDot D SelOn D SelOn StickHoriz StickHoriz
anType anType R SelOn R SelOn IneqTypeOr IneqTypeOr
an+1Type an+1Type DrawOn DrawOn Graph X> Graph X>
an+2Type an+2Type ImpMultiOn ImpMultiOn Graph X< Graph X<
StoPict StoPict ab/c ab/c Graph X≥ Graph X>=
RclPict RclPict d/c d/c Graph X≤ Graph X<=
StoGMEM StoGMEM FuncOff FuncOff StrJoin( StrJoin(
RclGMEM RclGMEM SimulOff SimulOff StrLen( StrLen(
StoV-Win StoV-Win AxesOff AxesOff StrCmp( StrCmp(
RclV-Win RclV-Win CoordOff CoordOff StrSrc( StrSrc(
% Display% LabelOff LabelOff StrLeft( StrLeft(
Data DisplayData DerivOff DerivOff StrRight( StrRight(
Menu Menu LocusOff LocusOff StrMid( StrMid(
RclCapt RclCapt ΣdispOff SigmadispOff Exp'Str( Exp>Str(
Tangent Tangent G SelOff G SelOff Exp( Exp(
Normal Normal T SelOff T SelOff StrUpr( StrUpr(
Inverse Inverse D SelOff D SelOff StrLwr( StrLwr(
Vertical Vertical R SelOff R SelOff StrInv( StrInv(
Horizontal Horizontal DrawOff DrawOff StrShift( StrShift(
Text Text ImpMultiOff ImpMultiOff StrRotate( StrRotate(
Circle Circle 'Dec >&D ClrVct ClrVct
F-Line F-Line 'Hex >&H Str Str
PlotOn PlotOn 'Bin >&B CrossP( CrossP(
PlotOff PlotOff 'Oct >&O DotP( DotP(
PlotChg PlotChg 'DMS >DMS Norm( Norm(
PxlOn PxlOn 'a+bi >a+bi UnitV( UnitV(
PxlOff PxlOff 'r∠ >re^Theta Angle( Angle(
PxlChg PxlChg Real Real NormPD( NormPD(
PxlTest( PxlTest( NormCD( NormCD(
a+bi a+bi
SortA( SortA( InvNormCD( InvNormCD(
r∠ re^Theta
SortD( SortD( tPD( tPD(
EngOn EngOn
VarList1 VarList1 tCD( tCD(
EngOff EngOff
VarList2 VarList2 InvTCD( InvTCD(
Sel a0 Sel a0
VarList3 VarList3 ChiPD( ChiPD(
Sel a1 Sel a1
VarList4 VarList4 ChiCD( ChiCD(
cn cn
VarList5 VarList5 InvChiCD( InvChiCD(
cn+1 cn+1
VarList6 VarList6 FPD( FPD(
cn+2 cn+2
File1 File1 FCD( FCD(
c0 c0
File2 File2 InvFCD( InvFCD(
c1 c1
File3 File3 BinomialPD( BinomialPD(
c2 c2
File4 File4 BinomialCD( BinomialCD(
cnStart CnStart
File5 File5 InvBinomialCD( InvBinomialCD(
IneqTypeAnd IneqTypeAnd
File6 File6 PoissonPD( PoissonPD(
fn fn
Y=DrawSpeedNorm Y=DrawSpeedNorm PoissonCD( PoissonCD(
File File
Y=DrawSpeedHigh Y=DrawSpeedHigh InvPoissonCD( InvPoissonCD(
VarList VarList
FuncOn FuncOn GeoPD( GeoPD(
ClrMat ClrMat
SimulOn SimulOn GeoCD( GeoCD(
ZoomAuto ZoomAuto
AxesOn AxesOn InvGeoCD( InvGeoCD(
Xdot Xdot
CoordOn CoordOn HypergeoPD( HypergeoPD(
RightXdot R-Xdot
LabelOn LabelOn HypergeoCD( HypergeoCD(
DrawDistNorm DrawDistNorm
InvHypergeoCD( InvHypergeoCD(

8-51
Command Text
Smpl_SI( Smpl_SI(
Smpl_SFV( Smpl_SFV(
Cmpd_n( Cmpd_n(
Cmpd_I%( Cmpd_I%(
Cmpd_PV( Cmpd_PV(
Cmpd_PMT( Cmpd_PMT(
Cmpd_FV( Cmpd_FV(
Cash_NPV( Cash_NPV(
Cash_IRR( Cash_IRR(
Cash_PBP( Cash_PBP(
Cash_NFV( Cash_NFV(
Amt_BAL( Amt_BAL(
Amt_INT( Amt_INT(
Amt_PRN( Amt_PRN(
Amt_ΣINT( Amt_SigmaINT(
Amt_ΣPRN( Amt_SigmaPRN(
Cnvt_EFF( Cnvt_EFF(
Cnvt_APR( Cnvt_APR(
Cost( Cost(
Sell( Sell(
Margin( Margin(
PmtEnd PmtEnd
PmtBgn PmtBgn
Bond_PRC( Bond_PRC(
Bond_YLD( Bond_YLD(
DateMode365 DateMode365
DateMode360 DateMode360
PeriodsAnnual PeriodsAnnual
PeriodsSemi PeriodsSemi
Days_Prd( Days_Prd(
OneSampleZTest OneSampleZTest
TwoSampleZTest TwoSampleZTest
OnePropZTest OnePropZTest
TwoPropZTest TwoPropZTest
OneSampleTTest OneSampleTTest
TwoSampleTTest TwoSampleTTest
LinRegTTest LinRegTTest
ChiGOFTest ChiGOFTest
ChiTest ChiTest
TwoSampleFTest TwoSampleFTest
OneWayANOVA OneWayANOVA
TwoWayANOVA TwoWayANOVA
x1InvN x1InvN
x2InvN x2InvN
xInv xInv
zLow zLow
zUp zUp
tLow tLow
tUp tUp

8-52
9. Program Library
• Be sure to check how many bytes of unused memory are remaining before attempting to
perform any programming.

Program Name Prime Factorization


Description
This program continually divides a natural number by factors until all its prime factors are
produced.
Purpose
This program accepts input of natural number A, and divides it by B (2, 3, 5, 7....) to find the
prime factors of A.
• If a division operation does not produce a remainder, the result of the operation is assigned
to A.
• The above procedure is repeated until B > A.

Example 462 = 2 × 3 × 7 × 11

egcw

ww

8-53
Program Name Ellipse
Description
This program displays a number table of the following values based on input of the foci of an
ellipse, the sum of the distance between the loci and foci, and the pitch (step size) of X.
Y1: Coordinate values of upper half of ellipse
Y2: Coordinate values of lower half of ellipse
Y3: Distances between right focus and loci
Y4: Distances between left focus and loci
Y5: Sum of Y3 and Y4
Next, the program plots the foci and values in Y1 and Y2.
Purpose
This program shows that the sums of the distances between the loci and two foci of an ellipse
are equal.

dw

baw

bw

8-54
Chapter 9 Spreadsheet
The Spreadsheet application provides you with powerful, take-along-anywhere spreadsheet
capabilities.
All of the operations in this section are performed in the S • SHT mode.

Important!
• The fx-7400GIII is not equipped with the S • SHT mode.

1. Spreadsheet Basics and the Function Menu


Selecting S • SHT on the Main Menu will display a spreadsheet screen. Entering the S • SHT
mode automatically creates a new spreadsheet file named “SHEET”.
The spreadsheet screen shows a number of cells (squares) and the data contained in each
cell.
File name
Shows as many characters Column letters (A to Z)
as possible of the file name.

Row numbers Cell cursor


(1 to 999)

Edit box
9
Shows the contents of the cell where the cell Function menu
cursor is currently located. When multiple
cells are selected, the edit box indicates the
selected cell range.

You can enter the following types of data into a cell.


Constants A constant is something whose value is fixed as soon as you finalize its input. A
constant can be either a numeric value, or a calculation formula (such as 7+3,
sin30, A1×2, etc.) that does not have an equal sign (=) in front of it.
Text A character string that starts with a quote mark (") is treated as text.
Formula A formula that starts out with an equal sign (=), such as =A1×2, is executed as it
is written.
Note that complex numbers are not supported in the S • SHT mode.

k Spreadsheet Screen Function Menu


• {FILE} ... Displays the following FILE submenu.
• {NEW}/{OPEN}/{SV • AS}/{RECAL}/{CSV}
• {EDIT} ... Displays the following EDIT submenu.
• {CUT}/{PASTE}/{COPY}/{CELL}/{JUMP}/{SEQ}/{FILL}/{SRT • A}/{SRT • D}
• PASTE is displayed only immediately after CUT or COPY is executed.
9-1

You might also like