summaryrefslogtreecommitdiff
path: root/2498/CH1/EX1.25/ex1_25.sce
blob: f062fe6b18136dd5bf70b5c8bc808b7b071e6371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 1.25
clc;
clear;
close;
format('v',5)
// Given data
Nd = 10^18;
R = 10;// in ohm
A =10^-6;// in cm^2
L = 10;// in mm
L = L * 10^-4;// in cm
miu_n = 800;// in cm^2/V-s
q = 1.6*10^-19;// in C
//Formula used, n = L/(q*miu_n*A*R)
n = L/(q*miu_n*A*R);// in cm^-3
// The percentage doping efficiency 
doping = (n/Nd)*100;// % doping efficiency in %
disp(doping,"The percentage doping efficiency in % is");