summaryrefslogtreecommitdiff
path: root/1367/CH15/EX15.8/15_8.sce
blob: 63a025683261351561ea2ca1f2e3b23f34e06f67 (plain)
1
2
3
4
5
6
7
8
9
//Calculate Conduction electron and hole density
//Ex:15.8
clc;
clear;
close;
ni=1.5*10^16;//intrinsic carrier concentration per cu. m
n=10^19;//no. of conduction electrons in per cu. m
p=ni^2/n;//in per cu.m
disp(p,"Conduction electron and hole density (per cubic m) = ");