Using A Program To Guess The Coefficients - Texas Instruments TI-83 Manual Book

Ti ti-83: user guide
Hide thumbs Also See for TI-83:
Table of Contents

Advertisement

Using a Program to Guess the Coefficients

Setting Up the
Program
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:GUESS
:PlotsOff :Func
:FnOff :Radian
:ClrHome
:"Asin(BX)"!Y1
:"Csin(DX)"!Y2
:GraphStyle(1,1)
:GraphStyle(2,5)
:FnOff 2
:randInt(1,10)!A
:randInt(1,10)!B
:0!C:0!D
:L2p!Xmin
:2p!Xmax
:pà2!Xscl
:L10!Ymin
:10!Ymax
:1!Yscl
:DispGraph
:Pause
:FnOn 2
:Lbl Z
:Prompt C,D
:DispGraph
:Pause
:If C=A
:Text(1,1,"C IS OK")
:If CƒA
:Text(1,1,"C IS WRONG")
:If D=B
:Text(1,50,"D IS OK")
:If DƒB
:Text(1,50,"D IS WRONG")
:DispGraph
:Pause
:If C=A and D=B
:Stop
:Goto Z
Define equations.
Set line and path graph
styles.
Initialize coefficients.
Set viewing window.
Display graph.
Prompt for guess.
Display graph.
Display results.
Display graph.
Quit if guesses are
correct.
Applications 17-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

83cml/ili/u - 83 plus graphics calc

Table of Contents