summaryrefslogtreecommitdiff
path: root/226/CH21/EX21.6/example6_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH21/EX21.6/example6_sce.sce')
-rwxr-xr-x226/CH21/EX21.6/example6_sce.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/226/CH21/EX21.6/example6_sce.sce b/226/CH21/EX21.6/example6_sce.sce
new file mode 100755
index 000000000..80e0ad0a4
--- /dev/null
+++ b/226/CH21/EX21.6/example6_sce.sce
@@ -0,0 +1,18 @@
+//chapter 21
+//example 21.6
+//page 958
+printf("\n")
+printf("given")
+Vee=6;Vbe=.7;Ib=200*10^-6;Vb=.7;Vcc=6;
+disp("when cell is dark Rc=100Kohm")
+Rc=100*10^3;
+Vrc=Vee+Vbe
+Irc=Vrc/Rc
+Ir1=Irc+Ib
+Vr1=Vcc-Vb
+R1=Vr1/Ir1
+R1=18*10^3;//use standard value
+disp(" when Q1 is off")
+Vr1=6;Vrc=6;
+Ir1=Vr1/R1
+Rc=Vrc/Ir1 \ No newline at end of file