diff works with polynomials but diff(sin(x),x) gives out the error message. When I removed "from math import *" from the code, diff(sin(x),x) worked. Why is it? What of "math" crashes with symbolic differentiation of trig function?
diff works with polynomials but diff(sin(x),x) gives out the error message. When I removed "from math import *" from the code, diff(sin(x),x) worked. Why is it? What of "math" crashes with symbolic differentiation of trig function?