summaryrefslogtreecommitdiff
path: root/2045/CH4/EX4.15/Ex4_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '2045/CH4/EX4.15/Ex4_15.sce')
-rwxr-xr-x2045/CH4/EX4.15/Ex4_15.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2045/CH4/EX4.15/Ex4_15.sce b/2045/CH4/EX4.15/Ex4_15.sce
new file mode 100755
index 000000000..9760f5c1f
--- /dev/null
+++ b/2045/CH4/EX4.15/Ex4_15.sce
@@ -0,0 +1,15 @@
+//example 15
+clear
+vcc=26;//volt
+colres=20*10^3;//ohm
+re=470;//ohm
+beta1=45;
+vce=8;//volt
+ib=(vcc-vce)/((1+beta1)*(colres+re));
+ic=beta1*ib;
+r1=((vcc-colres*(ib+ic)-re*(ib+ic)-(0.7)))/ib;
+disp("resistance = "+string((r1))+"ohm");
+stability=(1+beta1)/(1+(beta1*re)/(re+colres));
+disp("stability = "+string((stability)));//correction in the book
+
+