summaryrefslogtreecommitdiff
path: root/2825/CH18/EX18.5/Ex18_5.sce
blob: fa1236caee205e593804c8ab3fa5b203792a6fb9 (plain)
1
2
3
4
5
6
7
8
//Ex18_5 Pg-947
clc

d=5*10^(-6) //thickness of silicon in m
Dc=3.4*10^(-3) //diffusion coefficient in m^2sec^(-1)

t=d^2/(2*Dc) //time taken to diffuse
printf("Time taken to diffuse = %.1f*1e-9 sec",t*1e9)