summaryrefslogtreecommitdiff
path: root/226/CH5/EX5.20/example20_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH5/EX5.20/example20_sce.sce')
-rwxr-xr-x226/CH5/EX5.20/example20_sce.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/226/CH5/EX5.20/example20_sce.sce b/226/CH5/EX5.20/example20_sce.sce
new file mode 100755
index 000000000..bf978e596
--- /dev/null
+++ b/226/CH5/EX5.20/example20_sce.sce
@@ -0,0 +1,14 @@
+//chapter 5
+//example 5.20
+//page 2
+printf("\n")
+printf("given")
+Vcc=10;Rc=1*10^3;Rb=6.8*10^3;Vs=5;
+disp(" hFE calculation")
+Ic=Vcc/Rc
+Ib=(Vs-Vbe)/Rb
+hFE=Ic/Ib
+disp("when hFE=10")
+hFE=10
+Ic=hFE*Ib
+Vce=Vcc-(Ic*Rc) \ No newline at end of file