summaryrefslogtreecommitdiff
path: root/3020/CH18/EX18.9/ex18_9.sce
blob: bb0919eff10acfa01a7cc483a283153ffc7a1e85 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
clear all;
m0=9.1e-31;//mass of electron
h=6.626e-34;//plank constant
k=1.38e-23;//boltzman constant
Eg=0.7;//bandgap energy in eV
e=1.6e-19;//charge of electron
T=300;//temperature in K
ni=2*((2*%pi*m0*k*T/(h^2))^1.5)*exp((-Eg*e)/(2*k*T))
disp('m^-3',ni,'intrinsic concentration is:')
// slight variation in answer as compared to textbook... checked in calculator