Programming A Calculation; Storing/Executing/Deleting Program; Useful Program Commands - Casio fx-3650P Programming Manual

Programmable scientific calculator
Hide thumbs Also See for fx-3650P:
Table of Contents

Advertisement

Basic Operation for fx-3650P/3950P

Programming a Calculation

• The program storage area has about 360 bytes, which can be
divided among up to four different programs named P1, P2, P3,
and P4.
• To perform program calculation operations, press
which displays the screen shown below. Next, press the number
key that corresponds to the mode you want to select.
PRGM RUN PCL
1
(PRGM) . . Edit Prog Mode for inputting and editing programs.
1
(RUN) . . . Mode for running programs.
2
(PCL) . . . . Clear Prog Mode for deleting programs.
3
Storing a Program
Use the following procedure to specify the Edit Prog Mode and
store a program in memory.
Edit Prog. . . . . . . . . . . . . . . . . . . . . . . . . . . .
• Example: To create a program that uses Heron's formula to cal-
culate the area of a triangle based on the lengths of its three
sides
(
) s B
(
Formula:
S
=
s s A
1. Enter the Edit Prog Mode, which displays the screen shown
below.
Ed i t P r o g
P-1234 308
2. Select the program number (P1 to P4) to which you want to
assign the program.
Ex.:
(Program P2)
2
-
3. Input the program.
Program
? → A: ? → B: ? → C: (A + B + C) ÷ 2 → D
– B) × (D – C):
√ Ans
• To input a colon (:), press
• To input → A", press
SHIFT
• You can also input a variable name using the
"X" for example, press
ALPHA
• To input a question mark (?), right arrow ( → ), colon (:), or out-
put command (
), press
keys
through
1
4
want. See "Useful Program Commands" on page 40 for more
information.
4. Press
AC
MODE
MODE
MODE
■ Editing a Program
• While a program's contents are on the display in the Edit Prog
Mode, you can use
and
tion you want to edit.
• Press
to delete the function at the current cursor location.
DEL
• Use the insert cursor (page 9) when you want to insert a new
statement into a program.
Executing a Program
The procedure in this section shows how to execute a program in
the COMP Mode.
Perform the following key operation to enter the COMP Mode.
COMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
• Example: To create a program that uses Heron's formula to cal-
culate the area of a triangle whose three sides measure A = 30,
B = 40, C = 50
1. Execute the program.
(In the COMP Mode)
Prog
Specify the number of the program you want to execute.
2
MODE
MODE
2 3
PRGM
MODE
MODE
MODE
) s C
(
)
Note that: s = (A + B + C) /2.
If there is already a
program in memory, its
number appears on the
PRGM
display.
Remaining capacity (bytes)
PRGM
000
Number of bytes used by program P2.
D × (D – A) × (D
.
EXE
.
STO
A
key. To input
ALPHA
.
X
, and then use number
SHIFT
SHIFT
P-CMD
to select the mark or command you
to exit program input.
2
to move the cursor to the loca-
MODE
2
2. Input the values required for the calculation.
A? 30
EXE
B? 40
,
EXE
MODE
C? 50
EXE
3. Press
to resume program execution.
EXE
Deleting a Program
Use the following procedure to specify the Clear Prog Mode and
delete a program from memory.
Clear Prog . . . . . . . . . . . . . . . . . . . . . . . . . . .
• You can also enter the Clear Prog Mode by pressing
1
the Edit Prog screen is on the display.
• You can select programs individually by specifying a program
number from P1 through P4.
1. Enter the Clear Prog Mode, which displays the screen shown
below.
2. Select the program number (P1 to P4) of the program you want
to delete.
• Example:
1
• The number of the program you selected disappears from the
upper part of the display, and remaining memory capacity
increases by the size of the deleted program.
• Note that the only way to delete all the programs in memory (P1
through P4) is to perform the reset operation (page 11).

Useful Program Commands

In addition to mathematical calculations, there are also a number of
useful program commands you can use to perform loops and
define conditions.
■ Program Command Menus
Press
SHIFT
P-CMD
mands.
• The program command menu has three screens. Use the
and
keys to display the menu screen you want.
• To input one of the commands currently on the screen, press a
number key from
• Basic Commands
(?) . . . . . Operator input command
1
( → ) . . . Assign to variable command
2
(:) . . . . . Multi-statement separator code
3
(
) . . . Output command
4
• Conditional Jump Commands
( ⇒ ) . . . Jump code (when condition is met)
1
( = ) . . . Relational operator
2
( ≠ ) . . . Relational operator
3
RUN
( > ) . . . Relational operator
4
( ≧ ) . . . Relational operator
5
• Unconditional Jump Commands
2 1
(Goto) . . Jump command
1
(Lbl). . . . Label
2
PRGM
PCL
(A+B+C) 2 D
60.
Disp
The program number disappears after
program execution is complete.
Ans
600.
(Area)
PRGM
C l e a r P r o g
P-1234 247
(Program P1)
to display a menu of available program com-
through
1
5
?
:
1 2
3 4
1 2 3 4 5
Go t o L b l
1
2
RUN
(Assigns the result of
D = (A + B + C)
2 to
variable D.)
PCL
3
MODE
MODE
MODE
while
DEL

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3950pFx-3950p

Table of Contents