请问maple计算为什么得不到数值结果
请问maple计算为什么得不到数值结果,程序如下:<BR><P ><FONT size=3><FONT face="Times New Roman">> </FONT><STRONG><FONT face="Courier New" color=#ff0000>restart;</FONT></STRONG></FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">> </FONT><STRONG><FONT face="Courier New" color=#ff0000>a5:=-5*10^(-24):a4:=5*10^(-22):a3:=-2*10^(-20):a2:=4*10^(-19):a1:=-1*10(-18):a0:=-1*10^(-17):</FONT></STRONG></FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">> </FONT><STRONG><FONT face="Courier New" color=#ff0000>T:=2:</FONT></STRONG></FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">> </FONT><STRONG><FONT face="Courier New" color=#ff0000>y:=int(x*(a5*x^5+a4*x^4+a3*x^3+a2*x^2+a1*x+a0)*exp(-x/T),x=11..50):</FONT></STRONG></FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">> </FONT><STRONG><FONT face="Courier New" color=#ff0000>eletronC:=1.60219*10^(-19):electronm:=9.10956*10^(-31):Na:=6.02217*10^23:</FONT></STRONG></FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">> </FONT><STRONG><FONT face="Courier New" color=#ff0000>k:=(8*electronC/(Pi*electronm))^0.5*T^(-1.5)*y*10^(-4)*Na;</FONT></STRONG></FONT></P>
<P ><v:shapetype><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path connecttype="rect" gradientshapeok="t" extrusionok="f"></v:path><lock aspectratio="t" v:ext="edit"></lock></v:shapetype><v:shape><v:imagedata><STRONG><FONT face="Courier New" color=#ff0000 size=3></FONT></STRONG></v:imagedata></v:shape></P>
<P ><FONT size=3><FONT face="Times New Roman">> </FONT><STRONG><FONT face="Courier New" color=#ff0000>evalf(%);</FONT></STRONG></FONT></P>
<P ><v:shape><v:imagedata><STRONG><FONT face="Courier New" color=#ff0000 size=3></FONT></STRONG></v:imagedata></v:shape></P>
<P ><FONT size=3><FONT face="Times New Roman">> </FONT><STRONG><FONT face="Courier New" color=#ff0000>value(%);</FONT></STRONG></FONT></P>
<P ><v:shape><v:imagedata><STRONG><FONT face="Courier New" color=#ff0000 size=3></FONT></STRONG></v:imagedata></v:shape></P>
<P ><FONT face="Times New Roman" size=3>> </FONT></P>
<P ><FONT face="Times New Roman" size=3>> <BR>运行结果却非数值</FONT></P>
回复:(mathtype)请问maple计算为什么得不到数值结果...
<P>把electronC换一个变量,或者将c改成小写的就行</P>[此贴子已经被作者于2005-12-17 14:28:04编辑过]
-0.5033682276e36*electronC^.5
页:
[1]