summaryrefslogtreecommitdiff
path: root/2102/CH2/EX2.15/exa_2_15.sce
blob: 0f7ed4d8f17a1f685e43cdb37b266ab1788a4c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Exa 2.15
clc;
clear;
close;
// Given data
miu_n= 1300;// in cm^2/Vs
q=1.6*10^-19;// in C
ni= 4.3*10^-6;// in /cm^3
V= 1;// in volt
L=8;// in cm
A=0.8*0.8;// in cm^2
I=4*10^-3;// in A
// R= rho*L/A = V/I
R= V/I;// in Ω
sigma= L/(R*A);// in (Ωcm)^-1
// sigma= q*n*miu_n
n= sigma/(q*miu_n);
N_D= n;
disp(N_D,"The value of N_D is :")
// Part (b)
d=L;
E= V/d;
vd=miu_n*E;// in cm/s
disp(vd,"Drift velocity in cm/s is : ")