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

              D Offline
              D Offline
              david s_
              wrote on last edited by
              #21

              Quartz... wrote:

              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

              4/2 (4 divided by 2) 2 squared is 4 the square root of 4 is 2. what did i win? :laugh: ...yeah, i heard you.

              R 1 Reply Last reply
              0
              • R Raj Lal

                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 Offline
                A Offline
                AbhishekBK
                wrote on last edited by
                #22

                sqrt x = log x/log 2 This I will do if only the sqrt key was not working. If the log key wasn't working either, I would have flunked! Abhishek

                R 1 Reply Last reply
                0
                • A AbhishekBK

                  sqrt x = log x/log 2 This I will do if only the sqrt key was not working. If the log key wasn't working either, I would have flunked! Abhishek

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

                  AbhishekBK wrote:

                  sqrt x = log x/log 2

                  Errr... no it's not. sqrt(9) = 3 log(9) / log(2) = 3.1699250014423123629074778878956

                  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"

                  A 1 Reply Last reply
                  0
                  • R Ryan Binns

                    AbhishekBK wrote:

                    sqrt x = log x/log 2

                    Errr... no it's not. sqrt(9) = 3 log(9) / log(2) = 3.1699250014423123629074778878956

                    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"

                    A Offline
                    A Offline
                    AbhishekBK
                    wrote on last edited by
                    #24

                    er........... looks like I would have flunked anyway! :laugh: Abhishek

                    R 1 Reply Last reply
                    0
                    • A AbhishekBK

                      er........... looks like I would have flunked anyway! :laugh: Abhishek

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

                      AbhishekBK wrote:

                      looks like I would have flunked anyway!

                      Hehe :)

                      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"

                      1 Reply Last reply
                      0
                      • D david s_

                        Quartz... wrote:

                        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

                        4/2 (4 divided by 2) 2 squared is 4 the square root of 4 is 2. what did i win? :laugh: ...yeah, i heard you.

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

                        david s_ wrote:

                        what did i win?

                        Square root of -2 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