Calculator User Manual

Chapter 20: A to Z Function and Instruction Reference
357
20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 357 of 11820ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 357 of 118
SinR
STAT CALC menu
Built-in equation variables
such as
y1
,
r1
, and
xt1
are
case-sensitive. Do not use
Y1
,
R1
, and
XT1
.
If you specify a period, the
TI
-
86 may find a solution
more quickly or it may find
a solution when one would
not have been found
otherwise.
SinR
[
iterations
,
]
xList
,
yList
[
,
period
]
,
equationVariable
Attempts to fit a sinusoidal regression model
(y=a sin(bx+c)+d) to real data pairs in
xList
and
yList
,
using an optional estimated
period
. The regression
equation is stored to
equationVariable
, which must be a
built-in equation variable such as
y1
,
r1
, and
xt1
. The
equation’s coefficients always are stored as a list to
built-in variable
PRegC
.
iterations
is optional; it specifies the maximum number
of times (1 through 16) the TI
-
86 will attempt to find a
solution. If omitted, 8 is used. Typically, larger values
result in better accuracy but longer execution times,
and vice versa.
If you omit the optional
period
, the difference between
values in
xList
should be equal and in sequential order.
If you specify
period
, the differences between x values
can be unequal.
Values used for
xList
and
yList
are stored automatically
to built-in variables
xStat
and
yStat
, respectively. The
regression equation is stored also to built-in equation
variable
RegEq
.
The output of
SinR
is always in radians, regardless of
the angle mode setting.
seq(x,x,1,361,30)
L1
b
{1 31 61 91 121 151 …
{5.5,8,11,13.5,16.5,19,19.5,17,
14.5,12.5,8.5,6.5,5.5}
L2
b
{5.5 8 11 13.5 16.5…
SinR L1,L2,y1
b
Plot1(1,L1,L2)
b
Done
ZData
b
SinR
[
iterations
,
]
xList
,
yList
[
,
period
]
Stores the regression equation to
RegEq
only.