Re: [sage-support] emacs' sage_mode no longer typesets in 6.2 (Linux)

2014-05-14 Thread Emmanuel Charpentier
In 6.2, %display seems restricted to ('simple', 'ascii_art'). From a terminal : sage: %display typeset --- ValueErrorTraceback (most recent call last) in () > 1 get_ipython().magic(u'displ

[sage-support] Re: polyhedra: projecting/eliminating variables

2014-05-14 Thread Dima Pasechnik
On 2014-05-14, Volker Braun wrote: > Instead of projecting (which requires some convention about bases to be > able to work with coordinates) I would try to use the Minkowski sum with > the linear space in the direction that you want to unconstrain. IMHO, Jeroen needs to use Fourier-Motzkin eli

[sage-support] Re: Solving a set of quadratic equations

2014-05-14 Thread Dima Pasechnik
On 2014-05-14, Ailurus wrote: > By "nontrivial way", do you mean the cosine or the square root (or both)? I didn't actually notice sqrt. Such equations are in fact not called quadratic, that was confusing. Your original equations also contained i, which is, I presume, sqrt(-1)? > And yes, I cou

[sage-support] Re: polyhedra: projecting/eliminating variables

2014-05-14 Thread Volker Braun
Instead of projecting (which requires some convention about bases to be able to work with coordinates) I would try to use the Minkowski sum with the linear space in the direction that you want to unconstrain. E.g. the diagonal in the unit square: sage: P = Polyhedron([(0,0), (1,1)]) Say you wa

[sage-support] polyhedra: projecting/eliminating variables

2014-05-14 Thread Jeroen Demeyer
Dear sage-support, I am working with polyhedra, defined by equalities and inequalities (H-representation). Those equations involve some variables I want to eliminate, I want to project on the remaining variables. I am wondering if there is an interface in Sage for projecting a polyhedron on

[sage-support] Re: embedding a pdf in a notebook

2014-05-14 Thread kcrisman
On Wednesday, May 14, 2014 12:57:50 PM UTC-4, Fred Gruber wrote: > > Hi > Since other people may use the notebook I would prefer if they didn't have > to manually copy the URL. > > I noticed that the javascript variable "document.URL" have this > information but I'm not sure how to bring the v

[sage-support] Re: question about hg (newbie)

2014-05-14 Thread kcrisman
On Monday, May 12, 2014 4:52:42 PM UTC-4, Dima Pasechnik wrote: > > On 2014-05-12, J.A. Ketch > wrote: > > thank you all for the answers > > the version of my sage is : Sage Version 6.1.1, Release Date: > 2014-02-04, > > so I can not use hg. Some sites for the development refers to hg and not

[sage-support] Re: embedding a pdf in a notebook

2014-05-14 Thread Fred Gruber
Hi Since other people may use the notebook I would prefer if they didn't have to manually copy the URL. I noticed that the javascript variable "document.URL" have this information but I'm not sure how to bring the value back to python. I tried the following in a cell but the webpage changes to

[sage-support] Re: embedding a pdf in a notebook

2014-05-14 Thread Fred Gruber
Hi Since other people my use the notebook I would prefer if they didn' have to manually copy the URL. I notices that the javascript variable "document.URL)" have this information but I'm not sure how the bring the value to python. I tried the following in a cell but the page changes to another

[sage-support] Re: Solving a set of quadratic equations

2014-05-14 Thread Ailurus
By "nontrivial way", do you mean the cosine or the square root (or both)? And yes, I could eliminate b and then solve for a, but that's a manual step I'd rather avoid. Ok, so I simplified the expressions using Sage (I'm quite surprised to see that simplify_full() produces better results than M

Re: [sage-support] Re: [sage-edu] intersection of subspase

2014-05-14 Thread David Joyner
On Wed, May 14, 2014 at 1:52 AM, wrote: > Dear John > I recently became acquainted with the software and its capabilities. I like > to every value p, the two subspace subscribe to my account. Grateful for > your guidance. > > This is a problem in matrix theory which can be solved using row-red

[sage-support] Re: intersection

2014-05-14 Thread David Joyner
On Wed, May 14, 2014 at 1:25 AM, nas mer wrote: > Hi > Thank you > I attach the program of intersection in sage. > please, look at the attach file. See attached. > Best regard This is an elementary problem in matrix theory. Is this homework for a class? -- You received this message because

[sage-support] Re: Solving a set of quadratic equations

2014-05-14 Thread Dima Pasechnik
On 2014-05-14, Ailurus wrote: > Hi all, > > I'm trying to solve the following system of two equations, > > Eq1 = 2*a^2*cos(pi/n)^2 - 2*a - b - (a*sin((2*pi)/n)*(-2*(cos((2*pi)/n) - > sin((2*pi)/n)*i)*(a^2*cos((2*pi)/n) - 4*a - 2*b + a^2 + 2))^(1/2))/2 + > 2^(1/2)*a*cos(pi/n)^2*(-(cos((2*pi)/n) -

[sage-support] Solving a set of quadratic equations

2014-05-14 Thread Ailurus
Hi all, I'm trying to solve the following system of two equations, Eq1 = 2*a^2*cos(pi/n)^2 - 2*a - b - (a*sin((2*pi)/n)*(-2*(cos((2*pi)/n) - sin((2*pi)/n)*i)*(a^2*cos((2*pi)/n) - 4*a - 2*b + a^2 + 2))^(1/2))/2 + 2^(1/2)*a*cos(pi/n)^2*(-(cos((2*pi)/n) - sin((2*pi)/n)*i)*(a^2*cos((2*pi)/n) - 4*a