Roots of a function: Difference between revisions
Content added Content deleted
(Added GNU Scientific Library version to C) |
(Added Julia version) |
||
Line 1,105: | Line 1,105: | ||
"~1.9999999999999993" |
"~1.9999999999999993" |
||
]</lang> |
]</lang> |
||
=={{header|Julia}}== |
|||
Assuming that one has the Roots package installed: |
|||
<lang Julia>using Roots |
|||
println(fzeros(x -> x^3 - 3x^2 + 2x))</lang> |
|||
{{out}} |
|||
<pre>[0.0,1.0,2.0]</pre> |
|||
=={{header|Liberty BASIC}}== |
=={{header|Liberty BASIC}}== |