summaryrefslogtreecommitdiff
path: root/767/CH7/EX7.7.1/Ch07Exa7_7_1.sci
blob: 559082e5da553a94c9339c509e5e09c7d77ad95b (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// Scilab code Exa7.7.1 : To calculate the thickness of depletion layer of silicon detector and amplitude of voltage pulse :P.no. 316 (2011)
E_r = 12; // Relative permittivity 
E_o = 8.85e-012; // Permittivity of free space
E = E_r*E_o; // Absolute dielectric constant
C = 100e-012; // Capacitance of the dielectric, F
A = 1.6e-04; // Area of the detector, m^2
e = 1.602e-019; // Charge of an electrin, C
E_p = 3.2; // Energy required to create an ion pair, eV
E_s = 12e+06; // Energy required to stopped ion pair, eV
n = E_s/E_p; // Number of ion-pair produced
Q = n*e; // Charge of these ion pair, C
d = A*E/(C*10^-6); // The thickness of the depletion layer, micron
A = Q/C*1000; // The amplitude of voltage pulse, mV
printf("\n The thickness of the depletion layer    = %d micron \n  The amplitude of voltage pulse:    = %6.4f mV  ", d, A)
// Result
//      The thickness of the depletion layer    = 169 micron 
//      The amplitude of voltage pulse:    = 6.0075 mV