summaryrefslogtreecommitdiff
path: root/226/CH1
diff options
context:
space:
mode:
Diffstat (limited to '226/CH1')
-rwxr-xr-x226/CH1/EX1.1/example1_sce.sce15
-rwxr-xr-x226/CH1/EX1.2/example2_sce.sce12
-rwxr-xr-x226/CH1/EX1.3/example3_sce.sce22
-rwxr-xr-x226/CH1/EX1.4/example4_sce.sce15
-rwxr-xr-x226/CH1/EX1.5/example5_sce.sce15
-rwxr-xr-x226/CH1/EX1.6/example6_sce.sce14
6 files changed, 93 insertions, 0 deletions
diff --git a/226/CH1/EX1.1/example1_sce.sce b/226/CH1/EX1.1/example1_sce.sce
new file mode 100755
index 000000000..be42d81e3
--- /dev/null
+++ b/226/CH1/EX1.1/example1_sce.sce
@@ -0,0 +1,15 @@
+//chapter 1
+//example 1.1
+//page 15
+printf("\n")
+printf("given")
+Nd=3*10^14;Na=.5*10^14;//all in atom/cm^3
+ni=1.5*10^10;
+disp("resultant densities of free electrons and hole")
+ne=(-(Na-Nd)+(sqrt(((Na-Nd)^2)+4*ni^2)))/2;
+disp(ne)//electron densities in electron/cm^3
+Nd>Na;
+n=Nd-Na;
+disp(n)
+p=(ni^2)/n
+printf("densities of hole is %dhole/cm3\n",p) \ No newline at end of file
diff --git a/226/CH1/EX1.2/example2_sce.sce b/226/CH1/EX1.2/example2_sce.sce
new file mode 100755
index 000000000..25c1294c9
--- /dev/null
+++ b/226/CH1/EX1.2/example2_sce.sce
@@ -0,0 +1,12 @@
+//chapter 1
+//example 1.2
+//page 18
+printf("\n")
+printf("given")
+l=1*10^-3;E=10;
+un=1500*10^-4;up=500*10-4;
+Vn=-(un*E)/l;
+printf("drift current is %dm/s\n",Vn)
+disp("drift current of hole")
+Vp=(up*E)/l;
+printf("drift current is %dm/s\n",Vp) \ No newline at end of file
diff --git a/226/CH1/EX1.3/example3_sce.sce b/226/CH1/EX1.3/example3_sce.sce
new file mode 100755
index 000000000..c3c77b64a
--- /dev/null
+++ b/226/CH1/EX1.3/example3_sce.sce
@@ -0,0 +1,22 @@
+//chapter 1
+//example 1.3
+//page 19
+printf("\n")
+printf("given")
+l=1*10^-3;a=.1*10^-4;
+ni=1.5*10^10;p=1.5*10^10;
+disp("a)")
+un=1500;up=500;//in cm3/V.s
+q=1.6*10^-19;
+m=q*((ni*un)+(p*up))*10^6;
+printf( "mobility is %3.2fmicro/ohmcm\n",m)
+R=l/(m*a);
+printf(" resistance is %3.2fMohm\n",R)
+disp("b)")
+//for doped material
+n=8*10^13;
+p=(ni^2)/n
+m=q*((n*un)+(p*up));
+printf("mobility is %3.4f/ohmcm\n",m)
+R=l/(m*a);
+printf(" resistance is %dohm\n",R) \ No newline at end of file
diff --git a/226/CH1/EX1.4/example4_sce.sce b/226/CH1/EX1.4/example4_sce.sce
new file mode 100755
index 000000000..6ff9fa5b0
--- /dev/null
+++ b/226/CH1/EX1.4/example4_sce.sce
@@ -0,0 +1,15 @@
+//chapter 1
+// eaxample 1.4
+//page 26
+printf("\n")
+printf("given")
+T1=25;T2=35;T3=45;
+I0=30//nA
+disp("I0(35)=I0*2^(T2-T1)/10")
+//on solving
+I0(35)=I0*2^((T2-T1)/10);
+printf("current at 35c is %dnA\n",I0(35))
+disp("I0(45)=I0*2^(T3-T1)/10")
+//on solving
+I0(45)=30*2^2;
+printf("current at 45c is %dnA\n",I0(45)) \ No newline at end of file
diff --git a/226/CH1/EX1.5/example5_sce.sce b/226/CH1/EX1.5/example5_sce.sce
new file mode 100755
index 000000000..864d41954
--- /dev/null
+++ b/226/CH1/EX1.5/example5_sce.sce
@@ -0,0 +1,15 @@
+//chapter 1
+//example 1.5
+//page 28
+printf("\n")
+printf("given")
+I0=30;Vd=.7;n=2;Vt=26*10^-3;
+k=Vd/(n*Vt);
+disp("junction current")
+Id=I0*((2.7^k)-1)*10^-6
+printf(" forward bais current is %dmA\n",Id)
+disp("b)")
+Vd=-10// reverse bais
+k=Vd/(n*Vt);
+Id=I0*((2.7^k)-1)
+printf(" forward bais current is %dnA\n",Id) \ No newline at end of file
diff --git a/226/CH1/EX1.6/example6_sce.sce b/226/CH1/EX1.6/example6_sce.sce
new file mode 100755
index 000000000..15154727d
--- /dev/null
+++ b/226/CH1/EX1.6/example6_sce.sce
@@ -0,0 +1,14 @@
+//chapter 1
+//example 1.6
+//page 29
+printf("\n")
+printf("given")
+Id=.1*10^-3;n=2;vt=26*10^-3;
+I0=30*10^-9;
+disp("a)")
+Vd=(n*Vt)*log(Id/I0)*10^3;
+printf(" forward bais current is %dmV\n",Vd)
+disp("b)")
+Id=10*10^-3
+Vd=(n*Vt)*log(Id/I0)*10^3;
+printf(" forward bais current is %dmV\n",Vd) \ No newline at end of file