in reply to Re: solve cubic equations
in thread solve cubic equations
Quite so. If you want the complex roots, use $t multiplied by the three cube roots of unity (1 and -1/2 ± i*sqrt(3)/2) in the first if branch.
|
---|
In Section
Cool Uses for Perl