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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Another Silly puzzle

Another Silly puzzle

Scheduled Pinned Locked Moved The Lounge
questioncom
51 Posts 19 Posters 2 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.
  • N Nish Nishant

    Quartz... wrote:

    Why does a candle extinguishes when we blow on it?

    We blow the air away creating a small vacuum pocket and a fire cannot burn in a vacuum. That's my guess anyway :-) Regards, Nish


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

    J Offline
    J Offline
    Jerry Hammond
    wrote on last edited by
    #21

    I usually clean the wax out of my ears for that effect... Asking someone to define CP is like asking someone to define art. It is a known, a tangable thing, a state of being. To define it is to limit and miss its true nature.

    1 Reply Last reply
    0
    • D Dan Neely

      I want to say this is a nonconverging series, but it's been a long time since I did those in math, and google ignores /'s even when they're inside of quotes.

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #22

      it's very close to the Harmonic Series[^], it just starts with i=2, instead of i=1. Cleek | Image Toolkits | Thumbnail maker

      D 1 Reply Last reply
      0
      • D Dan Neely

        I want to say this is a nonconverging series, but it's been a long time since I did those in math, and google ignores /'s even when they're inside of quotes.

        R Offline
        R Offline
        Raj Lal
        wrote on last edited by
        #23

        Mathworld here[^] --- My Unedited article^

        1 Reply Last reply
        0
        • C Chris Losinger

          Nishant Sivakumar wrote:

          That works on the vacuum principle too, eh?

          a wing will create small pockets of (partial) vacuum as air moves around it. it's under debate as to whether this is the actual source of lift or not. Cleek | Image Toolkits | Thumbnail maker

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

          Chris Losinger wrote:

          it's under debate as to whether this is the actual source of lift or not.

          You mean they still don't know? I've always been told that's why the plane lifts (but honestly, I never quite believed it. Just stick your hand out a moving car window and it seems that the angle of attack has a major affect as well, though maybe that's BECAUSE of the low pressure on the back of one's hand). Marc Pensieve Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson

          N C 2 Replies Last reply
          0
          • M Marc Clifton

            Chris Losinger wrote:

            it's under debate as to whether this is the actual source of lift or not.

            You mean they still don't know? I've always been told that's why the plane lifts (but honestly, I never quite believed it. Just stick your hand out a moving car window and it seems that the angle of attack has a major affect as well, though maybe that's BECAUSE of the low pressure on the back of one's hand). Marc Pensieve Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson

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

            Marc Clifton wrote:

            You mean they still don't know?

            Explains those bumpy rides, and if you are flying Air Canada or a domestic Indian airline, the bumpy part of the ride is seriously stressed upon! Regards, Nish


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

            1 Reply Last reply
            0
            • R Raj Lal

              OK lets divide it in two parts Question 1

              Quartz... wrote:

              When will the sum of this series exceed 100 ?

              Question 2

              Quartz... wrote:

              Will it EVER ?

              simple looking problems, are sometimes the most challenging ones. --- My Unedited article^

              W Offline
              W Offline
              Wjousts
              wrote on last edited by
              #26

              Quartz... wrote:

              Question 1 Quartz... wrote: When will the sum of this series exceed 100 ?

              Don't know. Some very large number, I'm up to around 58000000000 and it's only at about 24.36 doing this by brute force. I'm sure this is some known sequence and there is some very clever and simple way to calculate it, but I'm not up to the challenge.

              Quartz... wrote:

              Question 2 Quartz... wrote: Will it EVER ?

              I'm pretty sure it has to eventually. The number keeps growing but by progressively smaller steps, but it still keeps growing. Shouldn't you ask question 2 first?

              B 1 Reply Last reply
              0
              • M Marc Clifton

                Chris Losinger wrote:

                it's under debate as to whether this is the actual source of lift or not.

                You mean they still don't know? I've always been told that's why the plane lifts (but honestly, I never quite believed it. Just stick your hand out a moving car window and it seems that the angle of attack has a major affect as well, though maybe that's BECAUSE of the low pressure on the back of one's hand). Marc Pensieve Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson

                C Offline
                C Offline
                Chris Losinger
                wrote on last edited by
                #27

                Marc Clifton wrote:

                You mean they still don't know?

                this site[^] explains it pretty well, i think. but it's not the traditioinal Bernoulli's explanation (high pressure below, low pressure above). this one explains it as: The lift of a wing is proportional to the amount of air diverted down times the downward velocity of that air. so, some might know, but the rest of the world disagrees. Cleek | Image Toolkits | Thumbnail maker

                A 1 Reply Last reply
                0
                • J Jon Sagara

                  Quartz... wrote:

                  When will the sum of this series exceed 100 ?

                  e100? Jon Sagara When I grow up, I'm changing my name to Joe Kickass! My Site | My Blog | My Articles -- modified at 15:12 Tuesday 9th May, 2006

                  R Offline
                  R Offline
                  Russell Morris
                  wrote on last edited by
                  #28

                  Jon Sagara wrote:

                  e100?

                  Wait - after working this a bit, I'm getting that e100 is a good approximation of the number of terms it would take for the sum of that series to get up to 100. Is that what you were indicating? If so, I apologize for my first 'correction' :-O From my musings, the above series is the Harmonic Series, but starting at k=2 (Chris Losinger has noted this already, it appears). In addition, ln(n) is a good approximation of this series' value at n. Therefore solving: ln(n) = 100 for n would approximate the number of terms in the series needed to get the sum of the series to 100. Solving this equation, I get: n = e100 which is what you originally wrote. Did you come to this conclusion in the same way I did? I hope I'm not making myself look silly - I'm 6 years away from my last math class. It's amazing how the details become so fuzzy after such a short time...

                  J S 2 Replies Last reply
                  0
                  • C Chris Losinger

                    Nishant Sivakumar wrote:

                    That works on the vacuum principle too, eh?

                    a wing will create small pockets of (partial) vacuum as air moves around it. it's under debate as to whether this is the actual source of lift or not. Cleek | Image Toolkits | Thumbnail maker

                    A Offline
                    A Offline
                    Andy Brummer
                    wrote on last edited by
                    #29

                    Chris Losinger wrote:

                    a wing will create small pockets of (partial) vacuum as air moves around it. it's under debate as to whether this is the actual source of lift or not.

                    Do you have a source for that? I can't think of anything else that would generate lift.


                    I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                    1 Reply Last reply
                    0
                    • R Russell Morris

                      Jon Sagara wrote:

                      e100?

                      Wait - after working this a bit, I'm getting that e100 is a good approximation of the number of terms it would take for the sum of that series to get up to 100. Is that what you were indicating? If so, I apologize for my first 'correction' :-O From my musings, the above series is the Harmonic Series, but starting at k=2 (Chris Losinger has noted this already, it appears). In addition, ln(n) is a good approximation of this series' value at n. Therefore solving: ln(n) = 100 for n would approximate the number of terms in the series needed to get the sum of the series to 100. Solving this equation, I get: n = e100 which is what you originally wrote. Did you come to this conclusion in the same way I did? I hope I'm not making myself look silly - I'm 6 years away from my last math class. It's amazing how the details become so fuzzy after such a short time...

                      J Offline
                      J Offline
                      Jon Sagara
                      wrote on last edited by
                      #30

                      Russell Morris wrote:

                      Is that what you were indicating? If so, I apologize for my first 'correction'

                      Yes. No worries. :) Yeah, that was the same approach I took, but decided, nah, that was too simple, so I crossed it out. I'm about 9 years removed from my last series class, so the details are extremely fuzzy for me, too. Jon Sagara When I grow up, I'm changing my name to Joe Kickass! My Site | My Blog | My Articles

                      1 Reply Last reply
                      0
                      • N Nish Nishant

                        Troposphere wrote:

                        The sum will never even reach the number 1, much less exceed 100.

                        You are kidding, right? :omg: It crosses 1 after the 3rd fraction in the series. 1/2 + 1/3 + 1/4 = 1.08333 Regards, Nish


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

                        Richard Andrew x64R Offline
                        Richard Andrew x64R Offline
                        Richard Andrew x64
                        wrote on last edited by
                        #31

                        Whoops, you're right. I misinterpreted the problem as another age-old math problem. My bad. ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸

                        1 Reply Last reply
                        0
                        • W Wjousts

                          Quartz... wrote:

                          Question 1 Quartz... wrote: When will the sum of this series exceed 100 ?

                          Don't know. Some very large number, I'm up to around 58000000000 and it's only at about 24.36 doing this by brute force. I'm sure this is some known sequence and there is some very clever and simple way to calculate it, but I'm not up to the challenge.

                          Quartz... wrote:

                          Question 2 Quartz... wrote: Will it EVER ?

                          I'm pretty sure it has to eventually. The number keeps growing but by progressively smaller steps, but it still keeps growing. Shouldn't you ask question 2 first?

                          B Offline
                          B Offline
                          Bob Flynn
                          wrote on last edited by
                          #32

                          Wjousts wrote:

                          I'm sure this is some known sequence and there is some very clever and simple way to calculate it, but I'm not up to the challenge

                          Actually there is no closed form equation for this series. Brute force is the only way. http://www.shef.ac.uk/pas/SOM104/series.pdf[^]

                          R 1 Reply Last reply
                          0
                          • R Raj Lal

                            Troposphere wrote:

                            And the candle gets extinguished from the carbon dioxide in our breath.

                            And if you blow air by some other method it won't ? --- My Unedited article^

                            Richard Andrew x64R Offline
                            Richard Andrew x64R Offline
                            Richard Andrew x64
                            wrote on last edited by
                            #33

                            Quartz... wrote:

                            And if you blow air by some other method it won't ?

                            I did not say that. If you blow air from a fan at high velocity, I'm sure the candle would go out, but you asked why it goes out from us blowing on it, and I think the answer is the carbon dioxide. ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸

                            1 Reply Last reply
                            0
                            • C Chris Losinger

                              Marc Clifton wrote:

                              You mean they still don't know?

                              this site[^] explains it pretty well, i think. but it's not the traditioinal Bernoulli's explanation (high pressure below, low pressure above). this one explains it as: The lift of a wing is proportional to the amount of air diverted down times the downward velocity of that air. so, some might know, but the rest of the world disagrees. Cleek | Image Toolkits | Thumbnail maker

                              A Offline
                              A Offline
                              Andy Brummer
                              wrote on last edited by
                              #34

                              It definitely makes more intuitive sense then the traditional description. You learn something new every day.


                              I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                              1 Reply Last reply
                              0
                              • B Bob Flynn

                                Wjousts wrote:

                                I'm sure this is some known sequence and there is some very clever and simple way to calculate it, but I'm not up to the challenge

                                Actually there is no closed form equation for this series. Brute force is the only way. http://www.shef.ac.uk/pas/SOM104/series.pdf[^]

                                R Offline
                                R Offline
                                Russell Morris
                                wrote on last edited by
                                #35

                                Bob Flynn wrote:

                                Brute force is the only way.

                                From what I've been reading, ln(n) is a good approximation for the sum of this series computed with n terms. It'll be a bit of considering that the ln(n) approximates the harmonic series, which is the same as this series except for the addition term '1/1'.

                                B 1 Reply Last reply
                                0
                                • R Russell Morris

                                  Bob Flynn wrote:

                                  Brute force is the only way.

                                  From what I've been reading, ln(n) is a good approximation for the sum of this series computed with n terms. It'll be a bit of considering that the ln(n) approximates the harmonic series, which is the same as this series except for the addition term '1/1'.

                                  B Offline
                                  B Offline
                                  Bob Flynn
                                  wrote on last edited by
                                  #36

                                  The approximation is good for characterization, but for the answer to the question "when does the series cross 100", an approximation will not provide the correct answer. It could be used to get an idea of how long it will take to do it by brute force - which is recommended because our little CPU's just might not have enough life expectancy to compute the result using brute force.

                                  1 Reply Last reply
                                  0
                                  • Richard Andrew x64R Richard Andrew x64

                                    The sum will never even reach the number 1, much less exceed 100. And the candle gets extinguished from the carbon dioxide in our breath. Rich ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸

                                    J Offline
                                    J Offline
                                    Jorgen Sigvardsson
                                    wrote on last edited by
                                    #37

                                    You're thinking about the "1/2 + 1/4 + 1/8 ..." series. It approaches 1. :)

                                    1 Reply Last reply
                                    0
                                    • R Raj Lal

                                      1/2 + 1/3 + 1/4 + 1/5 + 1/6 + 1/7 + 1/8 ...... When will the sum of this series exceed 100 ? Will it EVER ? For the thinkers, Why does a candle extinguishes when we blow on it? (Never paid attention to it, right?) Looks simple but it isn't ! * you are right, this guy has got nothing to do... but if you read this we are in the same boat --- My Unedited article^

                                      B Offline
                                      B Offline
                                      Bob Flynn
                                      wrote on last edited by
                                      #38

                                      is it 20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000?

                                      1 Reply Last reply
                                      0
                                      • C Chris Losinger

                                        it's very close to the Harmonic Series[^], it just starts with i=2, instead of i=1. Cleek | Image Toolkits | Thumbnail maker

                                        D Offline
                                        D Offline
                                        Dan Neely
                                        wrote on last edited by
                                        #39

                                        thanks. I knew I'd seen it. Back of the envelope time to hit 100, give or take an order of magnitude. Needs 200 terms in the orsene sequense. 200th term is a sum of 2^200 terms. 2^200 = 2*((2^10)^10) = 2*(10^3)^10 = 2*10^30 terms. Anyone trying to bruteforce it using floats will fail when sum + 1/n = sum due to precision limits, anyone using a scientific number class with arbitary decimal points will be at it for ~10^13 years assuming 1bn terms/sec.

                                        1 Reply Last reply
                                        0
                                        • R Russell Morris

                                          Jon Sagara wrote:

                                          e100?

                                          Wait - after working this a bit, I'm getting that e100 is a good approximation of the number of terms it would take for the sum of that series to get up to 100. Is that what you were indicating? If so, I apologize for my first 'correction' :-O From my musings, the above series is the Harmonic Series, but starting at k=2 (Chris Losinger has noted this already, it appears). In addition, ln(n) is a good approximation of this series' value at n. Therefore solving: ln(n) = 100 for n would approximate the number of terms in the series needed to get the sum of the series to 100. Solving this equation, I get: n = e100 which is what you originally wrote. Did you come to this conclusion in the same way I did? I hope I'm not making myself look silly - I'm 6 years away from my last math class. It's amazing how the details become so fuzzy after such a short time...

                                          S Offline
                                          S Offline
                                          Somanova420
                                          wrote on last edited by
                                          #40

                                          Wow, I like read that exact same page off a Google search.:laugh:

                                          R 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