5 lines
141 B
Tcl
5 lines
141 B
Tcl
puts [nthroot 2 2]
|
|
puts [nthroot 5 34]
|
|
puts [nthroot 5 [expr {34**5}]]
|
|
puts [nthroot 10 [expr 7131.5**10]]
|
|
puts [nthroot 0.5 7]; # Squaring!
|