ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 10 Oct 2018 09:22:46 +0200Numerical calculation speed: Sagemath vs. C vs. Matlabhttps://ask.sagemath.org/question/43893/numerical-calculation-speed-sagemath-vs-c-vs-matlab/I mostly use Sagemath for performing symbolic operations on trigonometric polynomials. But I was wondering if it is also a good tool in numerical methods. This includes matrix operations and iterative solution of PDEs with finite difference methods. Usually I take the Sagemath outputs in another program more suited to numerical work. But I was wondering if Sagemath itself is a viable choice in this resepct. Can you tell me about its numerical performance and speed compared to other programs such as C, Matlab, Julia, Mathematica etc.? ThanksDanialBaghWed, 10 Oct 2018 09:22:46 +0200https://ask.sagemath.org/question/43893/Question about error using plothttps://ask.sagemath.org/question/10435/question-about-error-using-plot/Hello all,
I'd like to view the plot of the real portion of `(1+x*I)^(1+5*I)`. I've tried the following in sage:
`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,
RickTherickamanWed, 14 Aug 2013 21:02:51 +0200https://ask.sagemath.org/question/10435/