[sage-support] Re: expand, combine and rewrite with sage.

2009-09-25 Thread Minh Nguyen
Hi Francois, On Sat, Sep 26, 2009 at 2:35 AM, Francois Maltey wrote: > 1/ I see you have already patched the exp(a)^b problem. I use sage-4.1.1 > and run sage -upgrade, but I don't get any update. Of corse I can wait > the next sage, but is there a way to get a new-and-unstable sage ? See t

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-25 Thread kcrisman
On Sep 25, 12:35 pm, Francois Maltey wrote: > Hi Burcin, > > Many thanks for theses details about sage. I try to understand what you > prefer, and why. > > > The main reason I left this simplification "exp(a)^2 to exp(2*a)" while > > fixing #6948 was that MMA does things this way. > > All righ

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-25 Thread Francois Maltey
Hi Burcin, Many thanks for theses details about sage. I try to understand what you prefer, and why. > The main reason I left this simplification "exp(a)^2 to exp(2*a)" while > fixing #6948 was that MMA does things this way. All right : MMA is good. > Another consideration was that before pe

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-23 Thread Burcin Erocal
Hi Francois, On Mon, 21 Sep 2009 21:22:39 +0200 Francois Maltey wrote: > Concretely > ??? I'll don't see how to operate over exp(2x) => exp(x)^2. > ??? Is there a hold (or freeze) function in sage which remains > exp(a)^2. Also look at integrate (exp(2*x)/(exp(3*x)+1), x). The > changevar is y

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-21 Thread Francois Maltey
About expand and combine Let me enumerate some transforms used in mathematic calculus. I describe what I understand and insert questions with ???. I only details theses methods because they are very similar. 4 are called "expand" and 4 are called "combine". Both are used in mathematics. e^(2x

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-14 Thread Burcin Erocal
Hi Francois, On Mon, 14 Sep 2009 13:55:33 +0200 Francois Maltey wrote: > > Hello, > > I don't find usual trigonometric transform in sage : > > expand (sin (2*x)) == 2*sin(x)*cos(x) sage: t = sin (2*x) sage: t.tri t.trig_expandt.trig_simplify sage: t.trig_expand() 2*sin(x)*cos(x) > co