Ask Your Question

Revision history [back]

Question about error using plot

Hello all,

I'd like to view the plot of the real portion of (1+xI)^(1+5I). I've tried the following in sage:

plot(((.5+xI)^(1+5I)).real(),(x,0,5)) but I keep getting cannot convert symbolic expression to numeric value.

Honestly, I'd actually like to integrate the expression with respect to x on some arbitrary real interval. That kept giving errors as well when I tried to use integral_numerical.

Can anyone help me? I am running the newest edition of sage, as I updated two days ago.

Thanks,

Rick

Question about error using plot

Hello all,

I'd like to view the plot of the real portion of (1+xI)^(1+5I). (1+x*I)^(1+5*I). I've tried the following in sage:

plot(((.5+xI)^(1+5I)).real(),(x,0,5)) plot(((.5+x*I)^(1+5*I)).real(),(x,0,5)) but I keep getting cannot convert symbolic expression to numeric value.

Honestly, I'd actually like to integrate the expression with respect to x on some arbitrary real interval. That kept giving errors as well when I tried to use integral_numerical.

Can anyone help me? I am running the newest edition of sage, as I updated two days ago.

Thanks,

Rick