Borrar filtros
Borrar filtros

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 visualizaciones (últimos 30 días)
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 comentario
Torsten
Torsten el 23 de Oct. de 2018
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)

Iniciar sesión para comentar.

Respuestas (1)

madhan ravi
madhan ravi el 23 de Oct. de 2018
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 comentario
Anil Kumar
Anil Kumar el 23 de Oct. de 2018
Editada: Anil Kumar el 23 de Oct. de 2018
@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])

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by