Thread Closed

ti89: display text and variable

 
Share Thread Thread Tools
Feb27-09, 01:17 AM   #1
 

ti89: display text and variable


with ti89, how can i display both text and variable on the same line?
i tried
Code:
"the answer is " + b
and a bunch of other things but nothing has worked so far

edit:
it said somewhere on tnhe internet that i can do:
Code:
"the answer is " b
but when i run the program all you see is
7 "the answer is "
instead of
the answer is 7
then when go back to edit the code it is automatically set to
Code:
"the answer is "*b
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Hong Kong launches first electric taxis
>> Morocco to harness the wind in energy hunt
>> Galaxy's Ring of Fire
Feb27-09, 05:36 PM   #2
 
I think the TI-89 treats "expA expB" as a request to multiply expA and expB together.

It's been awhile but what I suggest doing is converting b to a string, then adding it to your normal string. So like it would be

"the answer is " + string(b)

"string" may not be the name of the conversion function but there must be some way to go number->string.
 
Feb28-09, 09:13 PM   #3
 
ok that doesnt work either but i finally did find out. pretty much what you have, except instead of + you have to use &
 
Thread Closed
Thread Tools


Similar Threads for: ti89: display text and variable
Thread Forum Replies
Develop a program to display a number, on a single 7 segment LED display Computing & Technology 6
Display a number, on a single 7 segment LED display Introductory Physics Homework 0
Imaginary #'s TI89 Calculators 9
help with Ti89 Calculators 2
Ti89 error Calculators 5