| 1 | initial version |
That's what dazedANDconfused suggested, don't know how you could get an error.
var('n')
f(x) = x^n
df = diff(f,x)
df
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.