Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. 68k Calculator Basic => TI-BASIC
Author Message
tqn


Newbie


Joined: 02 Mar 2009
Posts: 1

Posted: 02 Mar 2009 04:44:38 pm    Post subject:

Is there a way to save an equation to an expression variable without having it being evaluated first?
For example, I have an equation y = x^2 + 2 * x^2 in a string variable call eqstr, to save it to
an expression variable eqexpr, I wrote: expr(eqstr) -> eqexpr. But now eqexpr contains y = 3 * x^2
instead of y = x^2 + 2 * x^2.

I know the numeric solver can do this, but don't know if it can be done in TI-Basic. If anybody has any idea,
please let me know. Thanks for your help. BTW, I'm programming for the the TI-89 Titanium.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 02 Mar 2009 07:09:44 pm    Post subject:

The only way to avoid simplification is to keep it stored as a string. What precisely do you need the unsimplified version of the expression for?
Back to top
Display posts from previous:   
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
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are GMT - 5 Hours

 

Advertisement