Author Topic: [JAVA] Calculate Pi!  (Read 19308 times)

0 Members and 1 Guest are viewing this topic.

Offline Tomcat

  • Newbie
  • *
  • Posts: 6
  • Hi! I'm new!
    • View Profile
Re: [JAVA] Calculate Pi!
« Reply #45 on: November 14, 2005, 09:01:58 pm »
Yeah I saw something I knew about, and decided to go ahead and post about it.  I didn't read past page 2.  Oops  ;D ;D

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: [JAVA] Calculate Pi!
« Reply #46 on: November 14, 2005, 09:10:53 pm »
By the way, e is more formally defined as one of the following (I learned it in Calculus about two months ago, but I'm ripping the images from Wikipedia):






Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: [JAVA] Calculate Pi!
« Reply #47 on: November 14, 2005, 09:42:24 pm »
I don't see how e can be the sum of 1/n! from 0 to infinity.  1/0! = 1/0 = undefined.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline d&q

  • Hero Member
  • *****
  • Posts: 1427
  • I'm here.
    • View Profile
    • Site
Re: [JAVA] Calculate Pi!
« Reply #48 on: November 15, 2005, 03:11:17 pm »
Wrong  :-*! 0! = 1.
The writ of the founders must endure.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: [JAVA] Calculate Pi!
« Reply #49 on: November 15, 2005, 03:55:16 pm »

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: [JAVA] Calculate Pi!
« Reply #50 on: November 15, 2005, 05:09:34 pm »
Wrong  :-*! 0! = 1.
Oh yeah that's right.  *reaches back 3 years* I remember arguing over that with my calculus teacher.  He won.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: [JAVA] Calculate Pi!
« Reply #51 on: November 15, 2005, 10:16:08 pm »
Oh yeah that's right.  *reaches back 3 years* I remember arguing over that with my calculus teacher.  He won.

Haha.  I don't think I ever remember learning the reasoning behind it.  I just remember learning 0! = 1. :)

Offline d&q

  • Hero Member
  • *****
  • Posts: 1427
  • I'm here.
    • View Profile
    • Site
Re: [JAVA] Calculate Pi!
« Reply #52 on: November 15, 2005, 10:41:44 pm »
Basically, its that you can only arrange nothing in one way.
The writ of the founders must endure.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: [JAVA] Calculate Pi!
« Reply #53 on: November 15, 2005, 11:28:42 pm »
Basically, its that you can only arrange nothing in one way.

Makes perfect sense. :)

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: [JAVA] Calculate Pi!
« Reply #54 on: November 16, 2005, 03:12:22 pm »
By the way, here's another math problem: Are there more natural numbers (1, 2, 3, ...) or integers (...., -2, -1, 0, 1, 2, ....)?

For every natural number x, there are two integers, x and -x.  So there are twice as many integers as naturals numbers, plus 1 (for 0).  Right?

Offline Hitmen

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 1913
    • View Profile
Re: [JAVA] Calculate Pi!
« Reply #55 on: November 16, 2005, 03:17:12 pm »
By the way, here's another math problem: Are there more natural numbers (1, 2, 3, ...) or integers (...., -2, -1, 0, 1, 2, ....)?

For every natural number x, there are two integers, x and -x.  So there are twice as many integers as naturals numbers, plus 1 (for 0).  Right?
Well, there's an infinate number for both, one just gets to infinity slightly faster :)
Quote
(22:15:39) Newby: it hurts to swallow

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: [JAVA] Calculate Pi!
« Reply #56 on: November 16, 2005, 04:59:02 pm »
Actually, if either could reach infinity, neither would be faster.

Offline d&q

  • Hero Member
  • *****
  • Posts: 1427
  • I'm here.
    • View Profile
    • Site
Re: [JAVA] Calculate Pi!
« Reply #57 on: November 16, 2005, 05:10:24 pm »
There are varying levels of infinity. Numerically, as in counting from 1, 2 ,3, 4 etc, they are infinity, but cardinally, as in {1, 2, 3, ...}, integers are greater. I believe they are alaph numbers..

[Edit]: Whoops, Aleph* Numbers
« Last Edit: November 16, 2005, 05:12:02 pm by Deuce »
The writ of the founders must endure.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: [JAVA] Calculate Pi!
« Reply #58 on: November 16, 2005, 06:48:08 pm »
No number set will ever reach infinite.  Infinite isn't a value, it's a concept.

Offline d&q

  • Hero Member
  • *****
  • Posts: 1427
  • I'm here.
    • View Profile
    • Site
Re: [JAVA] Calculate Pi!
« Reply #59 on: November 16, 2005, 08:43:25 pm »
Not reach infinite, be infinite.  :o
The writ of the founders must endure.