Why can"t symbolic variables be logarithmic?
an is a symbolic variable, and I want to generate another symbolic variable, ln (a), to display an error. But pow (a pencils 4) is OK. Why?
Why can"t symbolic variables be logarithmic?
an is a symbolic variable, and I want to generate another symbolic variable, ln (a), to display an error. But pow (a pencils 4) is OK. Why?
sympy does not support Numpy's mathematical calculations (it rewrites itself.), pow is built into python, so it does. Replace it with b=sympy.log (a).
import sympy x em sympy.sin (f) z=r*sympy.sin (l) how to find the Jacobian matrix? xpenr sympy.cos (l) sympy.cos (f) ypenr sympy.cos (l) sympy.sin (f) z=r*sympy.sin (l) ? J = [cos (l) cos (f),-r sin (l) cos (f),-r cos (l) * sin (f)] [c...