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. Puzzle for friday

Puzzle for friday

Scheduled Pinned Locked Moved The Lounge
questionjavacomadobe
14 Posts 8 Posters 0 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.
  • R Raj Lal

    I came across this interesting puzzle lately, see what you can make of ... A DIGITAL CLOCK in a WEB page SHOWS both date and time. The FORMAT is hh:mm:ss month/day Its a 24-hour clock (times range from 00:00:00 to 23:59:59) Now the question is, If all 10 digits 0 - 9 appear on the display What is -------(a) The Earliest -------(b) The latest DATE AND TIME in the year This will happen? Another question i was pondering, How does a spring balance works, if it depends on spring, how is it so accurate ?

    Omit Needless Words - Strunk, William, Jr.


    FOR VISTA: Photoshop Preview Handler

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

    Quartz. wrote:

    Another question i was pondering, How does a spring balance works, if it depends on spring, how is it so accurate ?

    Unless you exceed the elastic limit (the point where it's stretched/compressed to the point it bends and doesn't return to the original state) a spring expands and contracts under a force at an (almost) constant linear rate. The almost is due to fatigue and the difference between real materials and the idealized freshman physics problems that will over extended periods of time slowly alter the response curve. WIth a good spring though the effect is small enough and slow enough in happening that it can be ignored for normal purposes.

    -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

    R M 2 Replies Last reply
    0
    • M MoustafaS

      The early is : 16:48:59 03/27, am I right ?:sigh: The last is : 18:57:43 09/26, ?


      About : Islam
      About : Me

      B Offline
      B Offline
      Bassam Abdul Baki
      wrote on last edited by
      #4

      I guessed 23:48:59 06/17 and 17:56:43 09/28. Your earliest beats mine, but my latest beats yours.


      "Dissent is the highest form of patriotism." - Thomas Jefferson Web - Blog - RSS - Math - LinkedIn - BM

      M 1 Reply Last reply
      0
      • D Dan Neely

        Quartz. wrote:

        Another question i was pondering, How does a spring balance works, if it depends on spring, how is it so accurate ?

        Unless you exceed the elastic limit (the point where it's stretched/compressed to the point it bends and doesn't return to the original state) a spring expands and contracts under a force at an (almost) constant linear rate. The almost is due to fatigue and the difference between real materials and the idealized freshman physics problems that will over extended periods of time slowly alter the response curve. WIth a good spring though the effect is small enough and slow enough in happening that it can be ignored for normal purposes.

        -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

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

        Thanks dan ! The physics had always intrigued me

        Omit Needless Words - Strunk, William, Jr.


        Vista? Photoshop Preview Handler

        1 Reply Last reply
        0
        • D Dan Neely

          Quartz. wrote:

          Another question i was pondering, How does a spring balance works, if it depends on spring, how is it so accurate ?

          Unless you exceed the elastic limit (the point where it's stretched/compressed to the point it bends and doesn't return to the original state) a spring expands and contracts under a force at an (almost) constant linear rate. The almost is due to fatigue and the difference between real materials and the idealized freshman physics problems that will over extended periods of time slowly alter the response curve. WIth a good spring though the effect is small enough and slow enough in happening that it can be ignored for normal purposes.

          -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

          M Offline
          M Offline
          Member 96
          wrote on last edited by
          #6

          Wouldn't the ambient temperature have a big effect on that? Here in Canada on the gas pumps they always say "calibrated to 15c". When I used to live up north just off the Alaska highway I always got some satisfaction when it was -40 thinking about how much extra gas I was getting because it was so far off the calibration point for the pump until I realized that underground the main gas tank is probably still at 15c anyway.


          "110%" - it's the new 70%

          C D 2 Replies Last reply
          0
          • M MoustafaS

            The early is : 16:48:59 03/27, am I right ?:sigh: The last is : 18:57:43 09/26, ?


            About : Islam
            About : Me

            C Offline
            C Offline
            Chris Morgan
            wrote on last edited by
            #7

            Just swap a couple of numbers around and you get 17:48:59 03/26.

            1 Reply Last reply
            0
            • M Member 96

              Wouldn't the ambient temperature have a big effect on that? Here in Canada on the gas pumps they always say "calibrated to 15c". When I used to live up north just off the Alaska highway I always got some satisfaction when it was -40 thinking about how much extra gas I was getting because it was so far off the calibration point for the pump until I realized that underground the main gas tank is probably still at 15c anyway.


              "110%" - it's the new 70%

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

              also, the gas itself expands and contracts with temperature. IIRC, Canadian gas pumps account for that, but in the US they don't. so you get more gas for your $ when it's cold out, down here. more, here

              image processing toolkits | batch image processing | blogging

              P 1 Reply Last reply
              0
              • C Chris Losinger

                also, the gas itself expands and contracts with temperature. IIRC, Canadian gas pumps account for that, but in the US they don't. so you get more gas for your $ when it's cold out, down here. more, here

                image processing toolkits | batch image processing | blogging

                P Offline
                P Offline
                PIEBALDconsult
                wrote on last edited by
                #9

                That's why I tell my wife to only buy gas in the relative cool of the morning. Our forecast high today in Phoenix is 110F. -- But it's a dry heat.

                1 Reply Last reply
                0
                • R Raj Lal

                  I came across this interesting puzzle lately, see what you can make of ... A DIGITAL CLOCK in a WEB page SHOWS both date and time. The FORMAT is hh:mm:ss month/day Its a 24-hour clock (times range from 00:00:00 to 23:59:59) Now the question is, If all 10 digits 0 - 9 appear on the display What is -------(a) The Earliest -------(b) The latest DATE AND TIME in the year This will happen? Another question i was pondering, How does a spring balance works, if it depends on spring, how is it so accurate ?

                  Omit Needless Words - Strunk, William, Jr.


                  FOR VISTA: Photoshop Preview Handler

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #10

                  Taking time zone into account?

                  R 1 Reply Last reply
                  0
                  • P PIEBALDconsult

                    Taking time zone into account?

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

                    How will that effect ?

                    Omit Needless Words - Strunk, William, Jr.


                    Vista? Photoshop Preview Handler

                    1 Reply Last reply
                    0
                    • M Member 96

                      Wouldn't the ambient temperature have a big effect on that? Here in Canada on the gas pumps they always say "calibrated to 15c". When I used to live up north just off the Alaska highway I always got some satisfaction when it was -40 thinking about how much extra gas I was getting because it was so far off the calibration point for the pump until I realized that underground the main gas tank is probably still at 15c anyway.


                      "110%" - it's the new 70%

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

                      John Cardinal wrote:

                      Wouldn't the ambient temperature have a big effect on that?

                      Some, but again it's a small effect for normal materials. You can engineer for the effect to make a thermometer but that type of spring isn't used in a scale obviously ;p

                      -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

                      1 Reply Last reply
                      0
                      • B Bassam Abdul Baki

                        I guessed 23:48:59 06/17 and 17:56:43 09/28. Your earliest beats mine, but my latest beats yours.


                        "Dissent is the highest form of patriotism." - Thomas Jefferson Web - Blog - RSS - Math - LinkedIn - BM

                        M Offline
                        M Offline
                        MoustafaS
                        wrote on last edited by
                        #13

                        :-D


                        About : Islam
                        About : Me

                        1 Reply Last reply
                        0
                        • R Raj Lal

                          I came across this interesting puzzle lately, see what you can make of ... A DIGITAL CLOCK in a WEB page SHOWS both date and time. The FORMAT is hh:mm:ss month/day Its a 24-hour clock (times range from 00:00:00 to 23:59:59) Now the question is, If all 10 digits 0 - 9 appear on the display What is -------(a) The Earliest -------(b) The latest DATE AND TIME in the year This will happen? Another question i was pondering, How does a spring balance works, if it depends on spring, how is it so accurate ?

                          Omit Needless Words - Strunk, William, Jr.


                          FOR VISTA: Photoshop Preview Handler

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

                          EARLIEST: 17:48:59 03/26 LATEST: 17:56:43 09/28

                          Omit Needless Words - Strunk, William, Jr.


                          Vista? Photoshop Preview Handler

                          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