R=input('Please input R='); N45@)s!F9j
p=0.1; `;Fs
n=chaxun(R); z5f3T D6,
L=15; Yka>r9wr
c=3*10^8; VhgcvS@V
h=6.626196*10^(-34); X5Y. o&
k=1.3806505*10^(-23); LXc;`]
B=198.95; ,;=is.h9
r=0.509*10^(-60); 6k1_dRu
d=532*10^(-9); 'HWPuWW
for s=0:20 p|)j{nc
for T=0.1:50:300.1 iA"H*0
if mod(s,2)==0 `|[UF^9
f=p*n*L*6*((2*h*c)/(9*k*T))*((3/2)*(s+1)*(s+2)/(2*s+3))*(64*(pi^2)/15)*((c/d-(4*s+6)*B)^4)*r*exp(-(h*c*B/(k*T))*s(s+1)); 'GZ,
y=diff('f','T'); Vgj[m4l
elseif mod(s,2)==1 ugW.nf*O
f=p*n*L*3*((2*h*c)/(9*k*T))*((3/2)*(s+1)*(s+2)/(2*s+3))*(64*(pi^2)/15)*((c/d-(4*s+6)*B)^4)*r*exp(-(h*c*B/(k*T))*s(s+1)); s*kSl:T@O
y=diff('f','T'); 0gKSjTqo
end O;#0Yg
end Xpmi(~n
end z8PV&o
plot3(y,s,T); H)+wkR!~
怎么錯(cuò)了,希望哪位大俠指點(diǎn)。 UzkX;UA