summaryrefslogtreecommitdiff
path: root/2288/CH3/EX3.21.9/ex3_21_9.sce
blob: df5b6988ebe987847bc12b9bcf29abaa104560be (plain)
1
2
3
4
5
6
7
8
9
10
11
// Exa 3.21.9
clc;
clear;
close;
// Given data
n_i = 10^16;// in /m3
N_D = 10^22;// in /m^3
n = N_D;// in /m^3
disp(n,"Electron concentration per m^3 is");
p = (n_i)^2/n;// in /m^3
disp(p,"Hole concentration per m^3 is");