Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1382 by zorg724: Documentation Error in "Finding all roots of a  
polynomial"
http://code.google.com/p/sympy/issues/detail?id=1382


we shall compute:
compute the two real roots of 3x^2 - 7x + 2

but the code enter is
(http://docs.sympy.org/modules/mpmath/optimization.html#finding-all-roots-of-a-polynomial-polyroots)

>>> mp.dps = 15
>>> for r in polyroots([2,-7,3]):
...     print r

=>
0.5
3.0

The code shall be in fact :
>>> for r in polyroots([3,-7,2]):
...     print r
...     
0.333333333333333
2.0


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to