summaryrefslogtreecommitdiff
path: root/1223/CH15/EX15.16/Ex15_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH15/EX15.16/Ex15_16.sce')
-rwxr-xr-x1223/CH15/EX15.16/Ex15_16.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1223/CH15/EX15.16/Ex15_16.sce b/1223/CH15/EX15.16/Ex15_16.sce
new file mode 100755
index 000000000..8a87694aa
--- /dev/null
+++ b/1223/CH15/EX15.16/Ex15_16.sce
@@ -0,0 +1,17 @@
+clear;
+clc;
+//Example 15.16
+Vz=6.3;
+Vbe=0.6;
+Veb=0.6;
+Vo=8;
+R1=3.9;
+R2=3.4;
+R3=0.576;
+Ic3=(Vz-3*Vbe)/(R1+R2+R3);
+printf('\nbias current =%.3f mA\n',Ic3)
+Vb7=Ic3*R1+2*Vbe;
+printf('\ntemperature compensated reference voltage=%.2f V\n',Vb7)
+R13=2.23;
+R12=R13*Vo/Vb7-R13;
+printf('\nR12=%.2f KOhm\n',R12)