I am working with polynomials. I'd like to compute the symbolic derivative of a monomial with symbolic coefficients, that is something like
derivative(x^n,x)
So that the output is
nx^(n-1)
Is this possible?
| 1 | initial version |
I am working with polynomials. I'd like to compute the symbolic derivative of a monomial with symbolic coefficients, that is something like
derivative(x^n,x)
So that the output is
nx^(n-1)
Is this possible?
| 2 | No.2 Revision |
I am working with polynomials. I'd like to compute the symbolic derivative of a monomial with symbolic coefficients, that is something like
derivative(x^n,x)
So that the output is
nx^(n-1)
Is this possible?
| 3 | No.3 Revision |
I am working with polynomials. I'd like to compute the symbolic derivative of a monomial with symbolic coefficients, that is something like
derivative(x^n,x)
So that the output is
nx^(n-1)
Is this possible?
Edit: My first try was of course to use:
diff(x^n,x)
but I get the error
TypeError: non-integral exponents not supported
| 4 | No.4 Revision |
I am working with polynomials. I'd like to compute the symbolic derivative of a monomial with symbolic coefficients, that is something like
derivative(x^n,x)
So that the output is
nx^(n-1)
Is this possible?
Edit: My first try was of course to use:
use:
diff(x^n,x)
or
derivative(x^n,x)
but I get the error
error
TypeError: non-integral exponents not supported
supported | 5 | No.5 Revision |
I am working with polynomials. I'd like to compute the symbolic derivative of a monomial with symbolic coefficients, that is something like
derivative(x^n,x)
So that the output is
nx^(n-1)
Is this possible?
Edit: My first try was of course to use:
use:
diff(x^n,x)
or
or
derivative(x^n,x)
but I get the error
error
TypeError: non-integral exponents not supportedsupported
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.