summaryrefslogtreecommitdiff
path: root/3507/CH20/EX20.10/Ex20_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH20/EX20.10/Ex20_10.sce')
-rw-r--r--3507/CH20/EX20.10/Ex20_10.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3507/CH20/EX20.10/Ex20_10.sce b/3507/CH20/EX20.10/Ex20_10.sce
new file mode 100644
index 000000000..757b6d5d2
--- /dev/null
+++ b/3507/CH20/EX20.10/Ex20_10.sce
@@ -0,0 +1,14 @@
+//chapter20
+//example20.10
+//page445
+
+R2=1 // kilo ohm
+R1=2 // kilo ohm
+Vz=6 // V
+Vbe=0.7 // V
+
+m=R2/(R1+R2)
+A_CL=1/m
+Vout=A_CL*(Vz+Vbe)
+
+printf("regulated output voltage = %.3f V \n",Vout)