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. TI-Basic Brain Teasers => TI-BASIC
Author Message
nitacku


Advanced Member


Joined: 23 Aug 2005
Posts: 408

Posted: 31 Mar 2007 08:23:01 pm    Post subject:

Here is a teaser, but not one that I have an answer to.

Create a program to extract the nth digit of pi given the positive integer n.

I have tried to find programs on the internet to do this, but apparently it's still one of the words unsolved mysteries.
There does exist a certain method using numbers of base 16, but I am unable to understand the process by which it works in order to turn it into a program.
Back to top
WikiGuru
ADOS (Attention deficit... Oh! Shiny!)


Elite


Joined: 15 Sep 2005
Posts: 923

Posted: 31 Mar 2007 08:32:02 pm    Post subject:

You could calculate pi to the nth digit then display the nth digit
Oh, btw, it's not April 1 here yet. You should make it so that it changes according to the time zones we're accessing it from if that was your intention.


Last edited by Guest on 31 Mar 2007 08:32:36 pm; edited 1 time in total
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 01 Apr 2007 11:02:41 am    Post subject:

I'm pretty sure there's no good way to calculate the Nth decimal digit ("good" here means "without calculating the previous N-1").
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