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. Following on from yesterday's little puzzler.

Following on from yesterday's little puzzler.

Scheduled Pinned Locked Moved The Lounge
loungecssquestion
46 Posts 23 Posters 5 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.
  • OriginalGriffO OriginalGriff

    I can't explain that, it involves division and I can't do that. :-D

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

    A Offline
    A Offline
    Andre Oosthuizen
    wrote on last edited by
    #35

    The becomes Teh...

    1 Reply Last reply
    0
    • P PIEBALDconsult

      Mount Everest isn't high at all; it's at ground level.

      A Offline
      A Offline
      Andre Oosthuizen
      wrote on last edited by
      #36

      Perfect, it might have the highest/tallest peak, still at ground level... :-D

      1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        So ... you can't have a "large student debt"? :laugh:

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        A Offline
        A Offline
        Andre Oosthuizen
        wrote on last edited by
        #37

        Large or smaller is a perception as it might be greater than the next or it might be less tahn the next, philosophy kicking in now sorry... :-D

        1 Reply Last reply
        0
        • J jmaida

          check out this puzzlement Missing dollar riddle - Wikipedia[^]

          "A little time, a little trouble, your better day" Badfinger

          A Offline
          A Offline
          Andre Oosthuizen
          wrote on last edited by
          #38

          Very interesting riddle, almost got a brain freeze :-D If you read carefully, the answer to get to 30 is quite obvious, unfortunately our brains are not wired that way.. :((

          J 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            It seem that many of us are convinced that -∞ is larger than 0 so I thought I'd try and explain why that isn't the case, even though it does seem to make sense. Let's look at what "greater than" actually means (in all cases I'll use integers but it's exactly the same for floating point numbers). 1 is greater than 0, 2 is greater than both 1 and 0, 3 is greater than 2, 1, and 0, and so on: the general case is "if you add a positive number* to a value, you get a value that is greater than the original": X + n > X where n is any positive number. Similarly, "less than" comes down to: X - n < X where n is any positive number. And it works: 2 > 1 because 1 + 1 == 2; 3 > 1 because 1 + 2 == 3; ... 1 < 2 because 2 - 1 == 1; 1 < 3 because 3 - 2 == 1; ... And we can use "greater than" and "Less than" for find maxima and minima for a set of numbers. We can find the smallest positive number by taking any positive number as a starting point and repeatedly subtracting 1 until we reach a non-positive value (which will be zero): 1 was the last, so it's the smallest positive number. Everyone here has agreed on that! But when we look for the largest negative number it seems that some people are mistaking the absolute magnitude of a value for the value itself, and saying that the largest negative number is -∞ But that's not the case: just as numbers get smaller as you approach 0 from the positive side, they don't start getting bigger again as you move away into the negative side: 1 > 0; 1 > -1; 1 > -2 Slide that sideways and it's clearer for negative numbers: 0 > -1; 0 > -2; 0 > -3 -1 > -2; -1 > -3; -1 > -4 So to find the largest negative number, we start with any negative number as a starting point and repeatedly adding 1 until we reach a non-negative value (which will be zero): -1 was the last, so that's the largest negative number. Make sense? * Zero is neither positive nor negative because the definition of both those terms stems from the direction of X from 0.

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            A Offline
            A Offline
            Andre Oosthuizen
            wrote on last edited by
            #39

            Just as a side winder regarding the math's behind this, why is it that binary only runs on 0 (zero) and 1's with 0 being the neutral number then and not why use -1 0 0 1 1 0 -1 as binary. Maybe I should just go Google first as this is above my paygrade... ? And so I found this also relating to largest and smaller compared to bigger and less, sorry - Binary Negative Numbers![^]

            1 Reply Last reply
            0
            • L Lost User

              So what you’re saying is, mathematical proofs are like statistics, you can make them suit your narrative

              J Offline
              J Offline
              jschell
              wrote on last edited by
              #40

              Paul6124 wrote:

              you can make them suit your narrative

              lol - yes. The posted link provides a complex example but people have been proving things for a long time by ignoring what divide by zero means. (Long time in my case means I saw such a proof in grade school which meant it existed quite some time before that even.)

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                It seem that many of us are convinced that -∞ is larger than 0 so I thought I'd try and explain why that isn't the case, even though it does seem to make sense. Let's look at what "greater than" actually means (in all cases I'll use integers but it's exactly the same for floating point numbers). 1 is greater than 0, 2 is greater than both 1 and 0, 3 is greater than 2, 1, and 0, and so on: the general case is "if you add a positive number* to a value, you get a value that is greater than the original": X + n > X where n is any positive number. Similarly, "less than" comes down to: X - n < X where n is any positive number. And it works: 2 > 1 because 1 + 1 == 2; 3 > 1 because 1 + 2 == 3; ... 1 < 2 because 2 - 1 == 1; 1 < 3 because 3 - 2 == 1; ... And we can use "greater than" and "Less than" for find maxima and minima for a set of numbers. We can find the smallest positive number by taking any positive number as a starting point and repeatedly subtracting 1 until we reach a non-positive value (which will be zero): 1 was the last, so it's the smallest positive number. Everyone here has agreed on that! But when we look for the largest negative number it seems that some people are mistaking the absolute magnitude of a value for the value itself, and saying that the largest negative number is -∞ But that's not the case: just as numbers get smaller as you approach 0 from the positive side, they don't start getting bigger again as you move away into the negative side: 1 > 0; 1 > -1; 1 > -2 Slide that sideways and it's clearer for negative numbers: 0 > -1; 0 > -2; 0 > -3 -1 > -2; -1 > -3; -1 > -4 So to find the largest negative number, we start with any negative number as a starting point and repeatedly adding 1 until we reach a non-negative value (which will be zero): -1 was the last, so that's the largest negative number. Make sense? * Zero is neither positive nor negative because the definition of both those terms stems from the direction of X from 0.

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                M Offline
                M Offline
                Member 10662223
                wrote on last edited by
                #41

                oh no this has prompted me to post for the first time ever... > the general case is "if you add a positive number to a value, you get a value that is greater than the original" That is your postulate, not a fact or proof. -1 is greater than -2 only if you assume this is true. I propose another: To divide a quantity or object in half is to produce two halves that are each smaller than the original whole. Divide a number in half, the result is the smaller number. > Let's look at what "greater than" actually means... We all know language is ambiguous. It could actually mean many different things. Of course no one is arguing that (-1 > -2) doesn't evaluate to true in your programming language of choice* :) That's just pragmatic. *except maybe c++ in some cases...

                OriginalGriffO 1 Reply Last reply
                0
                • A Andre Oosthuizen

                  Very interesting riddle, almost got a brain freeze :-D If you read carefully, the answer to get to 30 is quite obvious, unfortunately our brains are not wired that way.. :((

                  J Offline
                  J Offline
                  jmaida
                  wrote on last edited by
                  #42

                  My first reaction, too. The first time I encountered this puzzle was an oral presentation. Made for some interesting notes, until one does the math correctly. The key is "where is the money", not "who spent what".

                  "A little time, a little trouble, your better day" Badfinger

                  1 Reply Last reply
                  0
                  • M Member 10662223

                    oh no this has prompted me to post for the first time ever... > the general case is "if you add a positive number to a value, you get a value that is greater than the original" That is your postulate, not a fact or proof. -1 is greater than -2 only if you assume this is true. I propose another: To divide a quantity or object in half is to produce two halves that are each smaller than the original whole. Divide a number in half, the result is the smaller number. > Let's look at what "greater than" actually means... We all know language is ambiguous. It could actually mean many different things. Of course no one is arguing that (-1 > -2) doesn't evaluate to true in your programming language of choice* :) That's just pragmatic. *except maybe c++ in some cases...

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #43

                    The formal mathematical proof that 1 + 1 = 2 runs to 360 pages of arcane symbols, and I don't understand a single page of it. I'm not going to try and modify that to formally prove X + n > X where n is a positive value because that proof would derive from 1 + 1 = 2. Instead, I suggest you show any example which is consistent with 1 + 1 = 2 where X + n <= X where n is a positive value. If you are right and I am wrong (which I'm fully prepared to believe) it should be simple for you :D

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    M 1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      The formal mathematical proof that 1 + 1 = 2 runs to 360 pages of arcane symbols, and I don't understand a single page of it. I'm not going to try and modify that to formally prove X + n > X where n is a positive value because that proof would derive from 1 + 1 = 2. Instead, I suggest you show any example which is consistent with 1 + 1 = 2 where X + n <= X where n is a positive value. If you are right and I am wrong (which I'm fully prepared to believe) it should be simple for you :D

                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                      M Offline
                      M Offline
                      Member 10662223
                      wrote on last edited by
                      #44

                      That is simple: you have a hole in the ground and add a positive amount of soil to it. Is the hole now bigger or smaller? The hole is negative volume. Divide that hole in half, the half hole is smaller than the whole hole.

                      1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        It seem that many of us are convinced that -∞ is larger than 0 so I thought I'd try and explain why that isn't the case, even though it does seem to make sense. Let's look at what "greater than" actually means (in all cases I'll use integers but it's exactly the same for floating point numbers). 1 is greater than 0, 2 is greater than both 1 and 0, 3 is greater than 2, 1, and 0, and so on: the general case is "if you add a positive number* to a value, you get a value that is greater than the original": X + n > X where n is any positive number. Similarly, "less than" comes down to: X - n < X where n is any positive number. And it works: 2 > 1 because 1 + 1 == 2; 3 > 1 because 1 + 2 == 3; ... 1 < 2 because 2 - 1 == 1; 1 < 3 because 3 - 2 == 1; ... And we can use "greater than" and "Less than" for find maxima and minima for a set of numbers. We can find the smallest positive number by taking any positive number as a starting point and repeatedly subtracting 1 until we reach a non-positive value (which will be zero): 1 was the last, so it's the smallest positive number. Everyone here has agreed on that! But when we look for the largest negative number it seems that some people are mistaking the absolute magnitude of a value for the value itself, and saying that the largest negative number is -∞ But that's not the case: just as numbers get smaller as you approach 0 from the positive side, they don't start getting bigger again as you move away into the negative side: 1 > 0; 1 > -1; 1 > -2 Slide that sideways and it's clearer for negative numbers: 0 > -1; 0 > -2; 0 > -3 -1 > -2; -1 > -3; -1 > -4 So to find the largest negative number, we start with any negative number as a starting point and repeatedly adding 1 until we reach a non-negative value (which will be zero): -1 was the last, so that's the largest negative number. Make sense? * Zero is neither positive nor negative because the definition of both those terms stems from the direction of X from 0.

                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                        T Offline
                        T Offline
                        Tiger12506
                        wrote on last edited by
                        #45

                        tl;dr "larger" is ambiguous "larger" can mean "greater than" "larger" can mean "greater magnitude than" And that is the issue. English is fickle.

                        H 1 Reply Last reply
                        0
                        • T Tiger12506

                          tl;dr "larger" is ambiguous "larger" can mean "greater than" "larger" can mean "greater magnitude than" And that is the issue. English is fickle.

                          H Offline
                          H Offline
                          haughtonomous
                          wrote on last edited by
                          #46

                          English developed from communication of daily experiences by common folk over two millennia. Hence the English system of units, which look arcane but were very practical. It is flexible and adaptable, but that can lead to confusion. Look at the knots tied in mangled lamguage by lawyers trying to pin down in writing agreements that to ordinary people seem obvious!

                          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