Anonymous user
Nth root: Difference between revisions
m
no edit summary
mNo edit summary |
|||
Line 3,305:
1024 ^ 1/10 = 2
2 ^ 1/2 = 1.4142135623731
</pre>
=={{header|XBS}}==
<lang XBS>func nthRoot(x,a){
send x^(1/a);
}{a=2};
log(nthRoot(8,3));</lang>
{{out}}
<pre>
2
</pre>
|