summaryrefslogtreecommitdiff
path: root/2045/CH4/EX4.17/Ex4_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '2045/CH4/EX4.17/Ex4_17.sce')
-rwxr-xr-x2045/CH4/EX4.17/Ex4_17.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2045/CH4/EX4.17/Ex4_17.sce b/2045/CH4/EX4.17/Ex4_17.sce
new file mode 100755
index 000000000..0b654cf17
--- /dev/null
+++ b/2045/CH4/EX4.17/Ex4_17.sce
@@ -0,0 +1,15 @@
+//example 17
+clear
+beta1=25;
+colres=2.5*10^3;//ohm
+vcc=10;//volt
+vce=-5;//volt
+ic=-(vcc+vce)/colres;
+ib=ic/beta1;
+rb=vce/ib;
+stability=(1+beta1)/((1+beta1)*((colres)/(colres+rb)));
+disp("base resistance = "+string((rb))+"ohm");//correction in book
+disp("stability = "+string((stability)));
+
+
+