Repeat
‡ program editor
CTL menu
(Repea shows
on menu)
Return
‡ program editor
CTL menu
(Retur shows
on menu)
RK
† graph format screen
(scroll down to
second screen)
:Repeat
condition
:
commands-to-repeat
:End
commands
:
Executes commands-to-repeat until condition is true.
Return
In a subroutine, exits the subroutine and returns to the
calling program. In the main program, stops execution
and returns to the home screen.
RK
In
graphing mode, uses an algorithm based on the
DifEq
Runge-Kutta method to solve differential equations.
Typically,
RK
is more accurate than
longer to find the solutions.
Chapter 20: A to Z Function and Instruction Reference
Program segment:
:6¶N
:1¶Fact
:Repeat N<1
: Fact¹N¶Fact
: N
:End
:Disp "6!=",Fact
Program segment in the calling program:
:Input "Diameter:",DIAM
:Input "Height:",HT
:AREACIRC
:VOL=AREA¹HT
:Disp "Volume =",VOL
AREACIRC subroutine program:
PROGRAM:AREACIRC
:RADIUS=DIAM/2
:AREA=p¹RADIUS
:Return
Euler
but takes
©
N
1¶N
©
©
©
2
345