Since I did not remember the command to do a derivative, I was trying with 
a very simple formula. Since I did not find the right command on my own, I 
looked at [SageMath guide](http://www.sagemath.org/calctut/derivative.html) 
and then I tried to run the following command

    derivative(5x, x)
>

but it returns error

    Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>       File "_sage_input_22.py", line 10, in <module>
>         exec compile(u'open("___code___.py","w").write("# -*- coding: 
> utf-8 -*-\\n" + 
> _support_.preparse_worksheet_cell(base64.b64decode("ZGVyaXZhdGl2ZSg1eCwgeCk="),globals())+"\\n");
>  
> execfile(os.path.abspath("___code___.py"))
>       File "", line 1, in <module>
>         
>       File "/tmp/tmpZWBMYQ/___code___.py", line 2
>         derivative(5x, x)
>                     ^
>     SyntaxError: invalid syntax
>

Instead the command from the guide

    derivative(x^2, x)
>

works flawlessly. They seem both equal, but mine does not work. Why?

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