Strange, did you use the commas instead of the dots on the squareroots?
I tried with the others suggestions and it worked out.
onsdag 4. januar 2017 17.24.03 UTC+1 skrev Dima Pasechnik følgende:
>
> This works for me after I defined cmsel as you did in your previous posts.
>
> On Wednesday, Janu
And the reason for the error: ZZ ^ tuple doesn't make sense, so we try to
convert the base to the same type. And tuple(2) yields a TypeError:
'sage.rings.integer.Integer' object is not iterable
On Wednesday, January 4, 2017 at 9:43:21 PM UTC+1, Volker Braun wrote:
>
> You wrote 2^(0,5) instead o
You wrote 2^(0,5) instead of 2^(0.5)
Note that (0, 5) is shorthand for tuple([0, 5]) in Python. Whereas one-half
is written with a decimal dot, not a comma.
On Wednesday, January 4, 2017 at 2:55:36 PM UTC+1, Fjordforsk A/S wrote:
>
> I am trying to plot a trigonometric function, but get a stran
Wed 2017-01-04 20:13:49 UTC+1, slelievre:
>
> Wed 2017-01-04 14:55:36 UTC+1, Fjordforsk A/S:
>>
>> I am trying to plot a trigonometric function, but get a strange result:
>>
>> plot3d(lambda
>> x,t:((cos(2^(0.5)*x)*sech(2^(0.5)*t)+I*2^0.5*tanh(2*t))/(2^(0.5)-cos(2^(0.5)*x)*sech(2^(0,5)*t)))*e^(2
Wed 2017-01-04 14:55:36 UTC+1, Fjordforsk A/S:
>
> I am trying to plot a trigonometric function, but get a strange result:
>
> plot3d(lambda
> x,t:((cos(2^(0.5)*x)*sech(2^(0.5)*t)+I*2^0.5*tanh(2*t))/(2^(0.5)-cos(2^(0.5)*x)*sech(2^(0,5)*t)))*e^(2*I*t).real_part(),(x,-3*pi,3*pi),(t,-5,5),adaptive=T
This works for me after I defined cmsel as you did in your previous posts.
On Wednesday, January 4, 2017 at 1:55:36 PM UTC, Fjordforsk A/S wrote:
>
> I am trying to plot a trigonometric function, but get a strange result:
>
> plot3d(lambda
> x,t:((cos(2^(0.5)*x)*sech(2^(0.5)*t)+I*2^0.5*tanh(2*t))