diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /181/CH5/EX5.8/example5_8.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '181/CH5/EX5.8/example5_8.sce')
-rwxr-xr-x | 181/CH5/EX5.8/example5_8.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/181/CH5/EX5.8/example5_8.sce b/181/CH5/EX5.8/example5_8.sce new file mode 100755 index 000000000..8db9f4d03 --- /dev/null +++ b/181/CH5/EX5.8/example5_8.sce @@ -0,0 +1,32 @@ +// Calculate circuit parameters of a Emitter Follower
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 5-8 in page 251
+
+clear; clc; close;
+
+// Given data
+Rs=0.5*10^3; // Source resistance in ohm
+Rl=5*10^3; // Load resistance in ohm
+hfe=50; // h-parameter value of the BJT
+hie=1*10^3; // h-parameter value of the BJT in ohm
+hoe=25*10^-6; // h-parameter value of the BJT in A/V
+
+// Calculations
+Ai=(1+hfe)/(1+hoe*Rl);
+Ri=hie+Ai*Rl;
+Av=1-(hie/Ri);
+Avs=Av*(Ri/(Ri+Rs));
+
+printf("(a)The current gain of circuit Ai = %0.1f \n",Ai);
+printf("(b)The input resistance of circuit Ri = %0.2e ohm \n",Ri);
+printf("(c)The voltage gain of circuit Av = %0.4f \n",Av);
+printf("(d)The voltage gain of circuit Avs = %0.4f \n",Avs);
+
+// Results
+// (a) The current gain of circuit Ai=45.3
+// (b) The input resistance of circuit Ri=227 ohm
+// (c) The voltage gain of circuit Av=0.9956
+// (d) The voltage gain of circuit Avs=0.9934
\ No newline at end of file |