summaryrefslogtreecommitdiff
path: root/68/CH1/EX1.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /68/CH1/EX1.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '68/CH1/EX1.4')
-rwxr-xr-x68/CH1/EX1.4/ex4.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/68/CH1/EX1.4/ex4.sce b/68/CH1/EX1.4/ex4.sce
new file mode 100755
index 000000000..af74e925d
--- /dev/null
+++ b/68/CH1/EX1.4/ex4.sce
@@ -0,0 +1,20 @@
+// Example1.4 : Bipolar junction transistor
+
+// 1,4a
+// using voltage divider rule the fraction of input signal v_be=v_s*r_pi/(r_pi+R_s)
+// output voltage v_o=-g_mv_be(R_L||r_o)
+r_pi=2.5*10^3; // (ohm)
+R_s=5*10^3; // (ohm)
+R_L=5*10^3 // (ohm)
+g_m=40*10^-3; // (mho)
+r_o=100*10^3; // (ohm)
+gain=-(r_pi*g_m*(R_L*r_o/(R_L+r_o)))/(r_pi+R_s); // gain=v_o/v_s
+disp(gain,"The voltage gain (V/V) =")
+gain_negl_r_o=-r_pi*g_m*R_L/(r_pi+R_s);
+disp(gain_negl_r_o,"Gain neglecting the effect of r_o (V/V) =")
+
+// 1.4b
+// Bi_b=g_m*v_be
+// B is short circuit gain
+B=g_m*r_pi;
+disp(B,"The short circuit gain (A/A) =") \ No newline at end of file