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
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 18 Jan 2005 01:49:13 am    Post subject:

Hiya all...
I'm trying to make a program on the 89 that:
1. Takes something like 3x+c=0 | x=1
2. Solves for c so you get c=-3
3. Displays 3x-3

So far, I have

Code:
Disp solve(3x+c=0 | x=1,c)


Problem is that that displays c=-3, but I want it to display 3x-3. Anyone have any idea how to do it?

And no... the calc doesn't save -3 to the variable c, it saves c = -3 to Ans!
Back to top
Ray Kremer


Member


Joined: 16 Feb 2004
Posts: 237

Posted: 18 Jan 2005 02:20:40 pm    Post subject:

Store the -3 back into c and do
:Disp 3x+c
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 18 Jan 2005 05:04:46 pm    Post subject:

try this:
solve(3x+c=0|x=1,c)->eq
Disp 3x+c|eq
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 UTC - 5 Hours

 

Advertisement