Why can't it display imaginary numbers?
You can't use it as a variable but you can output the character by including a quotation mark at the beginning as with standard text.
Reapex wrote:
I mean what is the technical limitation that disallows the display of an imaginary number value.
Take your imaginary number, strip off the imaginary unit, and then display that followed by 'i' - problem solved.
Kllrnohj wrote:
Reapex wrote:
I mean what is the technical limitation that disallows the display of an imaginary number value.
Take your imaginary number, strip off the imaginary unit, and then display that followed by 'i' - problem solved.
@Reapex, not to insult your intelligence, but if your imaginary number is in Ans, just use
Code:
Text(1,1,real(Ans),"i
Reapex wrote:
I mean what is the technical limitation that disallows the display of an imaginary number value.
Laziness on the part of TI's programmers? There's nothing that would prevent them from recognizing a complex (%f+%fi) or imaginary (%fi) number and displaying it as such. Since they didn't do so, we have to go through the trouble of making up display methods ourselves. Reapex wrote:
Well, that's rather stupid.
No arguments here. That's just the TI-OS, and that's why we should make our own OS. KermMartian wrote:
Reapex wrote:
Well, that's rather stupid.
No arguments here. That's just the TI-OS, and that's why we should make our own OS. Doors OS!
How about this?
Code:
Code:
:If not(imag(Ans
:Then
:Text(1,1,Ans
:Else
:If not(real(Ans
:Text(1,1,imag(Ans),"i
:If real(Ans
:Text(1,1,real(Ans),"+",imag(Ans),"i
:End
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement