Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
22
Task/Nth-root/BQN/nth-root-1.bqn
Normal file
22
Task/Nth-root/BQN/nth-root-1.bqn
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
_while_ ← {𝔽⍟𝔾∘𝔽_𝕣_𝔾∘𝔽⍟𝔾𝕩}
|
||||
Root ← √
|
||||
Root1 ← ⋆⟜÷˜
|
||||
Root2 ← {
|
||||
n 𝕊 a‿prec:
|
||||
1⊑{
|
||||
p‿x:
|
||||
⟨
|
||||
x
|
||||
((p × n - 1) + a ÷ p ⋆ n - 1) ÷ n
|
||||
⟩
|
||||
} _while_ {
|
||||
p‿x:
|
||||
prec ≤ | p - x
|
||||
} ⟨a, ⌊a÷n⟩;
|
||||
𝕨 𝕊 𝕩: 𝕨 𝕊 𝕩‿1E¯5
|
||||
}
|
||||
|
||||
•Show 3 Root 5
|
||||
•Show 3 Root1 5
|
||||
•Show 3 Root2 5
|
||||
•Show 3 Root2 5‿1E¯16
|
||||
4
Task/Nth-root/BQN/nth-root-2.bqn
Normal file
4
Task/Nth-root/BQN/nth-root-2.bqn
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
1.7099759466766968
|
||||
1.7099759466766968
|
||||
1.7099759641072136
|
||||
1.709975946676697
|
||||
Loading…
Add table
Add a link
Reference in a new issue