[sage-support] Re: Dumb question about sums

2016-12-28 Thread Nils Bruin
On Wednesday, December 28, 2016 at 6:18:28 AM UTC-8, Emmanuel Charpentier wrote: > > I d not understand what is possible and not possible about sums with Sage > (and its minions). > > I am interested in the symbolic manipulation of a sum of (unspecified) > data series X. Since Sage does nott (ye

[sage-support] Re: Plotting secant functions

2016-12-28 Thread Nils Bruin
On Wednesday, December 28, 2016 at 4:19:55 AM UTC-8, Fjordforsk A/S wrote: > > Hello, I am having trouble plotting this function: > > sage: *plot3d([(-t+x)^(0.5)*(sech[(t-x)^2]^2)] (x,-5,5), (t, -5, 5))* > In python syntax, *sech[(t-x)^2]^2)] *is list indexing, so it will try to convert the argu

Re: [sage-support] Re: Plotting long functions

2016-12-28 Thread Michael Orlitzky
On 12/28/2016 10:33 AM, Fjordforsk A/S wrote: > This is how its supposed to go: > > sage: plot3d(((1 - (3/8 - 3*t^2 - 2*t^4 - 9*x^2 - 10*x^4 - 12*t^2*x^2) + > i*x*(15/4 + 6*t^2 - 4*t^2 - 2*x^2 - 4*x^4 + 8*t^2*x^2))/(1/8*(3/4 + 9*t^2 + > 4*t^2+ 16/3*t^6 + 33*x^2 + 36*x^24 + 16/3*x^6)))*e^(i*x)),

[sage-support] Re: Plotting long functions

2016-12-28 Thread Fjordforsk A/S
This is how its supposed to go: sage: plot3d(((1 - (3/8 - 3*t^2 - 2*t^4 - 9*x^2 - 10*x^4 - 12*t^2*x^2) + i*x*(15/4 + 6*t^2 - 4*t^2 - 2*x^2 - 4*x^4 + 8*t^2*x^2))/(1/8*(3/4 + 9*t^2 + 4*t^2+ 16/3*t^6 + 33*x^2 + 36*x^24 + 16/3*x^6)))*e^(i*x)), (x, -2, 2), (t, -2, 2) However, Sage thinks that 3*t^

[sage-support] Dumb question about sums

2016-12-28 Thread Emmanuel Charpentier
I d not understand what is possible and not possible about sums with Sage (and its minions). I am interested in the symbolic manipulation of a sum of (unspecified) data series X. Since Sage does nott (yet) admits indiced symbolic variable, it is reprsented by a function of an integer argument.

Re: [sage-support] Plotting long functions

2016-12-28 Thread Michael Orlitzky
On 12/28/2016 07:12 AM, Fjordforsk A/S wrote: > Hello, I am not sure on the reply sage gives me on plotting a long function: > > sage: plot3d(((1 - (3/8 - 3*t^2 - 2*t^4 - 9*x^2 - 10*x^4 - 12*t^2*x^2) + > x*(15/4 + 6*t^2 - 4*t^2 - 2*x^2 - 4*x^4 + 8*t^2*x^2))/(1/8*(3/4 + 9*t^2 + > 4*t^2+ 16/3*t^6

[sage-support] Plotting secant functions

2016-12-28 Thread Fjordforsk A/S
Hello, I am having trouble plotting this function: sage: *plot3d([(-t+x)^(0.5)*(sech[(t-x)^2]^2)] (x,-5,5), (t, -5, 5))* --- TypeError Traceback (most recent call last) in () > 1 plot3d([(

[sage-support] Plotting long functions

2016-12-28 Thread Fjordforsk A/S
Hello, I am not sure on the reply sage gives me on plotting a long function: sage: plot3d(((1 - (3/8 - 3*t^2 - 2*t^4 - 9*x^2 - 10*x^4 - 12*t^2*x^2) + x*(15/4 + 6*t^2 - 4*t^2 - 2*x^2 - 4*x^4 + 8*t^2*x^2))/(1/8*(3/4 + 9*t^2 + 4*t^2+ 16/3*t^6 + 33*x^2 + 36*x^24 + 16/3*x^6)))*e^(x)), (x, -2, 2), (t,