summaryrefslogtreecommitdiff
path: root/3740/CH7/EX7.8/Ex7_8.sce
blob: 659deb1ad314e78ce2e9abd277d09f9dad00e84f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 7.8
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;

//given
d=5e-6;//Thickness of Si layer in m
D=3.4e-3;//Minority carrier diffusion coefficient in m^2 s^-1

Tdiff=(d^2)/(2*D);//Diffusion time of carriers in s
mprintf("\n Tdiff = %.1e s",Tdiff);