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 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
        • J Jeremy Falcon

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

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

          Jeremy Falcon wrote:

          It still didn't address the why.

          It simply is. Go in peace. Be. Cheers, Vikram.


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

          1 Reply Last reply
          0
          • V Vikram A Punathambekar

            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 Offline
            R Offline
            Ryan Binns
            wrote on last edited by
            #37

            Vikram A Punathambekar wrote:

            By definition, i * i = -1

            Thankyou! Someone who gets the definition correct! :-D I see most people say that i = sqrt(-1), which is NOT correct - it implies that i2 = 1

            Ryan

            "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

            V C 2 Replies 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

              R Offline
              R Offline
              Ryan Binns
              wrote on last edited by
              #38

              Jeremy Falcon wrote:

              I'm trying to find a good way to explain why pi is infinite (not what it is).

              Because. :)

              Ryan

              "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

              J 1 Reply Last reply
              0
              • R Ryan Binns

                Vikram A Punathambekar wrote:

                By definition, i * i = -1

                Thankyou! Someone who gets the definition correct! :-D I see most people say that i = sqrt(-1), which is NOT correct - it implies that i2 = 1

                Ryan

                "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

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

                Ryan Binns wrote:

                I see most people say that i = sqrt(-1), which is NOT correct - it implies that i2 = 1

                Uh, how? If you say

                i = SQRT(-1)

                squaring both sides will give you

                i * i = -1

                How does i = sqrt(-1) imply i2 = 1 ? Cheers, Vikram.


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

                R 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

                  D Offline
                  D Offline
                  Diagon Alley
                  wrote on last edited by
                  #40

                  I always thought it was 22/7 atleast that was what my math teacher told me!! :doh: If you need a hammer get C and shut up. If you need a nail gun get C++ and shut up. If you don't need *those* things (and good design should tell you) then by all means get a factory, factory, factory. --code-frog@codeproject

                  D 1 Reply Last reply
                  0
                  • V Vikram A Punathambekar

                    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 Offline
                    S Offline
                    Super Lloyd
                    wrote on last edited by
                    #41

                    it's a pure definition problem then? I think the issue here is the same as vegetable and fruit. Some people would say tomatoes is a fruit, some people would say it is not. And then they each refer to their own definition. Doens't matter too much. Anyway I will stick to my definition which means that PI is part of super set of the real (hence it is not a real number). And that Math teacher don't bother make the difference explicit until you are in advanced math studies....

                    D V 2 Replies Last reply
                    0
                    • D Diagon Alley

                      I always thought it was 22/7 atleast that was what my math teacher told me!! :doh: If you need a hammer get C and shut up. If you need a nail gun get C++ and shut up. If you don't need *those* things (and good design should tell you) then by all means get a factory, factory, factory. --code-frog@codeproject

                      D Offline
                      D Offline
                      David Stone
                      wrote on last edited by
                      #42

                      Observe: A Simple Proof that 22/7 exceeds Pi[^]. 22/7 is merely a convenient Diophantine approximation that people are taught in basic math so that they can have some frame of reference for Pi.

                      They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                      I'm after everything

                      N D 2 Replies Last reply
                      0
                      • V Vikram A Punathambekar

                        Ryan Binns wrote:

                        I see most people say that i = sqrt(-1), which is NOT correct - it implies that i2 = 1

                        Uh, how? If you say

                        i = SQRT(-1)

                        squaring both sides will give you

                        i * i = -1

                        How does i = sqrt(-1) imply i2 = 1 ? Cheers, Vikram.


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

                        R Offline
                        R Offline
                        Ryan Binns
                        wrote on last edited by
                        #43

                        assume i = sqrt(-1) i * i = sqrt(-1) * sqrt(-1) i * i = sqrt(-1 * -1) i * i = sqrt(1) i * i = 1

                        Ryan

                        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                        D V 2 Replies Last reply
                        0
                        • S Super Lloyd

                          it's a pure definition problem then? I think the issue here is the same as vegetable and fruit. Some people would say tomatoes is a fruit, some people would say it is not. And then they each refer to their own definition. Doens't matter too much. Anyway I will stick to my definition which means that PI is part of super set of the real (hence it is not a real number). And that Math teacher don't bother make the difference explicit until you are in advanced math studies....

                          D Offline
                          D Offline
                          David Stone
                          wrote on last edited by
                          #44

                          Super Lloyd wrote:

                          Anyway I will stick to my definition which means that PI is part of super set of the real (hence it is not a real number).

                          And you will be wrong. Pi is an element of the set of Real numbers. If you'd like to hold to an errant belief that Pi is outside the set of real numbers, please keep it to yourself, lest you confuse those, like Jeremy, who ask questions regarding mathematics.

                          They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                          I'm after everything

                          S 1 Reply Last reply
                          0
                          • J Jeremy Falcon

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

                            R Offline
                            R Offline
                            Ryan Binns
                            wrote on last edited by
                            #45

                            Jeremy Falcon wrote:

                            that would be 4

                            :omg: 4!? Really? I thought it was 5 :~

                            Ryan

                            "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                            1 Reply Last reply
                            0
                            • R Ryan Binns

                              assume i = sqrt(-1) i * i = sqrt(-1) * sqrt(-1) i * i = sqrt(-1 * -1) i * i = sqrt(1) i * i = 1

                              Ryan

                              "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                              D Offline
                              D Offline
                              David Stone
                              wrote on last edited by
                              #46

                              Ryan Binns wrote:

                              i * i = sqrt(-1) * sqrt(-1) i * i = sqrt(-1 * -1)

                              The property that sqrt(a) * sqrt(b) = sqrt(a * b) only applies to real x >= 0. So you really can't do that.

                              They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                              I'm after everything

                              V R 2 Replies Last reply
                              0
                              • D David Stone

                                Observe: A Simple Proof that 22/7 exceeds Pi[^]. 22/7 is merely a convenient Diophantine approximation that people are taught in basic math so that they can have some frame of reference for Pi.

                                They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                                I'm after everything

                                N Offline
                                N Offline
                                Nish Nishant
                                wrote on last edited by
                                #47

                                David Stone wrote:

                                Observe: A Simple Proof that 22/7 exceeds Pi[^]. 22/7 is merely a convenient Diophantine approximation that people are taught in basic math so that they can have some frame of reference for Pi.

                                Good heavens! I am not even gonna click that link! You math types are weirdos! Regards, Nish


                                Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                The Ultimate Grid - The #1 MFC grid out there!

                                D V D 3 Replies Last reply
                                0
                                • N Nish Nishant

                                  David Stone wrote:

                                  Observe: A Simple Proof that 22/7 exceeds Pi[^]. 22/7 is merely a convenient Diophantine approximation that people are taught in basic math so that they can have some frame of reference for Pi.

                                  Good heavens! I am not even gonna click that link! You math types are weirdos! Regards, Nish


                                  Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                  The Ultimate Grid - The #1 MFC grid out there!

                                  D Offline
                                  D Offline
                                  David Stone
                                  wrote on last edited by
                                  #48

                                  Oh c'mon Nish, you know you want to find out what a Diophantine Approximation[^] is. ;P

                                  They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                                  I'm after everything

                                  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

                                    D Offline
                                    D Offline
                                    David Stone
                                    wrote on last edited by
                                    #49

                                    You're getting confused here because math people don't like to hear that a number is infinite. The term you're looking for is infinitely repeating. :)

                                    They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                                    I'm after everything

                                    J 1 Reply Last reply
                                    0
                                    • R Ryan Binns

                                      assume i = sqrt(-1) i * i = sqrt(-1) * sqrt(-1) i * i = sqrt(-1 * -1) i * i = sqrt(1) i * i = 1

                                      Ryan

                                      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

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

                                      Hmm, it's like those 1 = 2 proofs. :-D I know SQRT(a) * SQRT(b) = SQRT(a * b), but does it hold for imaginary numbers as well? I'm uncomfortable with SQRT(-1) * SQRT(-1) = SQRT(-1 * -1). It looks dubious to me. :suss: Cheers, Vikram.


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

                                      D 1 Reply Last reply
                                      0
                                      • D David Stone

                                        Ryan Binns wrote:

                                        i * i = sqrt(-1) * sqrt(-1) i * i = sqrt(-1 * -1)

                                        The property that sqrt(a) * sqrt(b) = sqrt(a * b) only applies to real x >= 0. So you really can't do that.

                                        They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                                        I'm after everything

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

                                        Ah, just what I'd suspected. Thanks, David. :) Cheers, Vikram.


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

                                        1 Reply Last reply
                                        0
                                        • V Vikram A Punathambekar

                                          Hmm, it's like those 1 = 2 proofs. :-D I know SQRT(a) * SQRT(b) = SQRT(a * b), but does it hold for imaginary numbers as well? I'm uncomfortable with SQRT(-1) * SQRT(-1) = SQRT(-1 * -1). It looks dubious to me. :suss: Cheers, Vikram.


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

                                          D Offline
                                          D Offline
                                          David Stone
                                          wrote on last edited by
                                          #52

                                          Vikram A Punathambekar wrote:

                                          I know SQRT(a) * SQRT(b) = SQRT(a * b), but does it hold for imaginary numbers as well?

                                          Nope. That property only holds true for real numbers greater than or equal to zero.

                                          They dress you up in white satin, And give you your very own pair of wings In August and Everything After

                                          I'm after everything

                                          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