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 of the Day [modified .2 ]

Puzzle of the Day [modified .2 ]

Scheduled Pinned Locked Moved The Lounge
asp-netcomquestion
26 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.
  • R Offline
    R Offline
    Raj Lal
    wrote on last edited by
    #1

    Can You Find ROOT of a number on a standard calculator WITHOUT touching the root sign or power sign a power sign also acts like a root sign and believe me you can Easy huh! try it ? tell me the EXACT steps * Easy looking problems are sometimes the most challenging ones Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating -- modified at 19:15 Friday 23rd June, 2006

    L A E E R 7 Replies Last reply
    0
    • R Raj Lal

      Can You Find ROOT of a number on a standard calculator WITHOUT touching the root sign or power sign a power sign also acts like a root sign and believe me you can Easy huh! try it ? tell me the EXACT steps * Easy looking problems are sometimes the most challenging ones Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating -- modified at 19:15 Friday 23rd June, 2006

      L Offline
      L Offline
      Luca Leonardo Scorcia
      wrote on last edited by
      #2

      sqrt(x) = x ^ 0.5 ? Luca The Price of Freedom is Eternal Vigilance.

      A R 2 Replies Last reply
      0
      • R Raj Lal

        Can You Find ROOT of a number on a standard calculator WITHOUT touching the root sign or power sign a power sign also acts like a root sign and believe me you can Easy huh! try it ? tell me the EXACT steps * Easy looking problems are sometimes the most challenging ones Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating -- modified at 19:15 Friday 23rd June, 2006

        A Offline
        A Offline
        Anton Afanasyev
        wrote on last edited by
        #3

        if by ROOT you mean SQUARE ROOT, then just go like (assuming this is a calculator that can type in the whole equation and then execute it) 1. type in the number 2. press the To The Power of button 3. type in (1/2) if by ROOT you mean some other ROOT (ie. CUBE ROOT), then do the same as above but in step 3. replace the 2 with the root's power. rara avis in terris

        R 1 Reply Last reply
        0
        • L Luca Leonardo Scorcia

          sqrt(x) = x ^ 0.5 ? Luca The Price of Freedom is Eternal Vigilance.

          A Offline
          A Offline
          Anton Afanasyev
          wrote on last edited by
          #4

          :doh: ive been typing for T W O minutes !?!?!? O.0 rara avis in terris

          R 1 Reply Last reply
          0
          • L Luca Leonardo Scorcia

            sqrt(x) = x ^ 0.5 ? Luca The Price of Freedom is Eternal Vigilance.

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

            ^ sign is basically a root sign ok i have modified the puzzle without using root sign or power sign Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

            1 Reply Last reply
            0
            • A Anton Afanasyev

              if by ROOT you mean SQUARE ROOT, then just go like (assuming this is a calculator that can type in the whole equation and then execute it) 1. type in the number 2. press the To The Power of button 3. type in (1/2) if by ROOT you mean some other ROOT (ie. CUBE ROOT), then do the same as above but in step 3. replace the 2 with the root's power. rara avis in terris

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

              ^ sign is also a root sign ok i have modified the puzzle without using root sign or power sign Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

              1 Reply Last reply
              0
              • A Anton Afanasyev

                :doh: ive been typing for T W O minutes !?!?!? O.0 rara avis in terris

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

                not too fast .... Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                1 Reply Last reply
                0
                • R Raj Lal

                  Can You Find ROOT of a number on a standard calculator WITHOUT touching the root sign or power sign a power sign also acts like a root sign and believe me you can Easy huh! try it ? tell me the EXACT steps * Easy looking problems are sometimes the most challenging ones Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating -- modified at 19:15 Friday 23rd June, 2006

                  E Offline
                  E Offline
                  Ennis Ray Lynch Jr
                  wrote on last edited by
                  #8

                  Open you calculus book to newtons method and use it. http://mitpress.mit.edu/sicp/chapter1/node9.html "Until the day of his death, no man can be sure of his courage" -- Jean Anouilh

                  1 Reply Last reply
                  0
                  • R Raj Lal

                    Can You Find ROOT of a number on a standard calculator WITHOUT touching the root sign or power sign a power sign also acts like a root sign and believe me you can Easy huh! try it ? tell me the EXACT steps * Easy looking problems are sometimes the most challenging ones Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating -- modified at 19:15 Friday 23rd June, 2006

                    E Offline
                    E Offline
                    Ed Poore
                    wrote on last edited by
                    #9

                    Easy 0 EXE (or) == (or) ENTER (or whatever is the calculators equivalent) et voila, 0 the correct answer If you want a serious answer then: 1) You can use the iteration: xn = (1/2)(x(n-1) + a/x(n-1)) where a is the number you're trying to find the root of, x0 should be as close to the root as possible. 2) You could probably use the Newton-Raphson method although this may involve powers (havn't checked, I just thought about it).  This does work 3) You can use the Binomial Theorem 4) You can use "guessing", i.e. a trail and error method. 5) You could use logs (ok, this doesn't use a "basic" calculator).


                    The Welsh will always support two teams: The Welsh, and anyone playing England :)

                    Last modified: 23 June 2006 18:18:05 -- Added some more answers

                    R 1 Reply Last reply
                    0
                    • E Ed Poore

                      Easy 0 EXE (or) == (or) ENTER (or whatever is the calculators equivalent) et voila, 0 the correct answer If you want a serious answer then: 1) You can use the iteration: xn = (1/2)(x(n-1) + a/x(n-1)) where a is the number you're trying to find the root of, x0 should be as close to the root as possible. 2) You could probably use the Newton-Raphson method although this may involve powers (havn't checked, I just thought about it).  This does work 3) You can use the Binomial Theorem 4) You can use "guessing", i.e. a trail and error method. 5) You could use logs (ok, this doesn't use a "basic" calculator).


                      The Welsh will always support two teams: The Welsh, and anyone playing England :)

                      Last modified: 23 June 2006 18:18:05 -- Added some more answers

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

                      Ed.Poore wrote:

                      If you want a serious answer

                      yes, assume you are in the examination hall and your standard calculator got broken with the power and root key and you have to find a root what will you do ? steps ? Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                      E 2 Replies Last reply
                      0
                      • R Raj Lal

                        Ed.Poore wrote:

                        If you want a serious answer

                        yes, assume you are in the examination hall and your standard calculator got broken with the power and root key and you have to find a root what will you do ? steps ? Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                        E Offline
                        E Offline
                        Ed Poore
                        wrote on last edited by
                        #11

                        Suppose the easiest would be the Newton-Raphson, or the iterative one (essentially the same as the Newton-Raphson), since they both converge quickly thus requiring the fewest steps. In a real exam though: 1) I was allowed my Graphics calculator so there several thousand more ways than one to skin this particular cat. 2) I'd leave it as something like sqrt(2), of course cancelling it out by removing factors which are square numbers.  That is the most exact way and since I did further it's also easier to work with if you're doing a long calculation.


                        The Welsh will always support two teams: The Welsh, and anyone playing England :)

                        1 Reply Last reply
                        0
                        • R Raj Lal

                          Ed.Poore wrote:

                          If you want a serious answer

                          yes, assume you are in the examination hall and your standard calculator got broken with the power and root key and you have to find a root what will you do ? steps ? Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                          E Offline
                          E Offline
                          Ed Poore
                          wrote on last edited by
                          #12

                          Seeing as you want the exact steps, assuming that the calculator has only a broken power & root button (but is a scientific calculator (or at least can use a function like Ans)). Let r be the number whose root you want to find (e.g. 5) Let a be r/2 So enter in the calculator: 5 / 2 EXE (resulting in 2.5 being displayed) (0.5 * (Ans + (5 / Ans))) EXE (0.5 * (Ans + (5 / Ans))) EXE ... and so on until the accuracy required is obtained (should be < 5 iterations for ~6 places). If calculator does not support Ans button then jot it down or put it in memory to re-use.  (Sorry can't remember how M+ M- etc work anymore since it's years since I used them).


                          The Welsh will always support two teams: The Welsh, and anyone playing England :)

                          R P 2 Replies Last reply
                          0
                          • E Ed Poore

                            Seeing as you want the exact steps, assuming that the calculator has only a broken power & root button (but is a scientific calculator (or at least can use a function like Ans)). Let r be the number whose root you want to find (e.g. 5) Let a be r/2 So enter in the calculator: 5 / 2 EXE (resulting in 2.5 being displayed) (0.5 * (Ans + (5 / Ans))) EXE (0.5 * (Ans + (5 / Ans))) EXE ... and so on until the accuracy required is obtained (should be < 5 iterations for ~6 places). If calculator does not support Ans button then jot it down or put it in memory to re-use.  (Sorry can't remember how M+ M- etc work anymore since it's years since I used them).


                            The Welsh will always support two teams: The Welsh, and anyone playing England :)

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

                            your solution is quite good , but it won't give a result instantly in a calculator, defies the purpose of the calculator Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                            E 1 Reply Last reply
                            0
                            • E Ed Poore

                              Seeing as you want the exact steps, assuming that the calculator has only a broken power & root button (but is a scientific calculator (or at least can use a function like Ans)). Let r be the number whose root you want to find (e.g. 5) Let a be r/2 So enter in the calculator: 5 / 2 EXE (resulting in 2.5 being displayed) (0.5 * (Ans + (5 / Ans))) EXE (0.5 * (Ans + (5 / Ans))) EXE ... and so on until the accuracy required is obtained (should be < 5 iterations for ~6 places). If calculator does not support Ans button then jot it down or put it in memory to re-use.  (Sorry can't remember how M+ M- etc work anymore since it's years since I used them).


                              The Welsh will always support two teams: The Welsh, and anyone playing England :)

                              P Offline
                              P Offline
                              Paul Conrad
                              wrote on last edited by
                              #14

                              Ed.Poore wrote:

                              Sorry can't remember how M+ M-

                              Works just fine with the chessy Windows Calculator in Standard Mode. After each step, put the result in memory using the MS (Memory Save/Store) button. To get the result from the previous step, use the MR (Memory Recall) button.

                              E 1 Reply Last reply
                              0
                              • R Raj Lal

                                your solution is quite good , but it won't give a result instantly in a calculator, defies the purpose of the calculator Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                                E Offline
                                E Offline
                                Ed Poore
                                wrote on last edited by
                                #15

                                Quartz... wrote:

                                but it won't give a result instantly in a calculator

                                Neither does the ^ or sqrt button, it performs the ln comparison to solve roots.  It just happens much more quickly. Basically it all depends on how accurate you want to be.


                                The Welsh will always support two teams: The Welsh, and anyone playing England :)

                                R 1 Reply Last reply
                                0
                                • P Paul Conrad

                                  Ed.Poore wrote:

                                  Sorry can't remember how M+ M-

                                  Works just fine with the chessy Windows Calculator in Standard Mode. After each step, put the result in memory using the MS (Memory Save/Store) button. To get the result from the previous step, use the MR (Memory Recall) button.

                                  E Offline
                                  E Offline
                                  Ed Poore
                                  wrote on last edited by
                                  #16

                                  Good to know, I actually wrote a C# script and using the defaults the answer came out to the default accuracy in ~5 iterations, not bad for ~10 decimal places.


                                  The Welsh will always support two teams: The Welsh, and anyone playing England :)

                                  1 Reply Last reply
                                  0
                                  • R Raj Lal

                                    Can You Find ROOT of a number on a standard calculator WITHOUT touching the root sign or power sign a power sign also acts like a root sign and believe me you can Easy huh! try it ? tell me the EXACT steps * Easy looking problems are sometimes the most challenging ones Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating -- modified at 19:15 Friday 23rd June, 2006

                                    R Offline
                                    R Offline
                                    Ryan Binns
                                    wrote on last edited by
                                    #17

                                    Easy. Defining x = ea => a = ln(x) sqrt(x) = exp(a / 2) sqrt(x) = exp(ln(x) / 2) Similarly, you can go for other roots (n) by: nth_root(x) = exp(ln(x) / n)

                                    Ryan

                                    "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                                    R 1 Reply Last reply
                                    0
                                    • R Raj Lal

                                      Can You Find ROOT of a number on a standard calculator WITHOUT touching the root sign or power sign a power sign also acts like a root sign and believe me you can Easy huh! try it ? tell me the EXACT steps * Easy looking problems are sometimes the most challenging ones Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating -- modified at 19:15 Friday 23rd June, 2006

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

                                      Use of Bakhshali Formula here[^] ofcourse as suggested by ed.poore and a few others we have to do a guess work , and yes this bakshali formula is actually a version of newtons method and as you will see its uses two iterations in a single step q = A ^ 2 + b = A * A + b example 41 = 6 ^ 2 + 5 = 6 * 6 + 5 Bakhshali Formula says sqrt(q) = sqrt(A^2 + b) = A + b/(2A) - (b/(2A))^2/[2(A + b/(2A))] which comes down to Sqrt(q) = sqrt(A^2 + b) = A + b/(2A) - (b/(2*A))*(b/(2*A)) / (2*(A + b/(2*A))) sqrt(41)[^] = 6 + 5/(2*6) - ((5/(2*6))*(5/(2*6)))/(2*(6 + 5/(2*6)))[^] Mathematical operations used = /, * , + , - have a nice weekend Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                                      A 1 Reply Last reply
                                      0
                                      • E Ed Poore

                                        Quartz... wrote:

                                        but it won't give a result instantly in a calculator

                                        Neither does the ^ or sqrt button, it performs the ln comparison to solve roots.  It just happens much more quickly. Basically it all depends on how accurate you want to be.


                                        The Welsh will always support two teams: The Welsh, and anyone playing England :)

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

                                        i have added the solution its quite similar to yours here[^] have a good weekend Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                                        1 Reply Last reply
                                        0
                                        • R Ryan Binns

                                          Easy. Defining x = ea => a = ln(x) sqrt(x) = exp(a / 2) sqrt(x) = exp(ln(x) / 2) Similarly, you can go for other roots (n) by: nth_root(x) = exp(ln(x) / n)

                                          Ryan

                                          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

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

                                          Hey ryan Thats a great solution exp is actually the power button, i added later that without using the root ket or power key i have added a solution here[^] have a good weekend raj Rule # 17: Omit Needless Words - Strunk, William, Jr. ------------------------------------------------------------- Universal DBA | Ajax Rating

                                          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