Numerical integral over the whole spherical volume of a crystallite
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Anil Kumar
am 4 Jun. 2019
Kommentiert: Anil Kumar
am 7 Jun. 2019

I am new to matlab. I want to solve the above equation to get the total carrier concentration in the spherical grain volume;
below are the values of the parameters:
Total Volume of the sphere= 4/3*pi*r^3
r= 40*10^-9 %meters
Ld= 18*10^-9 %meters
phi= 20
Nd= 1e23
0 Kommentare
Akzeptierte Antwort
Torsten
am 5 Jun. 2019
Nd = 1e23;
phi = 20;
Ld = 18e-9;
R = 40e-9;
fun = @(r) 4*pi*r.^2.*(1-exp(phi + 1/6*(r/Ld).^2));
value_integral = Nd*integral(fun,0,R)
10 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differentiation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!