Using a program to guess the coefficients, Setting up the program, Program – Texas Instruments TI-83 PLUS User Manual

Page 577

Advertising
background image

TI-83 Plus

Activities

574

Using a Program to Guess the Coefficients

Setting 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

:2

p!Xmax

:

pà2!Xscl

:

L10!Ymin

:10!Ymax

Set viewing window.

Advertising
This manual is related to the following products: