summaryrefslogtreecommitdiff
path: root/2045/CH5/EX5.12/Ex5_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '2045/CH5/EX5.12/Ex5_12.sce')
-rwxr-xr-x2045/CH5/EX5.12/Ex5_12.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/2045/CH5/EX5.12/Ex5_12.sce b/2045/CH5/EX5.12/Ex5_12.sce
new file mode 100755
index 000000000..ad9c9c461
--- /dev/null
+++ b/2045/CH5/EX5.12/Ex5_12.sce
@@ -0,0 +1,29 @@
+//pagenumber 292 example 12
+clear
+hfe=110;
+hie=1.6*10^3;//ohm
+hoe=20*10^-6;//ohm
+colres=4.7*10^3;//ohm
+hre=2*10^-4;
+r1=470*10^3;//ohm
+curgai=-hfe/(1+hoe*colres);
+ri=hie+hre*curgai*colres;
+volgai=curgai*colres/ri;
+y1=hoe-((hfe*hre)/(hie+1*10^3))
+z1=1/y1;
+disp("voltage gain = "+string((volgai)));
+disp("current gain = "+string((curgai)));
+disp("impedance = "+string((z1))+"ohm");
+r0=z1*colres/(z1+colres);
+curgai=-hfe;
+ri=hie;
+disp("parameters using approxmiate");
+volgai=curgai*(colres)/ri;
+disp("voltage gain = "+string((volgai)));//correction in the book
+disp("current gain = "+string((curgai)));
+disp("impedance = "+string((z1))+"ohm");
+
+
+
+
+