How to find largest square from given sticks of n length?












0












$begingroup$


We have n number of sticks and each stick of length 2cm , how to form the largest possible square from the sticks without breaking sticks, find area of largest square?



Please give me some clue
For example we have 19 sticks and each stick is of length 2cm then we get the area of largest square is 64sqcm



We can use maximum of the sticks from given sticks to make a square










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    We have n number of sticks and each stick of length 2cm , how to form the largest possible square from the sticks without breaking sticks, find area of largest square?



    Please give me some clue
    For example we have 19 sticks and each stick is of length 2cm then we get the area of largest square is 64sqcm



    We can use maximum of the sticks from given sticks to make a square










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      We have n number of sticks and each stick of length 2cm , how to form the largest possible square from the sticks without breaking sticks, find area of largest square?



      Please give me some clue
      For example we have 19 sticks and each stick is of length 2cm then we get the area of largest square is 64sqcm



      We can use maximum of the sticks from given sticks to make a square










      share|cite|improve this question











      $endgroup$




      We have n number of sticks and each stick of length 2cm , how to form the largest possible square from the sticks without breaking sticks, find area of largest square?



      Please give me some clue
      For example we have 19 sticks and each stick is of length 2cm then we get the area of largest square is 64sqcm



      We can use maximum of the sticks from given sticks to make a square







      geometry contest-math square-numbers






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 10 at 9:27







      ashim

















      asked Jan 10 at 9:13









      ashimashim

      12




      12






















          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          I'm assuming that you mean strictly square, and not also rectangular. We know that we can make a square with any amount of sticks that is a multiple of $4$. So given $n$ sticks, we can make a square with sides $n//4$, where the $//$ sign means integer division. For example: $10//4=2$ because we can fit $4$ into $10$ twice. The area of our square is then the length of the sides squared, i.e. $text{area}=(n//4*2)*(n//4*2)$ in units $cm^2$.



          If I didn't explain what I mean with integer division clearly enough, let me know and I'll try to explain in more detail.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Please look at my answer
            $endgroup$
            – ashim
            Jan 10 at 9:34










          • $begingroup$
            @ashim Your answer is an exact replica of mine. However your explanation is worded in a way that makes it probably very easy for you to understand, but hard for others.
            $endgroup$
            – S. Crim
            Jan 10 at 10:27










          • $begingroup$
            Yes your explanation is easy to understand
            $endgroup$
            – ashim
            Jan 10 at 11:10



















          0












          $begingroup$

          I got the answer actually. A square has all it's side length same so we need to adjust the sticks in such a way that it doesn't exceeds from the given number of sticks
          For example we have 20 sticks given , then on each side we can use maximum 5sticks so that it satisfies the condition to use maximum sticks
          5*4(square has 4 sides) = 20 (<=20)



          For 19sticks
          4*4= 16<=19



          Now multiply the number of max seats from 19 sticks with stick length 2cm i.e 8
          Area of square is a²
          8² = 64






          share|cite|improve this answer









          $endgroup$













            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3068417%2fhow-to-find-largest-square-from-given-sticks-of-n-length%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            I'm assuming that you mean strictly square, and not also rectangular. We know that we can make a square with any amount of sticks that is a multiple of $4$. So given $n$ sticks, we can make a square with sides $n//4$, where the $//$ sign means integer division. For example: $10//4=2$ because we can fit $4$ into $10$ twice. The area of our square is then the length of the sides squared, i.e. $text{area}=(n//4*2)*(n//4*2)$ in units $cm^2$.



            If I didn't explain what I mean with integer division clearly enough, let me know and I'll try to explain in more detail.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Please look at my answer
              $endgroup$
              – ashim
              Jan 10 at 9:34










            • $begingroup$
              @ashim Your answer is an exact replica of mine. However your explanation is worded in a way that makes it probably very easy for you to understand, but hard for others.
              $endgroup$
              – S. Crim
              Jan 10 at 10:27










            • $begingroup$
              Yes your explanation is easy to understand
              $endgroup$
              – ashim
              Jan 10 at 11:10
















            0












            $begingroup$

            I'm assuming that you mean strictly square, and not also rectangular. We know that we can make a square with any amount of sticks that is a multiple of $4$. So given $n$ sticks, we can make a square with sides $n//4$, where the $//$ sign means integer division. For example: $10//4=2$ because we can fit $4$ into $10$ twice. The area of our square is then the length of the sides squared, i.e. $text{area}=(n//4*2)*(n//4*2)$ in units $cm^2$.



            If I didn't explain what I mean with integer division clearly enough, let me know and I'll try to explain in more detail.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Please look at my answer
              $endgroup$
              – ashim
              Jan 10 at 9:34










            • $begingroup$
              @ashim Your answer is an exact replica of mine. However your explanation is worded in a way that makes it probably very easy for you to understand, but hard for others.
              $endgroup$
              – S. Crim
              Jan 10 at 10:27










            • $begingroup$
              Yes your explanation is easy to understand
              $endgroup$
              – ashim
              Jan 10 at 11:10














            0












            0








            0





            $begingroup$

            I'm assuming that you mean strictly square, and not also rectangular. We know that we can make a square with any amount of sticks that is a multiple of $4$. So given $n$ sticks, we can make a square with sides $n//4$, where the $//$ sign means integer division. For example: $10//4=2$ because we can fit $4$ into $10$ twice. The area of our square is then the length of the sides squared, i.e. $text{area}=(n//4*2)*(n//4*2)$ in units $cm^2$.



            If I didn't explain what I mean with integer division clearly enough, let me know and I'll try to explain in more detail.






            share|cite|improve this answer









            $endgroup$



            I'm assuming that you mean strictly square, and not also rectangular. We know that we can make a square with any amount of sticks that is a multiple of $4$. So given $n$ sticks, we can make a square with sides $n//4$, where the $//$ sign means integer division. For example: $10//4=2$ because we can fit $4$ into $10$ twice. The area of our square is then the length of the sides squared, i.e. $text{area}=(n//4*2)*(n//4*2)$ in units $cm^2$.



            If I didn't explain what I mean with integer division clearly enough, let me know and I'll try to explain in more detail.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 10 at 9:25









            S. CrimS. Crim

            389112




            389112












            • $begingroup$
              Please look at my answer
              $endgroup$
              – ashim
              Jan 10 at 9:34










            • $begingroup$
              @ashim Your answer is an exact replica of mine. However your explanation is worded in a way that makes it probably very easy for you to understand, but hard for others.
              $endgroup$
              – S. Crim
              Jan 10 at 10:27










            • $begingroup$
              Yes your explanation is easy to understand
              $endgroup$
              – ashim
              Jan 10 at 11:10


















            • $begingroup$
              Please look at my answer
              $endgroup$
              – ashim
              Jan 10 at 9:34










            • $begingroup$
              @ashim Your answer is an exact replica of mine. However your explanation is worded in a way that makes it probably very easy for you to understand, but hard for others.
              $endgroup$
              – S. Crim
              Jan 10 at 10:27










            • $begingroup$
              Yes your explanation is easy to understand
              $endgroup$
              – ashim
              Jan 10 at 11:10
















            $begingroup$
            Please look at my answer
            $endgroup$
            – ashim
            Jan 10 at 9:34




            $begingroup$
            Please look at my answer
            $endgroup$
            – ashim
            Jan 10 at 9:34












            $begingroup$
            @ashim Your answer is an exact replica of mine. However your explanation is worded in a way that makes it probably very easy for you to understand, but hard for others.
            $endgroup$
            – S. Crim
            Jan 10 at 10:27




            $begingroup$
            @ashim Your answer is an exact replica of mine. However your explanation is worded in a way that makes it probably very easy for you to understand, but hard for others.
            $endgroup$
            – S. Crim
            Jan 10 at 10:27












            $begingroup$
            Yes your explanation is easy to understand
            $endgroup$
            – ashim
            Jan 10 at 11:10




            $begingroup$
            Yes your explanation is easy to understand
            $endgroup$
            – ashim
            Jan 10 at 11:10











            0












            $begingroup$

            I got the answer actually. A square has all it's side length same so we need to adjust the sticks in such a way that it doesn't exceeds from the given number of sticks
            For example we have 20 sticks given , then on each side we can use maximum 5sticks so that it satisfies the condition to use maximum sticks
            5*4(square has 4 sides) = 20 (<=20)



            For 19sticks
            4*4= 16<=19



            Now multiply the number of max seats from 19 sticks with stick length 2cm i.e 8
            Area of square is a²
            8² = 64






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              I got the answer actually. A square has all it's side length same so we need to adjust the sticks in such a way that it doesn't exceeds from the given number of sticks
              For example we have 20 sticks given , then on each side we can use maximum 5sticks so that it satisfies the condition to use maximum sticks
              5*4(square has 4 sides) = 20 (<=20)



              For 19sticks
              4*4= 16<=19



              Now multiply the number of max seats from 19 sticks with stick length 2cm i.e 8
              Area of square is a²
              8² = 64






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                I got the answer actually. A square has all it's side length same so we need to adjust the sticks in such a way that it doesn't exceeds from the given number of sticks
                For example we have 20 sticks given , then on each side we can use maximum 5sticks so that it satisfies the condition to use maximum sticks
                5*4(square has 4 sides) = 20 (<=20)



                For 19sticks
                4*4= 16<=19



                Now multiply the number of max seats from 19 sticks with stick length 2cm i.e 8
                Area of square is a²
                8² = 64






                share|cite|improve this answer









                $endgroup$



                I got the answer actually. A square has all it's side length same so we need to adjust the sticks in such a way that it doesn't exceeds from the given number of sticks
                For example we have 20 sticks given , then on each side we can use maximum 5sticks so that it satisfies the condition to use maximum sticks
                5*4(square has 4 sides) = 20 (<=20)



                For 19sticks
                4*4= 16<=19



                Now multiply the number of max seats from 19 sticks with stick length 2cm i.e 8
                Area of square is a²
                8² = 64







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 10 at 9:32









                ashimashim

                12




                12






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3068417%2fhow-to-find-largest-square-from-given-sticks-of-n-length%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Questions related to Moebius Transform of Characteristic Function of the Primes

                    List of scandals in India

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?