[sage-support] Re: eigenvectors of a 2x2 matrix

2010-02-28 Thread harven
On Feb 28, 5:44 am, Marshall Hampton wrote: > I'm not sure this is the best answer, but you could do: > > A = matrix(SR,[[a,b],[c,d]]) > v1,v2 = A.eigenvalues() > show((A-v1).left_kernel().basis()[0]) > show((A-v2).left_kernel().basis()[0]) > > Perhaps part of the issue is that these do not have

[sage-support] eigenvectors of a 2x2 matrix

2010-02-27 Thread harven
Dear all, I try to find the eigenvectors of a general 2x2 matrix using var('a,b,c,d');show(Matrix(2,2,[a,b,c,d]).eigenvalues()); show(Matrix([[a,b],[c,d]]).eigenvectors_left()) The eigenvalues are ok, but I get an error for the eigenvectors. What am I doing wrong here ? -- To post to this grou

[sage-support] install problem on osx 10.4

2010-02-27 Thread harven
dear all, I try to install sage on a intel mac running osx 10.4.11. I didn't find a binary for 10.4 on the website although it is stated that 10.4 is supported. So I tried with the disk image sage-4.3.3-OSX-32bit-10.5- i386-Darwin.dmg I followed the install instructions but when I try to start sa

[sage-support] Re: sn

2007-10-01 Thread harven
t(1-k^2)))/(1-jacobi("dn",u,k)^2*jacobi("sn",v,sqrt(1-k^2))^2) > : > sage: resn(1,1,1) > tanh(1)/(1 - sech(1)^2*sin(1)^2) > sage: resn(1.0,1.0,1.0) > 1.083923327338695 > > ++ > > On 9/29/07, harven <[EMAIL PR

[sage-support] sn

2007-09-29 Thread harven
hi, It seems that the jacobi sn function takes only real arguments. I am trying to define a substitute taking a complex argument using a standard formula: var('u,v,k'); resn=(jacobi("sn",u,k)*jacobi("dn",v,sqrt(1-k^2)))/(1- jacobi("dn",u,k)^2*jacobi("sn",v,sqrt(1-k^2))^2) Unfortunately, sa

[sage-support] Re: pb with 2.7.3 osx binary

2007-08-12 Thread harven
It works, thank you a lot! Harven --~--~-~--~~~---~--~~ 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

[sage-support] pb with 2.7.3 osx binary

2007-08-12 Thread harven
Hi, I am trying to use the 2.7.3 version of sage on a apple MacBookPro intel with MacOSX 2.4.10. I am using the binary found at: http://www.sagemath.org/SAGEbin/apple_osx/intel/ Everything starts fine, but I get an error whenever a computation needs to start maxima, e.g. RR(sqrt(2)). The

[sage-support] basic questions

2007-07-04 Thread harven
, harven --~--~-~--~~~---~--~~ 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