Seqn; Setmode - Texas Instruments TI-Nspire Reference Manual

Reference guide
Hide thumbs Also See for TI-Nspire:
Table of Contents

Advertisement

seqn()

seqn(Expr(u, n [, ListOfInitTerms[, nMax
[, CeilingValue]]])
list
Generates a list of terms for a sequence u(n)=Expr(u, n) as follows:
Increments n from 1 through nMax by 1, evaluates u(n) for
corresponding values of n using the Expr(u, n) formula and
ListOfInitTerms, and returns the results as a list.
seqn(Expr(n [, nMax [, CeilingValue]])
Generates a list of terms for a non-recursive sequence u(n)=Expr(n)
as follows: Increments n from 1 through nMax by 1, evaluates u(n)
for corresponding values of n using the Expr(n) formula, and returns
the results as a list.
If nMax is missing, nMax is set to 2500
If nMax=0, nMax is set to 2500
Note: seqn() calls seqGen( ) with n0=1 and nstep =1

setMode()

modeNameInteger
setMode(
list
integer list
setMode(
)
Valid only within a function or program.
modeNameInteger
setMode(
mode modeNameInteger to the new setting settingInteger, and
returns an integer corresponding to the original setting of that
mode. The change is limited to the duration of the program/
function's execution.
modeNameInteger specifies which mode you want to set. It must
be one of the mode integers from the table below.
settingInteger specifies the new setting for the mode. It must be
one of the setting integers listed below for the specific mode you
are setting.
setMode(list) lets you change multiple settings. list contains
pairs of mode integers and setting integers. setMode(list)
returns a similar list whose integer pairs represent the original
modes and settings.
If you have saved all mode settings with getMode(0)
you can use setMode(var) to restore those settings until the
function or program exits. See getMode(), page 42.
The current mode settings are passed to called
Note:
subroutines. If any subroutine changes a mode setting, the mode
change will be lost when control returns to the calling routine.
Note for entering the example:
application on the handheld, you can enter multi-line definitions
@
·
by pressing
instead of
computer keyboard, hold down
Mode
Mode
Name
Integer
Display Digits
1
Angle
2
90
TI-Nspire™ Reference Guide
list
settingInteger
integer
,
)
settingInteger
temporarily sets
,
)
&
var,
In the Calculator
at the end of each line. On the
and press
.
Alt
Enter
Setting Integers
=Float,
=Float1,
1
2
=Float8,
=Float9,
9
10
=Fix2,
=Fix3,
16
17
=Fix11,
=Fix12
25
26
=Radian,
=Degree,
1
2
Generate the first 6 terms of the sequence u(n) = u(n-1)/2, with
u(1)=
.
2
Display approximate value of
p
Digits, and then display
the default is restored after the program executes.
=Float2,
=Float3,
=Float4,
3
4
5
=Float10,
=Float11,
11
12
=Fix4,
=Fix5,
=Fix6,
18
19
20
=Gradian
3
Catalog >
Catalog >
p
using the default setting for Display
with a setting of Fix2. Check to see that
=Float5,
=Float6,
=Float7,
6
7
8
=Float12,
=Fix0,
=Fix1,
13
14
15
=Fix7,
=Fix8,
=Fix9,
21
22
23
=Fix10,
24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents