필터 지우기
필터 지우기

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
Torsten
Torsten 2018년 10월 23일
I wonder why your integration is over E0 and not over R:
syms R
eqn = (Nd-Nd*exp(-(E0+(1/6)*(R/Ld)^2)))*4*pi*R^2;
sol = int(eqn,R,0,r)

댓글을 달려면 로그인하십시오.

답변 (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])

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by