[SciPy-user] how to resolve a cubic equation in scipy?
Fri May 16 08:10:28 CDT 2008
yep.... but if you insist, scipy can propose the following among I am
sure many other and even better solutions :
from scipy import optimize
return 1.2*r**3 + r - 20
I am too lazy/busy to check with the closed form solution. As a matter
of fact, Alan, is the closed form algorithm implemented in scipy? I
mean, why not.... :)
Alan G Isaac wrote:
> On Fri, 16 May 2008, zhang chi apparently wrote:
>> I want to resolve a cubic equation 1.2r^3 + r - 20 = 0.
> Cubics have a closed form solution:
> Alan Isaac
> SciPy-user mailing list
More information about the SciPy-user