summaryrefslogtreecommitdiff
path: root/3507/CH20/EX20.7
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH20/EX20.7')
-rw-r--r--3507/CH20/EX20.7/Ex20_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3507/CH20/EX20.7/Ex20_7.sce b/3507/CH20/EX20.7/Ex20_7.sce
new file mode 100644
index 000000000..e3caf439c
--- /dev/null
+++ b/3507/CH20/EX20.7/Ex20_7.sce
@@ -0,0 +1,13 @@
+//chapter20
+//example20.7
+//page442
+
+Vz=10 // V
+Vbe=0.5 // V
+Rl=1000 // ohm
+
+Vout=Vz-Vbe
+Il=Vout/Rl
+
+printf("load voltage = %.3f V \n",Vout)
+printf("load current = %.3f mA \n",Il*1000)