summaryrefslogtreecommitdiff
path: root/2825/CH18/EX18.5/Ex18_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2825/CH18/EX18.5/Ex18_5.sce')
-rwxr-xr-x2825/CH18/EX18.5/Ex18_5.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/2825/CH18/EX18.5/Ex18_5.sce b/2825/CH18/EX18.5/Ex18_5.sce
new file mode 100755
index 000000000..fa1236cae
--- /dev/null
+++ b/2825/CH18/EX18.5/Ex18_5.sce
@@ -0,0 +1,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)