summaryrefslogtreecommitdiff
path: root/3401/CH5/EX5.3/Ex5_3.sce
blob: 9208174fe06ce5264d9d518ed30d0c7c89b969b8 (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
25
26
27
clc

V=5 //v
R=10*10^3 //ohm
J=50 //A/cm^2
E=100
Na=1.25*10**16 //cm^-3
Nd=5*10**15 //cm^-3
e=1.6*10**-19 //C
up=410 //cm**2/Vs

I=V/R
disp(I,"I current in Ampere is=")

A=I/J
disp(A,"A cross sectional area in cm^2 is=")

L=V/E
disp(L,"L length of resistor in cm is= ")

sigma=L/(R*A)
disp(sigma,"sigma conductivity in per ohm cm is=")

//sigma=e*up*p0=e*up*(Na-Nd)
sigma=e*up*(Na-Nd)
disp(sigma,"sigma conductivity in per ohm cm is=")