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
eboccuzzi


Newbie


Joined: 29 Jul 2008
Posts: 1

Posted: 29 Jul 2008 07:19:25 pm    Post subject:

I've had no luck trying to get help from the TI website.

I'd like to program the TI-89 for the distance formula. I've made some attempts but without success.

Your help would be appreciated.

Regards,

Ed
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 29 Jul 2008 09:59:45 pm    Post subject:

Try this on: √((a-c)^2+(b-d)^2)→distance(a,b,c,d).

There's optimizations and such to that (for example, one could use R▶Pr()), but that makes things harder to understand.

Edit: changed variable names to not overlap with system variables. Boy, was that stupid of me.


Last edited by Guest on 30 Jul 2010 05:15:54 am; edited 1 time in total
Back to top
Loggik


Newbie


Joined: 19 Feb 2011
Posts: 5

Posted: 22 Feb 2011 10:55:39 am    Post subject:

DarkerLine wrote:

Try this on: √((a-c)^2+(b-d)^2)→distance(a,b,c,d).

There's optimizations and such to that (for example, one could use R▶Pr()), but that makes things harder to understand.

Edit: changed variable names to not overlap with system variables. Boy, was that stupid of me.


One thing to note: you can also use "a1" and "a2", just like x1 and x2, so you don't have to use unnecessary variables and so it somewhat resembles the actual formula.
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