Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
7
Task/Nth-root/Nu/nth-root.nu
Normal file
7
Task/Nth-root/Nu/nth-root.nu
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
def "math root" [n] {$in ** (1 / $n)}
|
||||
|
||||
1..10 | each {|it|
|
||||
1..10 | reduce --fold {index: $it} {|root acc|
|
||||
$acc | insert $"root ($root)" ($it | math root $root | into string --decimals 4 )
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue