I tried

sage: A=matrix([[1,1],[2,3]])
sage: A.eigenvalues()
[0.2679491924311228?, 3.732050807568878?]

My question is why the last digit before ? in 0.2679491924311228? is
'8'? Shouldn't it be "7" according to

sage: ch=characteristic_polynomial(A)
sage: solve(ch(x)==0,x)
[x == 2 - sqrt(3), x == sqrt(3) + 2]
sage: N(2-sqrt(3), digits=18)
0.267949192431122706




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to