RosettaCodeData/Task/Nth-root/MATLAB/nth-root-2.m

6 lines
45 B
Mathematica

>> nthRoot(2,2)
ans =
1.414213562373095