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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With