summaryrefslogtreecommitdiff
path: root/2342/CH3/EX3.11/EX3_11.sce
blob: bc24b8472d8453c081231aabac28003045cae648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Exa 3.11
format('v',9)
clc;
clear;
close;
// Given data
n_i = 1.5 * 10^10;// in per cm^3
n_n = 2.25 * 10^15;// in per cm^3
p_n = (n_i)^2/n_n;// in per cm^3
disp(p_n,"The equilibrium electron per cm^3 is");
h_n = n_n;// in cm^3
disp(h_n,"Hole densities in per cm^3 is");