Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. pi

pi

Scheduled Pinned Locked Moved The Lounge
graphicsquestion
107 Posts 35 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Maunder

    When the meds have kicked in take a look at transcendental numbers[^]. Pi's not only irrational, it's also transcendental. cheers, Chris Maunder

    CodeProject.com : C++ MVP

    J Offline
    J Offline
    Jeremy Falcon
    wrote on last edited by
    #16

    Chris Maunder wrote:

    Pi's not only irrational, it's also transcendental.

    :doh: Back to the books for me. :laugh: Jeremy Falcon

    1 Reply Last reply
    0
    • C code frog 0

      Work the proof for PI you might find that is exactly what you need. http://en.wikipedia.org/wiki/Pi[^]

      A Plain English signature. Code-frog System Architects, Inc.

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #17

      It still didn't address the why. If it did, I didn't understand it. :) Jeremy Falcon

      C C V 3 Replies Last reply
      0
      • S Super Lloyd

        it's not infinite, it's 3.14159265.... infinite is much bigger than that! ;P do you mean never repeat? 1st I believe you could have never repeating rationale (integer / integer) as well, this is simply an artefact of decimal notation. 2nd: yes PI is very special, it's a not even a real such as SQRT(2). Real number (as opposed to rational and integer) are solutino to polynomes equation (e.g. x^2 = 2) No Polynome with real parammters has PI has its solution. (same for 'e' (i.e. 2.7182818...)) they solve an other class of problem altogether...

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #18

        Super Lloyd wrote:

        do you mean never repeat?

        I was under the impression it was infinite, just as 1/3 would also be. Jeremy Falcon

        S D 2 Replies Last reply
        0
        • S Super Lloyd

          it's not infinite, it's 3.14159265.... infinite is much bigger than that! ;P do you mean never repeat? 1st I believe you could have never repeating rationale (integer / integer) as well, this is simply an artefact of decimal notation. 2nd: yes PI is very special, it's a not even a real such as SQRT(2). Real number (as opposed to rational and integer) are solutino to polynomes equation (e.g. x^2 = 2) No Polynome with real parammters has PI has its solution. (same for 'e' (i.e. 2.7182818...)) they solve an other class of problem altogether...

          V Offline
          V Offline
          Vikram A Punathambekar
          wrote on last edited by
          #19

          Super Lloyd wrote:

          PI is very special, it's a not even a real such as SQRT(2).

          What do you mean? :wtf: Of course PI is a real number! The definition of a real number is that it's square should be nonnegative. And PI * PI is nonnegative. Cheers, Vikram.


          I don't know and you don't either. Militant Agnostic

          S C 2 Replies Last reply
          0
          • V Vikram A Punathambekar

            Super Lloyd wrote:

            PI is very special, it's a not even a real such as SQRT(2).

            What do you mean? :wtf: Of course PI is a real number! The definition of a real number is that it's square should be nonnegative. And PI * PI is nonnegative. Cheers, Vikram.


            I don't know and you don't either. Militant Agnostic

            S Offline
            S Offline
            Super Lloyd
            wrote on last edited by
            #20

            As Chris Munder said, it's a Transcendental number[^], much more uncommon than mere real number.

            V N 2 Replies Last reply
            0
            • J Jeremy Falcon

              It still didn't address the why. If it did, I didn't understand it. :) Jeremy Falcon

              C Offline
              C Offline
              code frog 0
              wrote on last edited by
              #21

              Gosh you got me. I remember doing this in school and I remember using it with integrals and the special number e. Your question doesn't seem to have a conclusive answer from mathematics other than, "Most mathematicians agree that PI is infinite, irrational and transcendental and would be very surprised to learn it wasn't." I remember one form of something we did was that prove pi isn't infinite. So we tried picking a ratio of integers to prove that but the ratio went on forever and a proof was used to demonstrate that. I don't remember the specifics but anyway... Get yourself a couple hundred crays and work it out. I guess they have PI to trillions of non repeating decimals so you'd need a few crays for sure...:omg:

              A Plain English signature. Code-frog System Architects, Inc.

              1 Reply Last reply
              0
              • J Jeremy Falcon

                Sean Cundiff wrote:

                All irrational numbers have the property that they are infinitely long, otherwise it would be possible to write them as P/Q and thus be a rational number.

                Ok that makes sense. Given what you and Chris said, I suppose the idea I'm trying to understand then is why is Pi an irrational number? What makes it go on forever? And yeah, I'm trying to improve my math skills, so bear with me. :-O Jeremy Falcon

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #22

                Jeremy Falcon wrote:

                What makes it go on forever?

                It's a number that is computed by an infinite series of smaller and smaller parts. For example, look at this.[^] Besides a lot of complicated equations, there's this very simple one: pi/4 = 1 - 1/3 + 1/5 - 1/7 ... You can see how the series is infinite, but smaller and smaller. So that's what makes it go on forever, and the resulting number is irrational, as discussed in the previous posts. Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures

                C J 2 Replies Last reply
                0
                • J Jeremy Falcon

                  It still didn't address the why. If it did, I didn't understand it. :) Jeremy Falcon

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #23

                  Change the question around. Instead of asking "why can't Pi be expressed as P/Q", ask yourself "Why should any random real number (ie not an integer, not a complex number) be lucky enough to be expressable as P/Q" To have a number be able to be expressed, exactly, as a ratio of two other numbers is pretty remarkable. cheers, Chris Maunder

                  CodeProject.com : C++ MVP

                  1 Reply Last reply
                  0
                  • J Jeremy Falcon

                    Super Lloyd wrote:

                    do you mean never repeat?

                    I was under the impression it was infinite, just as 1/3 would also be. Jeremy Falcon

                    S Offline
                    S Offline
                    Super Lloyd
                    wrote on last edited by
                    #24

                    Ha.. but in that case it could be expressed as simple rational such as: big number divided by big power of ten. And why that couldn't be I hear you ask? 1st it would be funny that 10 would be a relevant number for a circle but why not.... Anyway, while I do not know the reason for that myself I could argue that this guy Ferdinand von Lindeman[^] proved PI was transcendental (no solution of any polynome with ration parameter), hence it obviously never repeat

                    J 1 Reply Last reply
                    0
                    • M Marc Clifton

                      Jeremy Falcon wrote:

                      What makes it go on forever?

                      It's a number that is computed by an infinite series of smaller and smaller parts. For example, look at this.[^] Besides a lot of complicated equations, there's this very simple one: pi/4 = 1 - 1/3 + 1/5 - 1/7 ... You can see how the series is infinite, but smaller and smaller. So that's what makes it go on forever, and the resulting number is irrational, as discussed in the previous posts. Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures

                      C Offline
                      C Offline
                      Chris Maunder
                      wrote on last edited by
                      #25

                      Marc Clifton wrote:

                      So that's what makes it go on forever

                      Actually not quite. Infinite series can easily add up to a rational number, or even an integer. 1/2 + 1/4 + 1/8 + ... = 1 cheers, Chris Maunder

                      CodeProject.com : C++ MVP

                      -- modified at 22:38 Thursday 16th March, 2006

                      M 1 Reply Last reply
                      0
                      • V Vikram A Punathambekar

                        Super Lloyd wrote:

                        PI is very special, it's a not even a real such as SQRT(2).

                        What do you mean? :wtf: Of course PI is a real number! The definition of a real number is that it's square should be nonnegative. And PI * PI is nonnegative. Cheers, Vikram.


                        I don't know and you don't either. Militant Agnostic

                        C Offline
                        C Offline
                        code frog 0
                        wrote on last edited by
                        #26

                        Any number squared would be non-negative...:~

                        A Plain English signature. Code-frog System Architects, Inc.

                        J L V 3 Replies Last reply
                        0
                        • C Chris Maunder

                          Marc Clifton wrote:

                          So that's what makes it go on forever

                          Actually not quite. Infinite series can easily add up to a rational number, or even an integer. 1/2 + 1/4 + 1/8 + ... = 1 cheers, Chris Maunder

                          CodeProject.com : C++ MVP

                          -- modified at 22:38 Thursday 16th March, 2006

                          M Offline
                          M Offline
                          Marc Clifton
                          wrote on last edited by
                          #27

                          Chris Maunder wrote:

                          Infinite series can easily add up to a rational number, or even an integer.

                          Ah, good point. I better stick to programming. :) Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures

                          1 Reply Last reply
                          0
                          • M Marc Clifton

                            Jeremy Falcon wrote:

                            What makes it go on forever?

                            It's a number that is computed by an infinite series of smaller and smaller parts. For example, look at this.[^] Besides a lot of complicated equations, there's this very simple one: pi/4 = 1 - 1/3 + 1/5 - 1/7 ... You can see how the series is infinite, but smaller and smaller. So that's what makes it go on forever, and the resulting number is irrational, as discussed in the previous posts. Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures

                            J Offline
                            J Offline
                            Jeremy Falcon
                            wrote on last edited by
                            #28

                            Marc Clifton wrote:

                            You can see how the series is infinite, but smaller and smaller.

                            I got all of that stuff. But it doesn't explain why the series exist in the first place. Fortunately, I think I got enough info from the fine folks at CP to help me set out a course to improve my understanding on it. I'm just not there yet. :) Jeremy Falcon

                            7 1 Reply Last reply
                            0
                            • S Super Lloyd

                              Ha.. but in that case it could be expressed as simple rational such as: big number divided by big power of ten. And why that couldn't be I hear you ask? 1st it would be funny that 10 would be a relevant number for a circle but why not.... Anyway, while I do not know the reason for that myself I could argue that this guy Ferdinand von Lindeman[^] proved PI was transcendental (no solution of any polynome with ration parameter), hence it obviously never repeat

                              J Offline
                              J Offline
                              Jeremy Falcon
                              wrote on last edited by
                              #29

                              I'm getting the impression I need to hit the books again. :-D Jeremy Falcon

                              A 1 Reply Last reply
                              0
                              • J Jeremy Falcon

                                I'm trying to find a good way to explain why pi is infinite (not what it is). And I'm drawing up blanks. Any math gurus care to shed me some light please? Jeremy Falcon

                                S Offline
                                S Offline
                                Shog9 0
                                wrote on last edited by
                                #30

                                I haven't had anywhere near enough to drink. Can we start with something a little easier, like "what is the length of a piece of string"? :-O

                                Now taking suggestions for the next release of CPhog...

                                J 1 Reply Last reply
                                0
                                • C code frog 0

                                  Any number squared would be non-negative...:~

                                  A Plain English signature. Code-frog System Architects, Inc.

                                  J Offline
                                  J Offline
                                  Joey Bloggs
                                  wrote on last edited by
                                  #31

                                  Only 'real' numbers. There is a whole branch of mathematics that deals with SQRT(-1) these are called 'imaginary' numbers.

                                  1 Reply Last reply
                                  0
                                  • S Shog9 0

                                    I haven't had anywhere near enough to drink. Can we start with something a little easier, like "what is the length of a piece of string"? :-O

                                    Now taking suggestions for the next release of CPhog...

                                    J Offline
                                    J Offline
                                    Jeremy Falcon
                                    wrote on last edited by
                                    #32

                                    :) Simple, that would be 4. Next please. Jeremy Falcon

                                    R 1 Reply Last reply
                                    0
                                    • C code frog 0

                                      Any number squared would be non-negative...:~

                                      A Plain English signature. Code-frog System Architects, Inc.

                                      L Offline
                                      L Offline
                                      Luis Alonso Ramos
                                      wrote on last edited by
                                      #33

                                      Those imaginary numbers (not real) are the i you see sometimes. It's sqrt(-1). Sometimes you can see numbers writen as a + b_**i**_, which have a real and an imaginary part. You can read more about them here[^] -- LuisR


                                      Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                                      The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

                                      1 Reply Last reply
                                      0
                                      • C code frog 0

                                        Any number squared would be non-negative...:~

                                        A Plain English signature. Code-frog System Architects, Inc.

                                        V Offline
                                        V Offline
                                        Vikram A Punathambekar
                                        wrote on last edited by
                                        #34

                                        code-frog wrote:

                                        Any number squared would be non-negative

                                        Not imaginary numbers, like i. By definition, i * i = -1. Cheers, Vikram.


                                        I don't know and you don't either. Militant Agnostic

                                        R 1 Reply Last reply
                                        0
                                        • S Super Lloyd

                                          As Chris Munder said, it's a Transcendental number[^], much more uncommon than mere real number.

                                          V Offline
                                          V Offline
                                          Vikram A Punathambekar
                                          wrote on last edited by
                                          #35

                                          Super Lloyd wrote:

                                          As Chris Munder said, it's a Transcendental number[^], much more uncommon than mere real number.

                                          Erm, I never disagreed with that. You said PI is not real, and I only said it is. Cheers, Vikram.


                                          I don't know and you don't either. Militant Agnostic

                                          S 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups