User Guide

Chapter 17: Activities 314
Note: The Guess My Coefficients App is an educational game that challenges you to enter the
correct coeffiecients for graphs of linear, quadratic and absolute value functions. This app is
available at e
ducation.ti.com.
:"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
:2!Xscl
:L10!Ymin
:10!Ymax
:1!Yscl
Set viewing window.
:DispGraph
:Pause
Display graph.
:FnOn 2
:Lbl Z
:Prompt C,D
Prompt for guess.
:DispGraph
:Pause
Display graph.
: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")
Display results.
:DispGraph
:Pause
Display graph.
:If C=A and D=B
:Stop
:Goto Z
Quit if guesses are correct.