马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
from numpy import *
from sympy import *
from matplotlib import pyplot as pl
x,y = symbols('x y')
x = arange(-1,1,0.01)
y = log(x + 1,exp(x))
pl.plot(x,diff(y,x))
pl.plot(x,y)
output()#自定义输出函数
y = log(x + 1,exp(x))发生异常: AttributeError
'ImmutableDenseNDimArray' object has no attribute 'as_coefficient'
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
File "C:\Users\86176\Desktop\python\实验.py", line 93, in <module>
y = log(x + 1,exp(x))
有大佬邦邦吗 |