|
|
|
|
|
by lokedhs
838 days ago
|
|
Nothing stops you from writing the same in Kap: ∇ quadraticRoots (a;b;c) {
root1 ← ((-b)+√(b⋆2)-(4×a×c)) ÷ (2×a)
root2 ← ((-b)-√(b⋆2)-(4×a×c)) ÷ (2×a)
root1 root2
}
This is exactly the same code, converted to Kap. Is it that much worse? |
|