summaryrefslogtreecommitdiff
path: root/2720/CH3/EX3.21.6/ex3_21_6.sce
blob: d1248eb94518ef3c72ef5790620df04de6ceb6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Exa 3.21.6
clc;
clear;
close;
// Given data
Sigma = 0.1;// in (ohm-m)^-1
Mu_n = 1300;
n_i = 1.5 * 10^10;
q = 1.6 * 10^-19;// in C
n_n = Sigma/(Mu_n * q);// in electrons/cm^3
disp(n_n*10^6,"The concentration of electrons per m^3 is");
p_n = (n_i)^2/n_n;// in per cm^3
p_n = p_n * 10^6;// in perm^3
disp(p_n,"The concentration of holes per m^3 is");