summaryrefslogtreecommitdiff
path: root/2093/CH3/EX3.10/exa_3_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2093/CH3/EX3.10/exa_3_10.sce
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 '2093/CH3/EX3.10/exa_3_10.sce')
-rwxr-xr-x2093/CH3/EX3.10/exa_3_10.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2093/CH3/EX3.10/exa_3_10.sce b/2093/CH3/EX3.10/exa_3_10.sce
new file mode 100755
index 000000000..657003634
--- /dev/null
+++ b/2093/CH3/EX3.10/exa_3_10.sce
@@ -0,0 +1,25 @@
+// Exa 3.10
+clc;
+clear;
+close;
+// Given data
+V_CC= 10;// in V
+V_BB= 3;// in V
+V_BE= 0.7;// in V
+V_T= 25*10^-3;// in V
+bita=100;
+RC= 3;// in kΩ
+RC=RC*10^3;// in Ω
+RB= 100;// in kΩ
+RB=RB*10^3;// in Ω
+I_B= (V_BB-V_BE)/RB;// in V
+I_C= bita*I_B;// in A
+V_C= V_CC-I_C*RC;// in V
+gm= I_C/V_T;// in A/V
+r_pi= bita/gm;// in Ω
+// v_be= r_pi/(RB+r_pi)*v_i
+v_be_by_v_i= r_pi/(RB+r_pi);
+// v_o= -gm*v_be*RC
+v_o_by_v_i= -gm*v_be_by_v_i*RC;// in V/V
+Av= v_o_by_v_i;// in V/V
+disp(round(Av),"Voltage gain in V/V is : ")