Re: Trig program for 86/ need help


[Prev][Next][Index][Thread]

Re: Trig program for 86/ need help



>  This program sets the window and allows input of A,B,C,D values to the
>  equation  Y=A*sin(BX + C) + D
>
>  When I get to the line  : -> Y1, I get error 07 syntax and the equation
>  is not storing to the y(x)= section to be displayed on the graph. We do
>  have this working on a 83 but need it to run on the 86 too
>
>  PROGRAM:TRIGFUNC
>  :FnOff
>  :Radian
>  :ZTrig
>  :Disp "Y=Asin(BX + C) + D"
>  :Prompt A,B,C,D
>  :"A*sin(BX + C) + D "
>  :->Y1
>  DrawF Y1
>
>  tia

In addition to joining the line  ->Y1  on to the end of the preceding
line, as suggested by another responder, I think you may want to correct
the argument of  sin(   to   B*X + C .  The possibility of two-letter
variable names on the TI-86 (and other higher-end TI models) is a
common headache to the person switching back and forth between this
environment and simpler calcs, or pencil and paper, where BX always
means B times X !

RWW Taylor
National Technical Institute for the Deaf
Rochester Institute of Technology
Rochester NY 14623

>>>> The plural of mongoose begins with p. <<<<