Computer Science Canada sqrt |
Author: | metachief [ Sun Sep 21, 2008 11:34 pm ] |
Post subject: | sqrt |
How could you take the root that's bigger than 2 of a number in the turing language. For instance how would i type the command in turing for the cubed root of 3, or the quad root of 3? |
Author: | [Gandalf] [ Sun Sep 21, 2008 11:58 pm ] | ||
Post subject: | RE:sqrt | ||
Use math: sqrt(x) = x^(1/2) So cubed root of x would be: x^(1/3) Translate that to Turing:
They should be the same. |