I see, thank you for pointing that out. I ran the sum up to n = 5, just for
testing, and I was able to run:
Phi(.1,2/3)
And have it return:
mpf('-2.0635259684891158')
My code now looks like this:
var('q')
var('n')
var('z')
Phi = lambda x,q: -ln(1-q) + ln(q)*sum((q^(n*x)/(1-q^n)),n,1,5)
However when i try to run:
plot(Phi(mpf(z),mpf(2/3),(z,1,2)))
I get the error:
cannot evaluate symbolic expression numerically
If it can return numeral values for specific points, why can't it plot those
points? Why is it trying to do it symbolically?
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.