- Clear["Global`*"];(*mathematica11.2,win7(64bit)Clear all variables*)ff=2*a*Exp[2*x]-Log[x]+Log[a]gg=D[ff,{x}](*下面的是直接给出求导结果,为什么能画出两条曲线*)h1=ContourPlot[{ff==0,gg==0},{x,0.0001,6},{a,0.0001,1}](*下面有求导语句,为什么就画不出两条曲线?*)h2=ContourPlot[{ff==0,D[ff,{x}]==0},{x,0.0001,6},{a,0.0001,1}]
复制代码
Clear["Global`*"];(*mathematica11.2,win7(64bit)Clear all variables*)
ff=2*a*Exp[2*x]-Log[x]+Log[a]
gg=D[ff,{x}]
(*下面的是直接给出求导结果,为什么能画出两条曲线*)
h1=ContourPlot[{ff==0,gg==0},{x,0.0001,6},{a,0.0001,1}]
(*下面有求导语句,为什么就画不出两条曲线?*)
h2=ContourPlot[{ff==0,D[ff,{x}]==0},{x,0.0001,6},{a,0.0001,1}]
运行结果为了节省论坛空间,就不上传了,注意带颜色的文字,为什么求导后带入能出结果,而放在里面求导就不行了呢? |