
-----------------------------------
metachief
Sun Sep 21, 2008 11:34 pm

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?

-----------------------------------
[Gandalf]
Sun Sep 21, 2008 11:58 pm

RE:sqrt
-----------------------------------
Use math:
sqrt(x) = x^(1/2)
So cubed root of x would be:
x^(1/3)
Translate that to Turing:
put sqrt(25)
put 25 ** (1/2)
They should be the same.
