908 Appendix A: Functions and Instructions

() (square root) 2]key
(
expression1
)
expression
(
list1
)
list

Returns the square root of the argument.

For a list, returns the square roots of all the

elements in

list1.

(4) ¸ 2
({9,a,4}) ¸ {3 a 2}

Π() (product) MATH/Calculus menu
Π
ΠΠ
Π(
expression1
,
var
,
low
,
high
)
expression

Evaluates

expression1

for each value of

var

from

low

to

high

, and returns the product of the results.

Π(1/n,n,1,5) ¸ 1
120
Π(k^2,k,1,n) ¸ (n!)ñ
Π({1/n,n,2},n,1,5) ¸
{1
120 120 32}
Π
ΠΠ
Π(
expression1
,
var
,
low
,
low
ì1)
1 Π(k,k,4,3) ¸ 1
Π
ΠΠ
Π(
expression1
,
var
,
low
,
high
)
1
/
Π(
expression1, var, high+1, lowì1) if
high
< lowì1
Π(1/k,k,4,1) ¸ 6
Π(1/k,k,4,1)ùΠ(1/k,k,2,4) ¸
1/4

G() (sum) MATH/Calculus menu
G
GG
G(
expression1
,
var
,
low
,
high
)
expression

Evaluates

expression1

for each value of

var

from

low

to

high

, and returns the sum of the results.

G(1/n,n,1,5) ¸ 137
60
G(k^2,k,1,n) ¸
nø(n + 1)ø(2øn + 1)
6
G(1/n^2,n,1,ˆ) ¸ pñ
6
G
GG
G(
expression1
,
var
,
low
,
low
ì1)
0 G(k,k,4,3) ¸ 0
G
GG
G(
expression1
,
var
,
low
,
high
)
ëG
GG
G(
expression1, var, high+1,
low
ì1) if
high
< lowì1
G(k,k,4,1) ¸ ë5
G(k,k,4,1)+G(k,k,2,4) ¸ 4

# (indirection) CATALOG
#
varNameString

Refers to the variable whose name is

varNameString

. This lets you create and modify

variables from a program using strings.

Program segment:

©
:Request "Enter Your Name",str1
:NewFold #str1
©
©
:For i,1,5,1
: ClrGraph
: Graph iùx
: StoPic #("pic" & string(i))
:EndFor
©