I want to solve the equation (iv) as a function of E0 as shown in the attached picture. I tried to calculate it using the following code. I am stuck in this problem! please help

3 次查看(过去 30 天)
if true
  % code
end
r=5*10^-9;
V=4/3*pi*r^3;
Nd=10^17;
E0=19;
Ld=18.5*10^-9;
E=E0+1/6*(r/Ld)^2;
Nr=Nd*exp(-(E0+(1/6)*(r/Ld)^2));
eqn=Nd-Nd*exp(-(E0+(1/6)*(r/Ld)^2));
syms E0
eqn=Nd-Nd*exp(-(E0+(1/6)*(r/Ld)^2));
int(eqn,[0,4/3*pi*r^3])

回答(1 个)

madhan ravi
madhan ravi 2018-10-23
r=5*10^-9;
V=4/3*pi*r^3;
Nd=10^17;
E0=19;
Ld=18.5*10^-9;
E=E0+1/6*(r/Ld)^2;
Nr=Nd*exp(-(E0+(1/6)*(r/Ld)^2));
eqn=Nd-Nd*exp(-(E0+(1/6)*(r/Ld)^2));
syms E0
eqn=Nd-Nd*exp(-(E0+(1/6)*(r/Ld)^2));
int(eqn,[0,4/3*pi*r^3]) %no errors occurred
  1 个评论
Anil Kumar
Anil Kumar 2018-10-23
编辑:Anil Kumar 2018-10-23
@Madhan ravi, I am getting the following error Error using mupadmex Error in MuPAD command: The second argument must be of form x or x = a..b. [int]
Error in sym/int (line 107) rSym = mupadmex('symobj::intindef',f.s,x.s,options);
Error in grainsize2310_3 (line 11) int(eqn,[0,4/3*pi*r^3])

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by