When(); While; With - Texas Instruments TI-NSPIRE Reference Manual

Ti ti-nspire: reference guide
Hide thumbs Also See for TI-NSPIRE:
Table of Contents

Advertisement

W

when()

Condition
trueResult
when(
,
expression
Returns trueResult, falseResult, or unknownResult, depending on
whether Condition is true, false, or unknown. Returns the input if
there are too few arguments to specify the appropriate result.
Omit both falseResult and unknownResult to make an expression
defined only in the region where Condition is true.
falseResult to define an expression that graphs only
Use an
undef
on an interval.
is helpful for defining recursive functions.
when()

While

Condition
While
Block
EndWhile
Executes the statements in Block as long as Condition is true.
Block can be either a single statement or a sequence of statements
separated with the ":" character.
Note for entering the example:
on the handheld, you can enter multi-line definitions by pressing
@
·
instead of
at the end of each line. On the computer
keyboard, hold down
and press
Alt

"With"

TI-Nspire™ Reference Guide
falseResult
unknownResult
[,
][,
In the Calculator application
.
Enter
])
Catalog >
Catalog >
|
("with"), page 106.
See
89

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ns/clm/1l1/b - nspire math and science handheld graphing calculatorTi-nspire

Table of Contents