[sage-support] Re: Fwd: Solving equations involving exp, Maxima

2011-05-31 Thread zsharon
> > -- Forwarded message -- > From: Alan > Date: May 26, 11:44 pm > Subject: Solving equations involving exp, Maxima > To: sage-devel > > Hello, > I have 2 questions: > > 1. Why do the following equations give different answers? > sage: solve([exp(x)==exp(0)],x) > [x == 0] > sage:

[sage-support] Fwd: Solving equations involving exp, Maxima

2011-05-31 Thread kcrisman
Forwarding to sage-support where this might get more traction. -- Forwarded message -- From: Alan Date: May 26, 11:44 pm Subject: Solving equations involving exp, Maxima To: sage-devel Hello, I have 2 questions: 1. Why do the following equations give different answers? sage: s

[sage-support] forming subgroups of the class/unit group of a number field

2011-05-31 Thread zsharon
Hi, I'm trying to form subgroups of the class group and unit group of a number field. To get the subgroup of squares in C, I start with PolynomialRing(ZZ, 'x') A=-2 B=15 f=x^3 + A*x +B D=-4*A^3-27*B^2 L. = NumberField(f) C = L.class_group() CSq = [n*n for n in C.gens()] Then, then I run C.subg

Re: [sage-support] Re: External Networks

2011-05-31 Thread William Stein
On Tue, May 31, 2011 at 2:19 PM, Rolandb wrote: > On 31 mei, 21:53, naz...@verizon.net wrote: >> I just downloaded VMware Player and the sage-vmware-4.6.zip file. It works >> great. However, I do have two problems. I could be wrong, but they seem to >> be related. First, I get the error message

[sage-support] Re: External Networks

2011-05-31 Thread Rolandb
On 31 mei, 21:53, naz...@verizon.net wrote: > I just downloaded VMware Player and the sage-vmware-4.6.zip file. It works > great. However, I do have two problems. I could be wrong, but they seem to be > related. First, I get the error message "External network not setup" whenever > I switch to t

[sage-support] External Networks

2011-05-31 Thread nazmy2
I just downloaded VMware Player and the sage-vmware-4.6.zip file. It works great. However, I do have two problems. I could be wrong, but they seem to be related. First, I get the error message "External network not setup" whenever I switch to the notebook. Second, I can only visit the url http://lo

[sage-support] Re: solve does not consider all a_x which are in the equation

2011-05-31 Thread Jakob Lombacher
So, with 4.7 it doesn't work either. But if I do some transformation by hand, and square both sides (I'm not completely sure if that's allowed), then I get the solution. f_2 = ((1/4*a^2*t^4 + a_x*t^3*v_x + a_x*t^2*x + t^2*v_x^2 + t^2*v_y^2 + 2*t*v_x*x + 2*t*v_y*y + x^2 + y^2 -m)/(t^3*v_y + t^2

Re: [sage-support] weird inequality bug...

2011-05-31 Thread D. S. McNeil
The key here is understanding exactly what x[0] is: it's not a rational. If you run your code (after adding the line "set_random_seed(3)" at the start to make sure we're working with the same matrices), you see: sage: minx, maxx, miny, maxy (+Infinity, (3), +Infinity, (21/5)) and the odd parenth

[sage-support] weird inequality bug...

2011-05-31 Thread J. Maurice Rojas
Dear Sage Gurus, I was playing with Sage and discovered what appears to be a really weird bug with Sage's checking of inequalities. In the attached code, I generate some random 2x2 linear equations with integer coefficients, and I try to find the minimum and maximum coordinates of the res

[sage-support] Re: solve does not consider all a_x which are in the equation

2011-05-31 Thread ancienthart
Normally solve(e == m, a_x, to_poly_solve='force') works, but interestingly, not for your equation. Joal Heagney -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visi