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. POTD

POTD

Scheduled Pinned Locked Moved The Lounge
questioncomtools
39 Posts 9 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.
  • M MoustafaS

    Puzzle of the day. A fence of a house is 10m length (square) At point d a dog is tied, it can't go inside the house, when it moves along the sides it reaches the point x (max), Where the point x, and d are a midpoints of there sides. Q : What is the area that the dog can move in ?

      d
    
      • -|- - -
        | |
        | |
        | |
        | |
      • -|- - -
        x

    About : Islam
    About : Me

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

    Area of circle - Area of square = Pi * Rdog * Rdog - side * side = Pi * 20 * 20 - 10 * 10 = (4Pi - 1)* 100 ~= 11.56 * 100 ~= 1156 ?

    Omit Needless Words - Strunk, William, Jr.


    Vista? Cryptography Next Generation (CNG) here

    M 1 Reply Last reply
    0
    • R Raj Lal

      Area of circle - Area of square = Pi * Rdog * Rdog - side * side = Pi * 20 * 20 - 10 * 10 = (4Pi - 1)* 100 ~= 11.56 * 100 ~= 1156 ?

      Omit Needless Words - Strunk, William, Jr.


      Vista? Cryptography Next Generation (CNG) here

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

      :laugh: Taking your word, "The most obvious solutions are not right". Also I put this puzzle specially for you.


      About : Islam
      About : Me

      R R 2 Replies Last reply
      0
      • M MoustafaS

        Puzzle of the day. A fence of a house is 10m length (square) At point d a dog is tied, it can't go inside the house, when it moves along the sides it reaches the point x (max), Where the point x, and d are a midpoints of there sides. Q : What is the area that the dog can move in ?

          d
        
          • -|- - -
            | |
            | |
            | |
            | |
          • -|- - -
            x

        About : Islam
        About : Me

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

        PI * 20.3125?

        Cheers, Vıkram.


        Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

        M 1 Reply Last reply
        0
        • V Vikram A Punathambekar

          PI * 20.3125?

          Cheers, Vıkram.


          Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

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

          Sorry, wrong, also I want steps.


          About : Islam
          About : Me

          1 Reply Last reply
          0
          • M MoustafaS

            :laugh: Taking your word, "The most obvious solutions are not right". Also I put this puzzle specially for you.


            About : Islam
            About : Me

            R Offline
            R Offline
            Rama Krishna Vavilala
            wrote on last edited by
            #6

            :laugh::laugh::laugh: Now you are giving Quartz a taste of his own medicine. BTW: Is the answer: 95.66

            M 1 Reply Last reply
            0
            • M MoustafaS

              Puzzle of the day. A fence of a house is 10m length (square) At point d a dog is tied, it can't go inside the house, when it moves along the sides it reaches the point x (max), Where the point x, and d are a midpoints of there sides. Q : What is the area that the dog can move in ?

                d
              
                • -|- - -
                  | |
                  | |
                  | |
                  | |
                • -|- - -
                  x

              About : Islam
              About : Me

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

              LongHC wrote:

              Q : What is the area that the dog can move in ?

              What's the area of the house (the actual building within the fence)? Without knowing that, you cannot calculate the area the dog can walk in. Oops - sorry. I thought the dog was tied inside the fence.

              Regards, Nish


              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
              My latest book : C++/CLI in Action / Amazon.com link

              M 1 Reply Last reply
              0
              • R Rama Krishna Vavilala

                :laugh::laugh::laugh: Now you are giving Quartz a taste of his own medicine. BTW: Is the answer: 95.66

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

                Rama Krishna Vavilala wrote:

                BTW: Is the answer: 95.66

                Wrong :->

                Rama Krishna Vavilala wrote:

                Now you are giving Quartz a taste of his own medicine.

                It seems not only he will taste it.:-O


                About : Islam
                About : Me

                R 1 Reply Last reply
                0
                • N Nish Nishant

                  LongHC wrote:

                  Q : What is the area that the dog can move in ?

                  What's the area of the house (the actual building within the fence)? Without knowing that, you cannot calculate the area the dog can walk in. Oops - sorry. I thought the dog was tied inside the fence.

                  Regards, Nish


                  Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                  My latest book : C++/CLI in Action / Amazon.com link

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

                  Nishant Sivakumar wrote:

                  What's the area of the house (the actual building within the fence)?

                  It is written in the puzzle.

                  Nishant Sivakumar wrote:

                  Without knowing that, you cannot calculate the area the dog can walk in.

                  Remember it can't go through it, it will only stick around the wall.


                  About : Islam
                  About : Me

                  N 1 Reply Last reply
                  0
                  • M MoustafaS

                    Puzzle of the day. A fence of a house is 10m length (square) At point d a dog is tied, it can't go inside the house, when it moves along the sides it reaches the point x (max), Where the point x, and d are a midpoints of there sides. Q : What is the area that the dog can move in ?

                      d
                    
                      • -|- - -
                        | |
                        | |
                        | |
                        | |
                      • -|- - -
                        x

                    About : Islam
                    About : Me

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

                    The length of the leash is 20 m. So the area is the sum of 3 half circles of radius 20m, 15m and 5m. Think about how the leash wraps around the house as the god walks around it.


                    Using the GridView is like trying to explain to someone else how to move a third person's hands in order to tie your shoelaces for you. -Chris Maunder

                    N M 2 Replies Last reply
                    0
                    • M MoustafaS

                      Puzzle of the day. A fence of a house is 10m length (square) At point d a dog is tied, it can't go inside the house, when it moves along the sides it reaches the point x (max), Where the point x, and d are a midpoints of there sides. Q : What is the area that the dog can move in ?

                        d
                      
                        • -|- - -
                          | |
                          | |
                          | |
                          | |
                        • -|- - -
                          x

                      About : Islam
                      About : Me

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

                      Total area dog can walk in = (Pi * 20 * 20)/2 + (Pi * 15 * 15)/2 + (Pi * 5 * 5)/2 = Pi/2 * (400 + 225 + 25) = Pi * 325 = approx 1020.5

                      Regards, Nish


                      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                      My latest book : C++/CLI in Action / Amazon.com link

                      1 Reply Last reply
                      0
                      • M MoustafaS

                        Nishant Sivakumar wrote:

                        What's the area of the house (the actual building within the fence)?

                        It is written in the puzzle.

                        Nishant Sivakumar wrote:

                        Without knowing that, you cannot calculate the area the dog can walk in.

                        Remember it can't go through it, it will only stick around the wall.


                        About : Islam
                        About : Me

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

                        LongHC wrote:

                        Remember it can't go through it, it will only stick around the wall.

                        Sorry, initially I thought the dog was inside the fence.

                        Regards, Nish


                        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                        My latest book : C++/CLI in Action / Amazon.com link

                        1 Reply Last reply
                        0
                        • M MoustafaS

                          Rama Krishna Vavilala wrote:

                          BTW: Is the answer: 95.66

                          Wrong :->

                          Rama Krishna Vavilala wrote:

                          Now you are giving Quartz a taste of his own medicine.

                          It seems not only he will taste it.:-O


                          About : Islam
                          About : Me

                          R Offline
                          R Offline
                          Rama Krishna Vavilala
                          wrote on last edited by
                          #13

                          Assuming that the dog cannot cross the fence. The dog will walk in an area like the following: dog.png (1.1 Kb) The area = 2 * area of rectangles + Area of the 1/6 the circle = 2 * 0.5 * 5 * sqrt(75) + 1/6 * pi * 100 Where did I go wrong?

                          M 1 Reply Last reply
                          0
                          • A Andy Brummer

                            The length of the leash is 20 m. So the area is the sum of 3 half circles of radius 20m, 15m and 5m. Think about how the leash wraps around the house as the god walks around it.


                            Using the GridView is like trying to explain to someone else how to move a third person's hands in order to tie your shoelaces for you. -Chris Maunder

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

                            Very nice :laugh:

                            Andy Brummer wrote:

                            god

                            :wtf: DOG please, DOG.


                            About : Islam
                            About : Me

                            1 Reply Last reply
                            0
                            • A Andy Brummer

                              The length of the leash is 20 m. So the area is the sum of 3 half circles of radius 20m, 15m and 5m. Think about how the leash wraps around the house as the god walks around it.


                              Using the GridView is like trying to explain to someone else how to move a third person's hands in order to tie your shoelaces for you. -Chris Maunder

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

                              Andy Brummer wrote:

                              Think about how the leash wraps around the house as the god walks around it.

                              SOAPBOX!!! :rolleyes:

                              Regards, Nish


                              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                              My latest book : C++/CLI in Action / Amazon.com link

                              1 Reply Last reply
                              0
                              • M MoustafaS

                                Puzzle of the day. A fence of a house is 10m length (square) At point d a dog is tied, it can't go inside the house, when it moves along the sides it reaches the point x (max), Where the point x, and d are a midpoints of there sides. Q : What is the area that the dog can move in ?

                                  d
                                
                                  • -|- - -
                                    | |
                                    | |
                                    | |
                                    | |
                                  • -|- - -
                                    x

                                About : Islam
                                About : Me

                                T Offline
                                T Offline
                                Tarakeshwar Reddy
                                wrote on last edited by
                                #16

                                1139.271 1021.42771 Forgot to /2 for pi*5*5

                                M 1 Reply Last reply
                                0
                                • M MoustafaS

                                  Puzzle of the day. A fence of a house is 10m length (square) At point d a dog is tied, it can't go inside the house, when it moves along the sides it reaches the point x (max), Where the point x, and d are a midpoints of there sides. Q : What is the area that the dog can move in ?

                                    d
                                  
                                    • -|- - -
                                      | |
                                      | |
                                      | |
                                      | |
                                    • -|- - -
                                      x

                                  About : Islam
                                  About : Me

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

                                  Andy Brummer and Nishant Sivakumar got it right. it's 325*PIm


                                  About : Islam
                                  About : Me

                                  N V 2 Replies Last reply
                                  0
                                  • M MoustafaS

                                    :laugh: Taking your word, "The most obvious solutions are not right". Also I put this puzzle specially for you.


                                    About : Islam
                                    About : Me

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

                                    oh i am flattered :) i should have given more time to the question btw good one

                                    Omit Needless Words - Strunk, William, Jr.


                                    Vista? Cryptography Next Generation (CNG) here

                                    M 1 Reply Last reply
                                    0
                                    • R Raj Lal

                                      oh i am flattered :) i should have given more time to the question btw good one

                                      Omit Needless Words - Strunk, William, Jr.


                                      Vista? Cryptography Next Generation (CNG) here

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

                                      Nice one in fact, what about your new puzzles, do you have ?:rolleyes:


                                      About : Islam
                                      About : Me

                                      R 1 Reply Last reply
                                      0
                                      • M MoustafaS

                                        Andy Brummer and Nishant Sivakumar got it right. it's 325*PIm


                                        About : Islam
                                        About : Me

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

                                        LongHC wrote:

                                        Andy Brummer and Nishant Sivakumar got it right. it's 325*PIm

                                        :jig:

                                        Regards, Nish


                                        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                        My latest book : C++/CLI in Action / Amazon.com link

                                        1 Reply Last reply
                                        0
                                        • M MoustafaS

                                          Nice one in fact, what about your new puzzles, do you have ?:rolleyes:


                                          About : Islam
                                          About : Me

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

                                          Did you see the last one here[^]

                                          Omit Needless Words - Strunk, William, Jr.


                                          Vista? Cryptography Next Generation (CNG) here

                                          M 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