Re: [sage-support] Re: Sage Speed Issues

2013-06-11 Thread Asad Akhlaq
Hi, Thank you all for your reply. @leif ** Also, you should probably be aware of the facts that a^(n+1) = a^n * a factorial(n+1) = factorial(n) * (n+1) * I know

Re: [sage-support] sin(x)/cos(x)

2013-06-11 Thread robin hankin
OK thanks for this, bug reported [at least, I think it is. I couldn't see it on trac]. Now what about this: sage: solve(sin(x) + cos(x) == cos(2*x),x,to_poly_solve=True) [x == 2*pi*z264, x == 2*pi*z268 + 1/6004799503160661*I - 355/452, x == 2*pi*z266 + 1/1125899906842624*I - 355/226, x == 2*

Re: [sage-support] sin(x)/cos(x)

2013-06-11 Thread Michael Orlitzky
On 06/11/2013 07:26 PM, robin hankin wrote: > OK Michael, thanks for this. > > But my problem was > > solve(sin(x)/cos(x)==1,x,to_poly_solve="force") > > > returns an empty solution set, implying that there are no solutions > when in fact there are. Surely this is misleading? > > Worthy of a

Re: [sage-support] sin(x)/cos(x)

2013-06-11 Thread robin hankin
OK Michael, thanks for this. But my problem was solve(sin(x)/cos(x)==1,x,to_poly_solve="force") returns an empty solution set, implying that there are no solutions when in fact there are. Surely this is misleading? Worthy of a bug report? IDK best wishes Robin On Wed, Jun 12, 2013 at

Re: [sage-support] sin(x)/cos(x)

2013-06-11 Thread Michael Orlitzky
On 06/11/2013 04:43 PM, robin hankin wrote: > hello. Sage 5.9: > > sage: solve(sin(x)/cos(x)==1,x,to_poly_solve="force") > [] > > > > I find this unexpected because pi/4 is a solution, and sage seems to > indicate that there are no solutions. > > > Sage can handle the equation if I do some

[sage-support] sin(x)/cos(x)

2013-06-11 Thread robin hankin
hello. Sage 5.9: sage: solve(sin(x)/cos(x)==1,x,to_poly_solve="force") [] I find this unexpected because pi/4 is a solution, and sage seems to indicate that there are no solutions. Sage can handle the equation if I do some preprocessing: sage: solve(tan(x)==1,x,to_poly_solve='force') [x ==

Re: [sage-support] Re: Sage Speed Issues

2013-06-11 Thread Jim Clark
Since you are writing your own algorithms in python, I suggest you investigate cython:http://docs.cython.orgto compile your python into machine code, instead of python's quasi-compiled byte code.Cython is included with sage -- just add the code %cython as the first line of a Sage worksheet cell.Alt

[sage-support] Re: Sage Speed Issues

2013-06-11 Thread leif
Burcin Erocal wrote: On Tue, 11 Jun 2013 00:02:45 -0700 (PDT) Asad Akhlaq wrote: I am also trying to use Sage's built in 'taylor' command and it is also very slow. Try the .series() method of symbolic expressions. It should be faster. Also, you should probably be aware of the facts that

Re: [sage-support] Re: Sage Speed Issues

2013-06-11 Thread Burcin Erocal
On Tue, 11 Jun 2013 00:02:45 -0700 (PDT) Asad Akhlaq wrote: > I am also trying to use Sage's built in 'taylor' command and it is > also very slow. Try the .series() method of symbolic expressions. It should be faster. Cheers, Burcin -- You received this message because you are subscribed to t

[sage-support] Re: sage sw for office

2013-06-11 Thread Minh Nguyen
Hi, I'm not an expert on Sage worksheet. You need to ask on the sage-support mailing list. On Tue, Jun 11, 2013 at 5:49 PM, Vo Duy Quy wrote: > > Dear Mr Minh > > > > I know about Sage from partner in France last week > > They said that Sage can supply the sw for office application to manage as

[sage-support] Re: Sage Speed Issues

2013-06-11 Thread Asad Akhlaq
I am also trying to use Sage's built in 'taylor' command and it is also very slow. On Tuesday, 11 June 2013 16:30:29 UTC+9:30, Asad Akhlaq wrote: > > Hi William, > > Thanks for your reply. Actually I have exponential function f(u) in > 8-dimensions and I am using the general formula for Taylor s

[sage-support] Re: Sage Speed Issues

2013-06-11 Thread Asad Akhlaq
Hi William, Thanks for your reply. Actually I have exponential function f(u) in 8-dimensions and I am using the general formula for Taylor series at available at http://en.wikipedia.org/wiki/Taylor_series (Taylor series in several variables). I want to expand summations in this equations for up