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 Technology & Calculator Open Topic 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. Calculator Tech Support => Technology & Calculator Open Topic
Author Message
v0dKA


Newbie


Joined: 04 Mar 2006
Posts: 11

Posted: 25 Feb 2009 04:38:22 pm    Post subject:

Hi,

Frequently, when using the Solve() function on my TI-89, I get multiple solutions, and I want to be able to quickly extract just one of them so I could use it in my next entry without having to retype it.

For example:

Solve(x^2+x-12=0,x)
x = -4 or x = 3

Suppose I need the x=3 solution for the next step in solving some problem. It's no problem to just retype it in this example, but suppose I had done:

Solve((x^2)/(.1-x)=1.8E-4,x)
x = -.0043335951739062 or x = .0041535951739062

What I usually do is scroll up once to highlight these solutions, hit enter to paste them into the entry line, and then painstakingly remove everything that I do not want to keep. (So in the end I'm left with only the .0041535951739062). That's a lot of time wasted on the exam.

Is there a quicker way to keep only the second solution from the Solve() command?
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 25 Feb 2009 05:26:08 pm    Post subject:

You could use the zeros() or cZeros() functions (in which case you would omit the =0 part, or replace A=B with (A)-(B), in the equations). Then ans(1)[1] and ans(1)[2] would give the first and second solutions, and so on.

You could also use solve(), but type exp►list(ans(1))[2] to get the second solution -- exp►list() just converts solutions separated by "or" to a list.


Last edited by Guest on 25 Feb 2009 05:26:48 pm; edited 1 time in total
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