summaryrefslogtreecommitdiff
path: root/226/CH18/EX18.8/example8_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH18/EX18.8/example8_sce.sce')
-rwxr-xr-x226/CH18/EX18.8/example8_sce.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/226/CH18/EX18.8/example8_sce.sce b/226/CH18/EX18.8/example8_sce.sce
new file mode 100755
index 000000000..784bff263
--- /dev/null
+++ b/226/CH18/EX18.8/example8_sce.sce
@@ -0,0 +1,23 @@
+//chapter 18
+//example 18.8
+//page 778
+printf("\n")
+printf("given")
+Vo=12;hFE1=20;hFE2=50;Il=250*10^-3;
+Vz=.75*Vo
+Vz=9.1;//use standard value for 1N757 diode
+Iz1=10*10^-3;
+R1=(Vo-Vz)/Iz1
+I3=1*10^-3;
+disp(" when V0=12V(moving contact at top of R5)")
+R3=(Vo-Vz)/I3
+R=Vz/I3
+disp(" when Vo=15V moving contact at bottom of R5")
+Vo=15;
+I3=Vo/(R+R3)
+R4=Vz/I3
+R5=R-R4
+Ir6=.5*10^-3;
+R6=Vo/Ir6
+disp(" op-amp output current")
+Ib2=Il/(hFE1*hFE2) \ No newline at end of file