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. 1 = 0

1 = 0

Scheduled Pinned Locked Moved The Lounge
comdesign
68 Posts 38 Posters 6 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.
  • D Dominic Burford

    x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

    "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

    H Offline
    H Offline
    HobbyProggy
    wrote on last edited by
    #4

    Dominic Burford wrote:

    x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y.

    Wrong... aint it? x2 -y2 / (x-y) => x+y xy -y2 / (x-y) => y+y xy / x-y => 1*1/1-1 => (actually how could you divide this when there is a minus...) y2 / x-y => y/x-1 => (actually how could you devide this when there is a minus...) But i guess thats bullshit 2 because it "should"? be x2/x-y - y2/x-y which ruins everything :) Okay screw everything... you are wrong, thats all i can say :)

    Rules for the FOSW ![^]

    if(this.signature != "")
    {
    MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
    }
    else
    {
    MessageBox.Show("404-Signature not found");
    }

    A K 2 Replies Last reply
    0
    • H HobbyProggy

      Dominic Burford wrote:

      x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y.

      Wrong... aint it? x2 -y2 / (x-y) => x+y xy -y2 / (x-y) => y+y xy / x-y => 1*1/1-1 => (actually how could you divide this when there is a minus...) y2 / x-y => y/x-1 => (actually how could you devide this when there is a minus...) But i guess thats bullshit 2 because it "should"? be x2/x-y - y2/x-y which ruins everything :) Okay screw everything... you are wrong, thats all i can say :)

      Rules for the FOSW ![^]

      if(this.signature != "")
      {
      MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
      }
      else
      {
      MessageBox.Show("404-Signature not found");
      }

      A Offline
      A Offline
      Agent__007
      wrote on last edited by
      #5

      HobbyProggy wrote:

      xy -y2 / (x-y) => y+y

      Nope. xy-y2 = y(x-y)

      You have just been Sharapova'd.

      H 1 Reply Last reply
      0
      • A Agent__007

        HobbyProggy wrote:

        xy -y2 / (x-y) => y+y

        Nope. xy-y2 = y(x-y)

        You have just been Sharapova'd.

        H Offline
        H Offline
        HobbyProggy
        wrote on last edited by
        #6

        Ah yeah i started to correct it because i know its not correct :) you have to divide every part of that equation that leads to funny result :)

        Rules for the FOSW ![^]

        if(this.signature != "")
        {
        MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
        }
        else
        {
        MessageBox.Show("404-Signature not found");
        }

        1 Reply Last reply
        0
        • D Dominic Burford

          x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

          "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

          S Offline
          S Offline
          Slacker007
          wrote on last edited by
          #7

          http://www.wolframalpha.com/input/?i=x2%3Dxy[^] you can use this site to experiment with your theories?

          1 Reply Last reply
          0
          • D Dominic Burford

            x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

            "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

            Sander RosselS Offline
            Sander RosselS Offline
            Sander Rossel
            wrote on last edited by
            #8

            A high school teacher showed this to me some 10+ years back (feeling old now). All I can say is no.

            Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

            Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

            Regards, Sander

            H J 2 Replies Last reply
            0
            • Sander RosselS Sander Rossel

              A high school teacher showed this to me some 10+ years back (feeling old now). All I can say is no.

              Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

              Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

              Regards, Sander

              H Offline
              H Offline
              HobbyProggy
              wrote on last edited by
              #9

              The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

              Rules for the FOSW ![^]

              if(this.signature != "")
              {
              MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
              }
              else
              {
              MessageBox.Show("404-Signature not found");
              }

              C N F U W 9 Replies Last reply
              0
              • D Dominic Burford

                x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                C Offline
                C Offline
                CPallini
                wrote on last edited by
                #10

                Quote:

                Dividing by (x-y), obtain...

                ...the silent reproach of a million tear-stained eyes. :((

                1 Reply Last reply
                0
                • H HobbyProggy

                  The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

                  Rules for the FOSW ![^]

                  if(this.signature != "")
                  {
                  MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                  }
                  else
                  {
                  MessageBox.Show("404-Signature not found");
                  }

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #11

                  Quote:

                  0,99999.... which is technically 1 but not 100%

                  Uh?

                  H 1 Reply Last reply
                  0
                  • C CPallini

                    Quote:

                    0,99999.... which is technically 1 but not 100%

                    Uh?

                    H Offline
                    H Offline
                    HobbyProggy
                    wrote on last edited by
                    #12

                    Whats the matter ?

                    Rules for the FOSW ![^]

                    if(this.signature != "")
                    {
                    MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                    }
                    else
                    {
                    MessageBox.Show("404-Signature not found");
                    }

                    C 1 Reply Last reply
                    0
                    • D Dominic Burford

                      x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                      "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                      R Offline
                      R Offline
                      Rage
                      wrote on last edited by
                      #13

                      Dominic Burford wrote:

                      since we started with y nonzero.

                      oh, the irony.

                      Do not escape reality : improve reality !

                      1 Reply Last reply
                      0
                      • H HobbyProggy

                        The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

                        Rules for the FOSW ![^]

                        if(this.signature != "")
                        {
                        MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                        }
                        else
                        {
                        MessageBox.Show("404-Signature not found");
                        }

                        N Offline
                        N Offline
                        Nagy Vilmos
                        wrote on last edited by
                        #14

                        if the numerator and denominator are equal then the value must be 1. Then the second part is almost right, but you missed a very important point, a recurring value is only an *approximation* rather than the absolute. 1/3 is absolute, but the decimal 0.3. is only an approximation. Proof, without bad maths of the 9's reccuring - 0.9. == 1 Multiply by 10: 9.9. = 10 Subtract the original: 9.9. - 0.9. = 9 9 = 9 QED. This is accepted as proper maths, the 1=0 using division by zero is, however, not.

                        veni bibi saltavi

                        H 1 Reply Last reply
                        0
                        • N Nagy Vilmos

                          if the numerator and denominator are equal then the value must be 1. Then the second part is almost right, but you missed a very important point, a recurring value is only an *approximation* rather than the absolute. 1/3 is absolute, but the decimal 0.3. is only an approximation. Proof, without bad maths of the 9's reccuring - 0.9. == 1 Multiply by 10: 9.9. = 10 Subtract the original: 9.9. - 0.9. = 9 9 = 9 QED. This is accepted as proper maths, the 1=0 using division by zero is, however, not.

                          veni bibi saltavi

                          H Offline
                          H Offline
                          HobbyProggy
                          wrote on last edited by
                          #15

                          Nice :) But i guess as long as we have an approximation i'll go with its not exactly 1 :P

                          Nagy Vilmos wrote:

                          This is accepted as proper maths, the 1=0 using division by zero is, however, not.

                          I already said that in an other statement that hes wrong

                          Rules for the FOSW ![^]

                          if(this.signature != "")
                          {
                          MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                          }
                          else
                          {
                          MessageBox.Show("404-Signature not found");
                          }

                          1 Reply Last reply
                          0
                          • H HobbyProggy

                            Whats the matter ?

                            Rules for the FOSW ![^]

                            if(this.signature != "")
                            {
                            MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                            }
                            else
                            {
                            MessageBox.Show("404-Signature not found");
                            }

                            C Offline
                            C Offline
                            CPallini
                            wrote on last edited by
                            #16

                            0.9999... is 1.

                            H 1 Reply Last reply
                            0
                            • C CPallini

                              0.9999... is 1.

                              H Offline
                              H Offline
                              HobbyProggy
                              wrote on last edited by
                              #17

                              By definition, not by maths :)

                              Rules for the FOSW ![^]

                              if(this.signature != "")
                              {
                              MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                              }
                              else
                              {
                              MessageBox.Show("404-Signature not found");
                              }

                              C 1 Reply Last reply
                              0
                              • D Dominic Burford

                                x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                                "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

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

                                Ah, the ol' divide by zero trick. I think my math teacher did that when I was in 8th grade. Almost 40 years ago. And I'm sure it's older than that. ;) Marc

                                Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                C 1 Reply Last reply
                                0
                                • H HobbyProggy

                                  By definition, not by maths :)

                                  Rules for the FOSW ![^]

                                  if(this.signature != "")
                                  {
                                  MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                                  }
                                  else
                                  {
                                  MessageBox.Show("404-Signature not found");
                                  }

                                  C Offline
                                  C Offline
                                  CPallini
                                  wrote on last edited by
                                  #19

                                  By maths. There's no difference.

                                  H 1 Reply Last reply
                                  0
                                  • C CPallini

                                    By maths. There's no difference.

                                    H Offline
                                    H Offline
                                    HobbyProggy
                                    wrote on last edited by
                                    #20

                                    Allright, tell that the next flightcomputer that breakes down because he multiplied 0,333 and didn't get to 1 ;)

                                    Rules for the FOSW ![^]

                                    if(this.signature != "")
                                    {
                                    MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                                    }
                                    else
                                    {
                                    MessageBox.Show("404-Signature not found");
                                    }

                                    C Y 2 Replies Last reply
                                    0
                                    • H HobbyProggy

                                      Allright, tell that the next flightcomputer that breakes down because he multiplied 0,333 and didn't get to 1 ;)

                                      Rules for the FOSW ![^]

                                      if(this.signature != "")
                                      {
                                      MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                                      }
                                      else
                                      {
                                      MessageBox.Show("404-Signature not found");
                                      }

                                      C Offline
                                      C Offline
                                      CPallini
                                      wrote on last edited by
                                      #21

                                      You know, float are not real numbers. (likewise Computer Science is not Mathematics) :-D

                                      H N 2 Replies Last reply
                                      0
                                      • C CPallini

                                        You know, float are not real numbers. (likewise Computer Science is not Mathematics) :-D

                                        H Offline
                                        H Offline
                                        HobbyProggy
                                        wrote on last edited by
                                        #22

                                        CPallini wrote:

                                        (likewise Computer Science is not Mathematics)

                                        But its both logic :) And 0,999 is not 1 it's even written different :sigh: But i guess we could debate ages about that

                                        Rules for the FOSW ![^]

                                        if(this.signature != "")
                                        {
                                        MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                                        }
                                        else
                                        {
                                        MessageBox.Show("404-Signature not found");
                                        }

                                        C Richard DeemingR 2 Replies Last reply
                                        0
                                        • H HobbyProggy

                                          CPallini wrote:

                                          (likewise Computer Science is not Mathematics)

                                          But its both logic :) And 0,999 is not 1 it's even written different :sigh: But i guess we could debate ages about that

                                          Rules for the FOSW ![^]

                                          if(this.signature != "")
                                          {
                                          MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                                          }
                                          else
                                          {
                                          MessageBox.Show("404-Signature not found");
                                          }

                                          C Offline
                                          C Offline
                                          CPallini
                                          wrote on last edited by
                                          #23

                                          Right: we could follow all the nines until we find a difference. :laugh:

                                          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