summaryrefslogtreecommitdiff
path: root/2288/CH3/EX3.21.11/ex3_21_11.sce
blob: 45c386ccc9dd695088d753024c11d8eb6a608869 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Exa 3.21.11
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 density per cm^3 is");
h_n = n_n;// in cm^3
disp(h_n,"Hole density in per cm^3 is");