TI-83 Plus Activities 574
Using a Program to Guess the CoefficientsSetting Up the Program
This program graphs the function A sin(BX) with random integer
coefficients between 1 and 10. Try to guess the coefficients and graph
your guess as C sin(DX). The program continues until your guess is
correct.
Program
PROGRAM:GUESS
:PlotsOff :Func
:FnOff :Radian
:ClrHome
:"Asin(BX)"!Y1
:"Csin(DX)"!Y2 Define equations.
:GraphStyle(1,1)
:GraphStyle(2,5) Set line and path graph styles.
:FnOff 2
:randInt(1,10)!A
:randInt(1,10)!B
:0!C:0!D
Initialize coefficients.
:L2p!Xmin
:2p!Xmax
:pà2!Xscl
:L10!Ymin
:10!Ymax
Set viewing window.