On Saturday, August 29, 2015 at 4:21:15 PM UTC-7, saad khalid wrote:
>
> But, when I run it, it gives me the error "ValueError: Variable 'z' not 
> found"
>
I think this is part of your problem:

sage: Phi(.1,2/3).n()
TypeError: cannot evaluate symbolic expression numerically

I don't think sage succeeds in finding a numerical approximation to your 
infinite sum, even if explicit parameters are filled in. So, even if you 
were able to overcome the ValueError you're currently seeing, I think 
you'll need to give sage more hints on how to find numerical approximations 
to the expression you're giving (for a plot, you'll need numerics in the 
end).

The actual error you're experiencing is, by the looks of it, a failure of 
the routine that tries to convert a symbolic expression into a recipe that 
can be used to find numerical approximations quickly.  It's probably 
failing to convert the infinite sum (and by the looks of it, for good 
reasons, but not particularly because you made a programming error).


-- 
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.

Reply via email to