yes thats it... thank you very much

On May 28, 6:03 pm, simon.k...@uni-jena.de wrote:
> Hi!
>
> On May 28, 11:35 am, flori <beutler.flor...@googlemail.com> wrote:
> ...
>
> > NameError: global name 'x' is not defined
>
> > if I run a similar integral directly in sage it works very well, so I
> > probably forgot anything to include??
>
> In Sage, 'x' is pre-defined (which the weighted majority of Sage
> developers considers a feature, not a bug :-).
>
> Namely, if you start sage, then you get
>   sage: type(x)
>   <class 'sage.calculus.calculus.SymbolicVariable'>
>
> I guess that in a Sage script, this assignment of x is not done, so
> that you have to explicitely do
>   x=var('x')
> in your script; I don't know if you need to import "var".
>
> Best regards,
>      Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to