summaryrefslogtreecommitdiff
path: root/2129/CH1/EX1.23.3/ex1_23_3.sce
blob: 607798a9fcb4bd2c1b690aac296a126ff507b4fa (plain)
1
2
3
4
5
6
7
8
9
10
11
//Exa1.23.3
clc;
clear;
close;
// Given data
n_i = 1.4 * 10^18;// in /m^3
n_D = 1.4 * 10^24;// in /m^3
n=n_D;// in /m^3
p = n_i^2/n;// in /m^3
R = n/p;
disp(R,"The ratio of electrons to hole concentration is");