Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TI-Basic: How do you get an equation as an input?

Tags:

ti-basic

I was playing around with programming on my TI-84 in math class today and I decide to try to write a program that reads an equation and than does a few things with it. But I'm having trouble reading an equation. I tried :Prompt Y1 but I kept getting a data type error when I try to use the program. Does anyone have any ideas on how to accomplish this? Thanks in advance.

like image 821
Adam P Avatar asked Mar 29 '11 19:03

Adam P


1 Answers

Alternatively, you can do

:Input "Eqn:",Str1
:String>Equ(Str1,Y1)
:DispGraph

This way you don't have to put in quotation marks each time you enter an equation.

As noted by Timtech, there is an easier way of writing this.

:String►Equ(Str1,Y1
can be
:Str1→Y1

This replacement is universal, takes the same time to run (because it actually uses the same routines), is more convenient to type since you don't have to go through the command catalog, and is two bytes smaller.

Excerpt from the TI-Basic Developer Information Repository.

like image 142
Zenohm Avatar answered Sep 30 '22 11:09

Zenohm