sam
unread,Feb 12, 2008, 5:55:48 PM2/12/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-newbie
When I type x+x on the notebook cell it gives me 2*x
But if I include any other variables such as y or a then I always get
error saying the variable is not defined
for example I get the following when I try y+y
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/changeme/.sage/sage_notebook/worksheets/admin/10/code/
13.py", line 4, in <module>
y+y
File "/home/changeme/sage-2.10/local/lib/python2.5/site-packages/
sympy/plotting/", line 1, in <module>
NameError: name 'y' is not defined
But if I choose maxima in the worksheet then it works fine. Can
someone please explain how to do this in sage please?