summaryrefslogtreecommitdiff
path: root/226/CH2
diff options
context:
space:
mode:
Diffstat (limited to '226/CH2')
-rwxr-xr-x226/CH2/EX1.1/example1_sce.sce14
-rwxr-xr-x226/CH2/EX2.1/example2_sce.sce12
-rwxr-xr-x226/CH2/EX2.10/example10_sce.sce17
-rwxr-xr-x226/CH2/EX2.11/example11_sce.sce8
-rwxr-xr-x226/CH2/EX2.12/example12_sce.sce13
-rwxr-xr-x226/CH2/EX2.14/example14_sce.sce10
-rwxr-xr-x226/CH2/EX2.15/example15_sce.sce13
-rwxr-xr-x226/CH2/EX2.16/example16_sce.sce11
-rwxr-xr-x226/CH2/EX2.17/example17_sce.sce12
-rwxr-xr-x226/CH2/EX2.3/example3_sce.sce9
-rwxr-xr-x226/CH2/EX2.5/example5_sce.sce12
-rwxr-xr-x226/CH2/EX2.6/example6_sce.sce12
-rwxr-xr-x226/CH2/EX2.8/example8_sce.sce10
-rwxr-xr-x226/CH2/EX2.9/example9_sce.sce14
14 files changed, 167 insertions, 0 deletions
diff --git a/226/CH2/EX1.1/example1_sce.sce b/226/CH2/EX1.1/example1_sce.sce
new file mode 100755
index 000000000..807383e79
--- /dev/null
+++ b/226/CH2/EX1.1/example1_sce.sce
@@ -0,0 +1,14 @@
+//chapter 2
+//example 2.1
+//page 37
+printf("\n")
+printf("given")
+disp("a)")
+If=100*10^-3;Vf=.75;//given
+disp("forward resistance")
+Rf=Vf/If;
+printf("forward resistnace is %3.1fohm\n",Rf)
+disp("b)")
+Vr=50;Ir=100*10^-9;
+Rr=(Vr/Ir);
+printf("reverse resistnace is %3.0fohm\n",Rr) \ No newline at end of file
diff --git a/226/CH2/EX2.1/example2_sce.sce b/226/CH2/EX2.1/example2_sce.sce
new file mode 100755
index 000000000..7ac7e6fd0
--- /dev/null
+++ b/226/CH2/EX2.1/example2_sce.sce
@@ -0,0 +1,12 @@
+//chapter 2
+//example 2.2
+//page 39
+printf("\n")
+printf("given")
+If=70*10^-3;
+rd=(26*10^-3)/If;
+printf("dynamic resistance is %3.2fohm\n",rd)
+disp("a)")
+If=60*10^-3;Vf=.025;
+rd=Vf/If;
+printf("dynamic resistance is %3.2fohm\n",rd)
diff --git a/226/CH2/EX2.10/example10_sce.sce b/226/CH2/EX2.10/example10_sce.sce
new file mode 100755
index 000000000..f3d100bb8
--- /dev/null
+++ b/226/CH2/EX2.10/example10_sce.sce
@@ -0,0 +1,17 @@
+//chapter 2
+//example 2.10
+//page 49
+printf("\n")
+printf("given")
+Vf1=.7;Vf=-1.8*10^-3;If=26*10^-3;
+T=100-25;
+Vf2=Vf1+(T*Vf);
+printf(" voltage at 100C is %3.3fV\n",Vf2)
+disp("At 25C")
+T1=25;
+rd=(26*10^-3/If)*((T1+273)/298);
+printf(" resistance at 25 C is %dohm\n",rd)
+disp(" At 100C")
+T2=100;
+rd=(26*10^-3/If)*((T2+273)/298);
+printf(" resistance at 100 C is %3.2fohm\n",rd) \ No newline at end of file
diff --git a/226/CH2/EX2.11/example11_sce.sce b/226/CH2/EX2.11/example11_sce.sce
new file mode 100755
index 000000000..bacb32300
--- /dev/null
+++ b/226/CH2/EX2.11/example11_sce.sce
@@ -0,0 +1,8 @@
+//chapter 2
+//example 2.11
+//page 51
+printf("\n")
+printf("given")
+If=10*10^-3;Vf=.7;t=70*10^-9;
+Cd=((t*If)/Vf)*10^9;
+printf(" diffusion capacitance is %dnF\n",Cd) \ No newline at end of file
diff --git a/226/CH2/EX2.12/example12_sce.sce b/226/CH2/EX2.12/example12_sce.sce
new file mode 100755
index 000000000..a7fbf7ac2
--- /dev/null
+++ b/226/CH2/EX2.12/example12_sce.sce
@@ -0,0 +1,13 @@
+//chapter 2
+//example 2.12
+//page 53
+printf("\n")
+printf("given")
+disp("A")
+trr=10*10^-9;
+tf=10*trr*10^9
+printf("minimum fall times is %dns\n",tf)
+disp("B)")
+trr=3;
+tf=10*trr;
+printf("minimum fall times is %dns\n",tf) \ No newline at end of file
diff --git a/226/CH2/EX2.14/example14_sce.sce b/226/CH2/EX2.14/example14_sce.sce
new file mode 100755
index 000000000..56d27876b
--- /dev/null
+++ b/226/CH2/EX2.14/example14_sce.sce
@@ -0,0 +1,10 @@
+//chapter 2
+//example 2.14
+//page 58
+printf("\n")
+printf("given")
+Io=75*10^-3;
+//vertical scale of 5mA/cm
+If=Io/5*10^-3
+R1=15/(75*10^-3)
+P=((Io)^2)*R1 \ No newline at end of file
diff --git a/226/CH2/EX2.15/example15_sce.sce b/226/CH2/EX2.15/example15_sce.sce
new file mode 100755
index 000000000..7ef8432d4
--- /dev/null
+++ b/226/CH2/EX2.15/example15_sce.sce
@@ -0,0 +1,13 @@
+//chapter 2
+//example 2.15
+//page 63
+printf("\n")
+printf("given")
+Vz=7.5;Pd=400*10^-3;D=3.2*10^-3;
+Izm=Pd/Vz
+printf("current at 50C is %3.3fA\n",Izm)
+disp("At 100C")
+P2=Pd-((100-50)*D)
+printf(" power at 100C is %3.3fW\n",P2)
+Izm=P2/Vz;
+printf(" current at 100C is %3.3fA\n",Izm) \ No newline at end of file
diff --git a/226/CH2/EX2.16/example16_sce.sce b/226/CH2/EX2.16/example16_sce.sce
new file mode 100755
index 000000000..c0086c7c0
--- /dev/null
+++ b/226/CH2/EX2.16/example16_sce.sce
@@ -0,0 +1,11 @@
+//chapter 2
+//example 2.16
+//page 64
+printf("\n")
+printf("given")
+E=20;R1=620;Vz=7.5;
+Vr1=E-Vz
+Iz=Vr1/R1;
+printf(" diode current is %3.5fA\n",Iz)
+Pd=Vz*Iz;
+printf( "power dissipation is %3.3fW\n",Pd) \ No newline at end of file
diff --git a/226/CH2/EX2.17/example17_sce.sce b/226/CH2/EX2.17/example17_sce.sce
new file mode 100755
index 000000000..1b129def2
--- /dev/null
+++ b/226/CH2/EX2.17/example17_sce.sce
@@ -0,0 +1,12 @@
+//chapter 2
+//example 2.17
+//page 64
+printf("\n")
+printf("given")
+Vz=4.3;Zz=22;Iz=20*10^-3;
+Iz1=5*10^-3;//change in current
+Vz1=Iz1*Zz;
+Vzmax=Vz+Vz1;
+printf(" maximum voltage is %3.3fV\n",Vzmax)
+Vzmin=Vz-Vz1;
+printf("minimum voltage is %3.3fV\n",Vzmin) \ No newline at end of file
diff --git a/226/CH2/EX2.3/example3_sce.sce b/226/CH2/EX2.3/example3_sce.sce
new file mode 100755
index 000000000..5db024135
--- /dev/null
+++ b/226/CH2/EX2.3/example3_sce.sce
@@ -0,0 +1,9 @@
+//chapter 2
+//example 2.3
+//page 40
+printf("\n")
+printf("given")
+R1=4.7*10^3;E=15;Vf=.7;
+disp("diode current is E=If*R1+Vf")
+If=((E-Vf)/R1)*10^3;
+printf(" diode current is %3.2fmA\n",If) \ No newline at end of file
diff --git a/226/CH2/EX2.5/example5_sce.sce b/226/CH2/EX2.5/example5_sce.sce
new file mode 100755
index 000000000..4c925b7c8
--- /dev/null
+++ b/226/CH2/EX2.5/example5_sce.sce
@@ -0,0 +1,12 @@
+//chapter 2
+//example 2.5
+//page 41
+printf("\n")
+printf("given")
+E=1.5;Vf=.7;R1=10;rd=.25;
+disp("a)")
+If=(E-Vf)/R1;
+printf(" forward current is %3.3fmA\n",If)
+disp("b)")
+If=(E-Vf)/(R1+rd);
+printf(" forward current is %3.3fmA\n",If) \ No newline at end of file
diff --git a/226/CH2/EX2.6/example6_sce.sce b/226/CH2/EX2.6/example6_sce.sce
new file mode 100755
index 000000000..4c9c3856a
--- /dev/null
+++ b/226/CH2/EX2.6/example6_sce.sce
@@ -0,0 +1,12 @@
+//chapter 2
+//example 2.6
+//page 43
+printf("\n")
+printf("given")
+If=0;Vf=5;R1=100;
+E=(If*R1)+Vf
+disp("E")
+disp("B)")
+Vf=0;E=5;R1=100;
+If=(E/R1)*1000;
+printf("resistance is %dmA\n",If) \ No newline at end of file
diff --git a/226/CH2/EX2.8/example8_sce.sce b/226/CH2/EX2.8/example8_sce.sce
new file mode 100755
index 000000000..72eabf590
--- /dev/null
+++ b/226/CH2/EX2.8/example8_sce.sce
@@ -0,0 +1,10 @@
+//chapter 2
+//example 2.8
+//page 45
+printf("\n")
+printf("given")
+If=50*10^-3;Vf=1.1;R1=100;
+Vf1=If*R1;
+disp("Vf1")
+E=Vf1+Vf
+printf(" new supply voltage is %3.1fV\n",E) \ No newline at end of file
diff --git a/226/CH2/EX2.9/example9_sce.sce b/226/CH2/EX2.9/example9_sce.sce
new file mode 100755
index 000000000..d7a3adee4
--- /dev/null
+++ b/226/CH2/EX2.9/example9_sce.sce
@@ -0,0 +1,14 @@
+//chapter 2
+//example 2.9
+//page 48
+printf("\n")
+printf("given")
+P1=700*10^-3;Vf=.7;
+//at 25C
+If=P1/Vf;
+disp("If")
+//at 65C
+D=5*10^-3;T=65-25;
+P2=P1-D*T
+If=P2/Vf;
+printf( "maximum forward current at 65C is %3.3fA\n",If) \ No newline at end of file