フィルターのクリア

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 Center および File ExchangeNumeric Solvers についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by