EasyManua.ls Logo

Texas Instruments TI-Nspire CAS - Page 146

Texas Instruments TI-Nspire CAS
276 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
146 Alphabetical Listing
remain()
Catalog >
remain(Expr1, Expr2) expression
remain(List1, List2) list
remain(Matrix1, Matrix2) matrix
Returns the remainder of the first
argument with respect to the second
argument as defined by the identities:
remain(x,0)x
remain(x,y)xyiPart(x/y)
As a consequence, note that remain(x,y)
remain(x,y). The result is either zero or it
has the same sign as the first argument.
Note: See also mod(), page 114.
Request
Catalog >
Request promptString, var[,DispFlag
[,statusVar]]
Request promptString, func(arg1, ...argn)
[,DispFlag [,statusVar]]
Programming command: Pauses the
program and displays a dialog box
containing the message promptString and
an input box for the user’s response.
When the user types a response and clicks
OK, the contents of the input box are
assigned to variable var.
If the user clicks Cancel, the program
proceeds without accepting any input. The
program uses the previous value of var if
var was already defined.
The optional DispFlag argument can be
any expression.
If DispFlag is omitted or evaluates to 1,
the prompt message and user’s response
are displayed in the Calculator history.
If DispFlag evaluates to 0, the prompt
and response are not displayed in the
history.
Define a program:
Define request_demo()=Prgm
Request “Radius: ”,r
Disp “Area = “,pi*r
2
EndPrgm
Run the program andtype a response:
request_demo()
Resultafter selecting OK:
Radius: 6/2
Area= 28.2743

Other manuals for Texas Instruments TI-Nspire CAS

Related product manuals